/**
 * CSS Bundle: feature_content
 * Generated: 2026-05-31 11:37:28
 * Files: 9
 * Signature: 1715827d130b27092e2eed1b75310fabc2d9accc
 */

/* === fc-core.css === */
/**
 * Feature Content - CSS Variables
 * 
 * 共用 CSS 變數定義
 * 
 * @package Feature_Content
 * @since 2.1.0
 */

:root {
/* Max widths */
--fc-max-width: 1200px;
--fc-content-width: 800px;
--fc-narrow-width: 600px;

/* Spacing */
--fc-spacing-xs: 10px;
--fc-spacing-sm: 20px;
--fc-spacing-md: 40px;
--fc-spacing-lg: 60px;
--fc-spacing-xl: 80px;
--fc-spacing-xxl: 100px;

/* Font sizes */
--fc-font-xxl: 64px;
--fc-font-xl: 48px;
--fc-font-lg: 24px;
--fc-font-md: 18px;
--fc-font-sm: 14px;
--fc-font-xs: 12px;

/* Line heights */
--fc-line-height-tight: 1.2;
--fc-line-height-snug: 1.4;
--fc-line-height-normal: 1.6;
--fc-line-height-relaxed: 1.8;
--fc-line-height-loose: 2.0;

/* Border radius */
--fc-border-radius: 8px;
--fc-border-radius-sm: 4px;
--fc-border-radius-lg: 16px;
--fc-border-radius-xl: 24px;

/* Colors */
--fc-primary-color: #005bac;
--fc-primary-dark: #004690;
--fc-secondary-color: #00a8e8;
--fc-text-color: #333;
--fc-text-light: #666;
--fc-text-muted: #999;
--fc-bg-light: #f8f9fa;
--fc-bg-dark: #1a3a5c;
--fc-border-color: #e0e0e0;

/* Shadows */
--fc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
--fc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
--fc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
--fc-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);

/* Transitions */
--fc-transition-fast: 0.15s ease;
--fc-transition-normal: 0.3s ease;
--fc-transition-slow: 0.5s ease;

/* Z-index layers */
--fc-z-sticky: 100;
--fc-z-overlay: 200;
--fc-z-modal: 300;
}

/* Legacy diagnostics panel must never surface during normal browsing. */
.fc-frontend-smoke-panel[data-fc-smoke-panel="admin-only"] {
display: none !important;
}

/* ========================================
   Dark Mode Variable Overrides
   ======================================== */

/* Auto mode - follows system preference */
@media (prefers-color-scheme: dark) {
body.fc-dark-mode-auto,
body.hd-dark-mode-auto {
--fc-primary-color: #4da3e8;
--fc-primary-dark: #7bbef0;
--fc-secondary-color: #5cd4ff;
--fc-text-color: #e8e8e8;
--fc-text-light: #b0b0b0;
--fc-text-muted: #808080;
--fc-bg-light: #2d2d2d;
--fc-bg-dark: #1a1a1a;
--fc-border-color: #404040;

/* Shadows for dark mode */
--fc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
--fc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
--fc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
--fc-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}
}

/* Manual dark mode - user toggled */
body.fc-dark-mode,
body.hd-dark-mode,
body.dark-mode {
--fc-primary-color: #4da3e8;
--fc-primary-dark: #7bbef0;
--fc-secondary-color: #5cd4ff;
--fc-text-color: #e8e8e8;
--fc-text-light: #b0b0b0;
--fc-text-muted: #808080;
--fc-bg-light: #2d2d2d;
--fc-bg-dark: #1a1a1a;
--fc-border-color: #404040;

/* Shadows for dark mode */
--fc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
--fc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
--fc-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
--fc-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
}
/**
 * Feature Content - Base Styles
 * 
 * 基礎區塊樣式
 * 
 * @package Feature_Content
 * @since 2.1.0
 */

/* Prevent horizontal scrollbar from vw units */
body.feature-content-page {
overflow-x: hidden;
}

/* Block reset */
.fc-block {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* FOUC prevention: keep loading blocks visible but subdued */
body.fouc-prevent .fc-block-loading {
opacity: 0.1 !important;
visibility: visible !important;
}

.fc-block *,
.fc-block *::before,
.fc-block *::after {
box-sizing: border-box;
}

.fc-block img {
max-width: 100%;
height: auto;
display: block;
}

.fc-block :where(img, picture, video, iframe, svg, canvas) {
max-width: 100%;
box-sizing: border-box;
}

.fc-block :where(img, video, svg, canvas) {
height: auto;
}

.fc-block :where(figure, picture, [class*="__image"], [class*="__media"], [class*="__gallery"], [class*="__content"]) {
min-width: 0;
box-sizing: border-box;
}

.fc-width-normal :where(img, picture, video, iframe, svg, canvas),
.fc-width-centered :where(img, picture, video, iframe, svg, canvas),
.fc-width-narrow :where(img, picture, video, iframe, svg, canvas) {
max-width: 100% !important;
}

.fc-width-normal :where([class*="__image"], [class*="__media"], [class*="__gallery"]),
.fc-width-centered :where([class*="__image"], [class*="__media"], [class*="__gallery"]),
.fc-width-narrow :where([class*="__image"], [class*="__media"], [class*="__gallery"]) {
max-width: 100%;
min-width: 0;
}

/* Link Reset - Prevent theme-wide link colors from overriding block designs */
#si-single-content .fc-block a,
.fc-block a {
color: inherit;
text-decoration: none;
transition: all var(--fc-transition-normal);
}

#si-single-content .fc-block a:hover,
.fc-block a:hover {
color: inherit;
text-decoration: none;
}
.fc-width-fullwidth,
.fc-width-fullwidth-centered {
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

/* fc-width-fullwidth-centered specialized rule:
   Background spans full width (handled by parent container breakout usually),
   but inner content is constrained.
   Note: Individual block implementations might need specific inner container handling,
   but this global class sets the stage.
*/
.fc-width-fullwidth-centered > div,
.fc-width-fullwidth-centered > .fc-container,
.fc-width-fullwidth-centered > .fc-block-content,
.fc-title-hero.fc-width-fullwidth-centered .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered .fc-title-hero__content {
max-width: 1200px !important;
margin-left: auto !important;
margin-right: auto !important;
width: 100% !important;
padding-left: var(--fc-spacing-md);
padding-right: var(--fc-spacing-md);
box-sizing: border-box !important;
}

.fc-width-fullwidth-centered-800 > div,
.fc-width-fullwidth-centered-800 > .fc-container,
.fc-width-fullwidth-centered-800 > .fc-block-content,
.fc-title-hero.fc-width-fullwidth-centered-800 .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered-800 .fc-title-hero__content {
max-width: 800px !important;
margin-left: auto !important;
margin-right: auto !important;
width: 100% !important;
padding-left: var(--fc-spacing-md);
padding-right: var(--fc-spacing-md);
box-sizing: border-box !important;
}

.fc-width-fullwidth-centered-600 > div,
.fc-width-fullwidth-centered-600 > .fc-container,
.fc-width-fullwidth-centered-600 > .fc-block-content,
.fc-title-hero.fc-width-fullwidth-centered-600 .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered-600 .fc-title-hero__content {
max-width: 600px !important;
margin-left: auto !important;
margin-right: auto !important;
width: 100% !important;
padding-left: var(--fc-spacing-md);
padding-right: var(--fc-spacing-md);
box-sizing: border-box !important;
}

.fc-width-wide {
width: 100% !important;
max-width: var(--fc-max-width) !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-width-normal {
width: 100% !important;
max-width: var(--fc-content-width) !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-width-centered {
width: 100% !important;
max-width: 600px !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-width-narrow {
width: 100% !important;
max-width: var(--fc-narrow-width) !important;
margin-left: auto !important;
margin-right: auto !important;
}

/* Container utilities */
.fc-container {
width: 100%;
max-width: var(--fc-max-width);
margin: 0 auto;
padding: 0 var(--fc-spacing-md);
}

.fc-container--narrow {
max-width: var(--fc-content-width);
}

/* Section ID anchor offset for sticky header */
[id] {
scroll-margin-top: 80px;
}
/* =========================================================================
   fc-share-buttons - 社群分享按鈕
   ========================================================================= */

.fc-share-buttons {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: center;
}

.fc-share-buttons--vertical {
flex-direction: column;
}

.fc-share-buttons--center {
justify-content: center;
}

.fc-share-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px 16px;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
text-decoration: none;
transition: all 0.2s ease;
cursor: pointer;
border: none;
}

/* Icon-only mode */
.fc-share-btn--icon-only {
padding: 10px;
border-radius: 50%;
width: 40px;
height: 40px;
}

/* Twitter/X */
.fc-share-btn--twitter {
background: #1DA1F2;
color: #fff;
}
.fc-share-btn--twitter:hover {
background: #0d8ed9;
transform: translateY(-2px);
}

/* Facebook */
.fc-share-btn--facebook {
background: #4267B2;
color: #fff;
}
.fc-share-btn--facebook:hover {
background: #365899;
transform: translateY(-2px);
}

/* LINE */
.fc-share-btn--line {
background: #00C300;
color: #fff;
}
.fc-share-btn--line:hover {
background: #00a600;
transform: translateY(-2px);
}

/* LinkedIn */
.fc-share-btn--linkedin {
background: #0077B5;
color: #fff;
}
.fc-share-btn--linkedin:hover {
background: #006097;
transform: translateY(-2px);
}

/* Pinterest */
.fc-share-btn--pinterest {
background: #E60023;
color: #fff;
}
.fc-share-btn--pinterest:hover {
background: #c5001e;
transform: translateY(-2px);
}

/* Email */
.fc-share-btn--email {
background: #6c757d;
color: #fff;
}
.fc-share-btn--email:hover {
background: #5a6268;
transform: translateY(-2px);
}

/* Copy Link */
.fc-share-btn--copy {
background: #e9ecef;
color: #495057;
}
.fc-share-btn--copy:hover {
background: #dee2e6;
}
.fc-share-btn--copy.copied {
background: #28a745;
color: #fff;
}

/* Dark mode */
.fc-dark-mode .fc-share-btn--copy {
background: #333;
color: #e0e0e0;
}

/* Size variants */
.fc-share-btn--sm {
padding: 6px 12px;
font-size: 12px;
}
.fc-share-btn--lg {
padding: 12px 24px;
font-size: 16px;
}

/* =========================================================================
   fc-back-to-top - 返回頂部按鈕
   ========================================================================= */

.fc-back-to-top {
position: fixed;
bottom: calc(30px + var(--hd-bottom-fixed-safe-offset, 0px));
right: 30px;
width: 48px;
height: 48px;
border-radius: 50%;
background: var(--fc-primary, #005bac);
color: #fff;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: all 0.3s ease;
z-index: 9999;
}

.fc-back-to-top.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.fc-back-to-top:hover {
background: var(--fc-primary-dark, #004790);
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fc-back-to-top:active {
transform: translateY(0);
}

/* Icon */
.fc-back-to-top::before {
content: '↑';
font-weight: bold;
}

/* Square variant */
.fc-back-to-top--square {
border-radius: 8px;
}

/* Dark mode */
.fc-dark-mode .fc-back-to-top {
background: #333;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.fc-dark-mode .fc-back-to-top:hover {
background: #444;
}

/* Mobile positioning */
@media (max-width: 768px) {
.fc-back-to-top {
bottom: calc(20px + var(--hd-bottom-fixed-safe-offset, 0px));
right: 20px;
width: 44px;
height: 44px;
font-size: 18px;
}
}

/* =========================================================================
   fc-lightbox - 圖片燈箱
   ========================================================================= */

.fc-lightbox-trigger {
cursor: zoom-in;
position: relative;
overflow: hidden;
}

.fc-lightbox-trigger::after {
content: '🔍';
position: absolute;
top: 10px;
right: 10px;
width: 32px;
height: 32px;
background: rgba(0, 0, 0, 0.5);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
opacity: 0;
transition: opacity 0.2s ease;
}

.fc-lightbox-trigger:hover::after {
opacity: 1;
}

/* Lightbox Overlay */
.fc-lightbox-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

.fc-lightbox-overlay.active {
opacity: 1;
visibility: visible;
}

.fc-lightbox__image {
max-width: 90%;
max-height: 90vh;
object-fit: contain;
transform: scale(0.9);
transition: transform 0.3s ease;
}

.fc-lightbox-overlay.active .fc-lightbox__image {
transform: scale(1);
}

.fc-lightbox__close {
position: absolute;
top: 20px;
right: 20px;
width: 44px;
height: 44px;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 50%;
color: #fff;
font-size: 24px;
cursor: pointer;
transition: background 0.2s ease;
}

.fc-lightbox__close:hover {
background: rgba(255, 255, 255, 0.2);
}

.fc-lightbox__close::before {
content: '×';
}

/* Navigation arrows */
.fc-lightbox__nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 50px;
height: 50px;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 50%;
color: #fff;
font-size: 24px;
cursor: pointer;
transition: background 0.2s ease;
}

.fc-lightbox__nav:hover {
background: rgba(255, 255, 255, 0.2);
}

.fc-lightbox__nav--prev {
left: 20px;
}

.fc-lightbox__nav--next {
right: 20px;
}

/* Caption */
.fc-lightbox__caption {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
color: #fff;
text-align: center;
padding: 10px 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 8px;
max-width: 80%;
}

/* =========================================================================
   fc-print - 列印樣式
   ========================================================================= */

@media print {
/* Hide interactive elements */
.fc-back-to-top,
.fc-share-buttons,
.fc-lightbox-overlay,
.fc-sticky-menu,
.fc-pagination,
.fc-accordion__toggle,
.fc-cta,
video,
iframe {
display: none !important;
}

/* Full width */
.fc-hero,
.fc-section,
.fc-interview,
.fc-quote,
.fc-profile-card,
.fc-timeline {
max-width: 100% !important;
width: 100% !important;
margin: 0 !important;
box-shadow: none !important;
}

/* Black text */
body,
.fc-hero,
.fc-section,
.fc-quote {
color: #000 !important;
background: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
color: #000 !important;
}

a {
color: #000 !important;
text-decoration: underline !important;
}

/* Show URLs after links */
a[href]::after {
content: ' (' attr(href) ')';
font-size: 0.8em;
color: #666;
}

/* Avoid breaks inside */
.fc-profile-card,
.fc-quote,
.fc-timeline__item {
break-inside: avoid;
}

/* Force page break before hero */
.fc-hero {
break-before: page;
}
}

/* =========================================================================
   fc-scroll-animations - 滾動動畫
   ========================================================================= */

/* Base animation class */
.fc-animate-on-scroll {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}

.fc-animate-on-scroll.fc-visible {
opacity: 1;
transform: translateY(0);
}

/* Animation variants */
.fc-animate-on-scroll--fade {
transform: none;
}

.fc-animate-on-scroll--slide-left {
transform: translateX(-30px);
}
.fc-animate-on-scroll--slide-left.fc-visible {
transform: translateX(0);
}

.fc-animate-on-scroll--slide-right {
transform: translateX(30px);
}
.fc-animate-on-scroll--slide-right.fc-visible {
transform: translateX(0);
}

.fc-animate-on-scroll--scale {
transform: scale(0.9);
}
.fc-animate-on-scroll--scale.fc-visible {
transform: scale(1);
}

/* Delay variants */
.fc-animate-delay-1 { transition-delay: 0.1s; }
.fc-animate-delay-2 { transition-delay: 0.2s; }
.fc-animate-delay-3 { transition-delay: 0.3s; }
.fc-animate-delay-4 { transition-delay: 0.4s; }
.fc-animate-delay-5 { transition-delay: 0.5s; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
.fc-animate-on-scroll {
opacity: 1 !important;
transform: none !important;
transition: none !important;
}
}
/**
 * Feature Content - Shared Utilities
 * 
 * 共用元件樣式（按鈕、標籤、覆蓋層等）
 * 
 * @package Feature_Content
 * @since 2.1.0
 */

/* =========================================================================
   Buttons
   ========================================================================= */
.fc-btn {
display: inline-block;
padding: 12px 28px;
font-size: 16px;
font-weight: 600;
text-decoration: none;
text-align: center;
border-radius: var(--fc-border-radius);
transition: all var(--fc-transition-normal);
cursor: pointer;
border: 2px solid transparent;
}

.fc-btn--primary {
background: var(--fc-primary-color);
color: #fff;
border-color: var(--fc-primary-color);
}
.fc-btn--primary:hover {
background: var(--fc-primary-dark);
border-color: var(--fc-primary-dark);
transform: translateY(-2px);
box-shadow: var(--fc-shadow-md);
}

.fc-btn--secondary {
background: transparent;
color: currentColor;
border-color: currentColor;
}
.fc-btn--secondary:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}

.fc-btn--gradient {
background: linear-gradient(135deg, var(--fc-primary-color) 0%, var(--fc-secondary-color) 100%);
color: #fff;
border: none;
}
.fc-btn--gradient:hover {
background: linear-gradient(135deg, var(--fc-primary-dark) 0%, #0090c9 100%);
transform: translateY(-2px);
box-shadow: var(--fc-shadow-md);
}

.fc-btn--ghost {
background: rgba(255, 255, 255, 0.1);
color: currentColor;
border-color: rgba(255, 255, 255, 0.3);
backdrop-filter: blur(5px);
}
.fc-btn--ghost:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.5);
}

.fc-btn--sm {
padding: 8px 20px;
font-size: 14px;
}

.fc-btn--lg {
padding: 16px 36px;
font-size: 18px;
}

/* =========================================================================
   Labels & Badges
   ========================================================================= */
.fc-label {
display: inline-block;
padding: 4px 12px;
font-size: var(--fc-font-xs);
font-weight: 600;
border-radius: var(--fc-border-radius-sm);
text-transform: uppercase;
letter-spacing: 0.5px;
}

.fc-label--pr {
background: #e74c3c;
color: #fff;
}

.fc-label--sponsor {
background: var(--fc-primary-color);
color: #fff;
}

.fc-label--new {
background: #27ae60;
color: #fff;
}

/* Sponsor Display */
.fc-sponsor {
display: flex;
align-items: center;
gap: 8px;
font-size: var(--fc-font-sm);
}

.fc-sponsor__label {
background: #e74c3c;
color: #fff;
padding: 2px 8px;
font-size: 11px;
font-weight: bold;
border-radius: 2px;
}

.fc-sponsor__name {
opacity: 0.9;
}

/* =========================================================================
   Overlay
   ========================================================================= */
.fc-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.fc-overlay--dark {
background: rgba(0, 0, 0, 0.4);
}

.fc-overlay--gradient {
background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* =========================================================================
   Text Utilities
   ========================================================================= */
.fc-text-left { text-align: left; }
.fc-text-center { text-align: center; }
.fc-text-right { text-align: right; }

.fc-text-primary { color: var(--fc-primary-color); }
.fc-text-light { color: var(--fc-text-light); }
.fc-text-muted { color: var(--fc-text-muted); }
.fc-text-white { color: #fff; }

/* Typography utilities */
.fc-line-height-tight { line-height: var(--fc-line-height-tight); }
.fc-line-height-snug { line-height: var(--fc-line-height-snug); }
.fc-line-height-normal { line-height: var(--fc-line-height-normal); }
.fc-line-height-relaxed { line-height: var(--fc-line-height-relaxed); }
.fc-line-height-loose { line-height: var(--fc-line-height-loose); }

.fc-font-weight-normal { font-weight: 400; }
.fc-font-weight-medium { font-weight: 500; }
.fc-font-weight-semibold { font-weight: 600; }
.fc-font-weight-bold { font-weight: 700; }

/* =========================================================================
   Spacing Utilities
   ========================================================================= */
.fc-mt-0 { margin-top: 0; }
.fc-mt-sm { margin-top: var(--fc-spacing-sm); }
.fc-mt-md { margin-top: var(--fc-spacing-md); }
.fc-mt-lg { margin-top: var(--fc-spacing-lg); }

.fc-mb-0 { margin-bottom: 0; }
.fc-mb-sm { margin-bottom: var(--fc-spacing-sm); }
.fc-mb-md { margin-bottom: var(--fc-spacing-md); }
.fc-mb-lg { margin-bottom: var(--fc-spacing-lg); }

.fc-py-sm { padding-top: var(--fc-spacing-sm); padding-bottom: var(--fc-spacing-sm); }
.fc-py-md { padding-top: var(--fc-spacing-md); padding-bottom: var(--fc-spacing-md); }
.fc-py-lg { padding-top: var(--fc-spacing-lg); padding-bottom: var(--fc-spacing-lg); }
.fc-py-xl { padding-top: var(--fc-spacing-xl); padding-bottom: var(--fc-spacing-xl); }

/* Padding Top - Block Level Spacing */
.fc-pt-none { padding-top: 0 !important; }
.fc-pt-xs { padding-top: 8px !important; }
.fc-pt-sm { padding-top: 16px !important; }
.fc-pt-md { padding-top: 32px !important; }
.fc-pt-lg { padding-top: 48px !important; }
.fc-pt-xl { padding-top: 64px !important; }
.fc-pt-xxl { padding-top: 96px !important; }

/* Padding Bottom - Block Level Spacing */
.fc-pb-none { padding-bottom: 0 !important; }
.fc-pb-xs { padding-bottom: 8px !important; }
.fc-pb-sm { padding-bottom: 16px !important; }
.fc-pb-md { padding-bottom: 32px !important; }
.fc-pb-lg { padding-bottom: 48px !important; }
.fc-pb-xl { padding-bottom: 64px !important; }
.fc-pb-xxl { padding-bottom: 96px !important; }

/* Padding Left - Block Level Spacing */
.fc-pl-none { padding-left: 0 !important; }
.fc-pl-xs { padding-left: 8px !important; }
.fc-pl-sm { padding-left: 16px !important; }
.fc-pl-md { padding-left: 32px !important; }
.fc-pl-lg { padding-left: 48px !important; }
.fc-pl-xl { padding-left: 64px !important; }
.fc-pl-xxl { padding-left: 96px !important; }

/* Padding Right - Block Level Spacing */
.fc-pr-none { padding-right: 0 !important; }
.fc-pr-xs { padding-right: 8px !important; }
.fc-pr-sm { padding-right: 16px !important; }
.fc-pr-md { padding-right: 32px !important; }
.fc-pr-lg { padding-right: 48px !important; }
.fc-pr-xl { padding-right: 64px !important; }
.fc-pr-xxl { padding-right: 96px !important; }


/* =========================================================================
   Grid & Flex Utilities
   ========================================================================= */
.fc-flex { display: flex; }
.fc-flex-center { display: flex; align-items: center; justify-content: center; }
.fc-flex-between { display: flex; align-items: center; justify-content: space-between; }
.fc-flex-wrap { flex-wrap: wrap; }
.fc-flex-col { flex-direction: column; }

.fc-gap-sm { gap: var(--fc-spacing-sm); }
.fc-gap-md { gap: var(--fc-spacing-md); }
.fc-gap-lg { gap: var(--fc-spacing-lg); }

/* Grid */
.fc-grid {
display: grid;
gap: var(--fc-spacing-md);
}

.fc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.fc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.fc-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1180px) {
.fc-grid--4 { grid-template-columns: repeat(2, 1fr); }
.fc-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
.fc-grid--4,
.fc-grid--3,
.fc-grid--2 { grid-template-columns: 1fr; }
}
/* =========================================================================
   Color Scheme Themes
   快速套用預設配色組合
   ========================================================================= */

/**
 * 使用方式：在區塊上添加 theme class
 * 例：<section class="fc-section fc-theme-blue-dark">
 */

/* Theme: Blue Dark (深藍 + 白字) - 日經風格 */
.fc-theme-blue-dark {
background-color: #1a3a5c !important;
color: #ffffff !important;
}

.fc-theme-blue-dark h1,
.fc-theme-blue-dark h2,
.fc-theme-blue-dark h3,
.fc-theme-blue-dark h4,
.fc-theme-blue-dark h5,
.fc-theme-blue-dark h6 {
color: #ffffff;
}

.fc-theme-blue-dark a {
color: #ffffff;
text-decoration: underline;
}

.fc-theme-blue-dark a:hover {
color: #e0e0e0;
}

/* Theme: Blue Light (淺藍 + 深字) */
.fc-theme-blue-light {
background-color: #e3f2fd !important;
color: #1a3a5c !important;
}

.fc-theme-blue-light h1,
.fc-theme-blue-light h2,
.fc-theme-blue-light h3,
.fc-theme-blue-light h4,
.fc-theme-blue-light h5,
.fc-theme-blue-light h6 {
color: #1a3a5c;
}

/* Theme: Dark (深灰 + 白字) */
.fc-theme-dark {
background-color: #212121 !important;
color: #ffffff !important;
}

.fc-theme-dark h1,
.fc-theme-dark h2,
.fc-theme-dark h3,
.fc-theme-dark h4,
.fc-theme-dark h5,
.fc-theme-dark h6 {
color: #ffffff;
}

.fc-theme-dark a {
color: #ffffff;
text-decoration: underline;
}

.fc-theme-dark a:hover {
color: #e0e0e0;
}

/* Theme: Light (淺灰 + 深字) */
.fc-theme-light {
background-color: #f5f5f5 !important;
color: #212121 !important;
}

.fc-theme-light h1,
.fc-theme-light h2,
.fc-theme-light h3,
.fc-theme-light h4,
.fc-theme-light h5,
.fc-theme-light h6 {
color: #212121;
}

/* Theme: White (純白 + 深字) */
.fc-theme-white {
background-color: #ffffff !important;
color: #212121 !important;
border: 1px solid #e0e0e0;
}

.fc-theme-white h1,
.fc-theme-white h2,
.fc-theme-white h3,
.fc-theme-white h4,
.fc-theme-white h5,
.fc-theme-white h6 {
color: #212121;
}

/* Theme: Accent Blue (強調藍 + 白字) */
.fc-theme-accent-blue {
background-color: #005bac !important;
color: #ffffff !important;
}

.fc-theme-accent-blue h1,
.fc-theme-accent-blue h2,
.fc-theme-accent-blue h3,
.fc-theme-accent-blue h4,
.fc-theme-accent-blue h5,
.fc-theme-accent-blue h6 {
color: #ffffff;
}

/* Theme: Accent Red (強調紅 + 白字) */
.fc-theme-accent-red {
background-color: #d32f2f !important;
color: #ffffff !important;
}

.fc-theme-accent-red h1,
.fc-theme-accent-red h2,
.fc-theme-accent-red h3,
.fc-theme-accent-red h4,
.fc-theme-accent-red h5,
.fc-theme-accent-red h6 {
color: #ffffff;
}

/* Theme: Accent Green (強調綠 + 白字) */
.fc-theme-accent-green {
background-color: #388e3c !important;
color: #ffffff !important;
}

.fc-theme-accent-green h1,
.fc-theme-accent-green h2,
.fc-theme-accent-green h3,
.fc-theme-accent-green h4,
.fc-theme-accent-green h5,
.fc-theme-accent-green h6 {
color: #ffffff;
}

/* =========================================================================
   Theme Utilities - Override default spacing and styling
   ========================================================================= */

/* Ensure proper text shadow removal when using light themes */
.fc-theme-light *,
.fc-theme-white *,
.fc-theme-blue-light * {
text-shadow: none !important;
}

/* Ensure proper text shadow for dark themes */
.fc-theme-blue-dark *,
.fc-theme-dark *,
.fc-theme-accent-blue *,
.fc-theme-accent-red *,
.fc-theme-accent-green * {
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Override overlay opacity for themed sections */
.fc-theme-blue-dark .fc-hero__overlay,
.fc-theme-dark .fc-hero__overlay {
background-color: rgba(0, 0, 0, 0.3) !important;
}

.fc-theme-light .fc-hero__overlay,
.fc-theme-white .fc-hero__overlay {
background-color: rgba(255, 255, 255, 0.7) !important;
}

/* =========================================================================
   Theme Documentation
   ========================================================================= */

/**
 * 可用主題列表：
 * 
 * .fc-theme-blue-dark - 深藍 (#1a3a5c) + 白字 [推薦：日經風格]
 * .fc-theme-blue-light- 淺藍 (#e3f2fd) + 深字
 * .fc-theme-dark  - 深灰 (#212121) + 白字
 * .fc-theme-light - 淺灰 (#f5f5f5) + 深字
 * .fc-theme-white - 純白 (#ffffff) + 深字 + 邊框
 * .fc-theme-accent-blue   - 強調藍 (#005bac) + 白字
 * .fc-theme-accent-red- 強調紅 (#d32f2f) + 白字
 * .fc-theme-accent-green  - 強調綠 (#388e3c) + 白字
 * 
 * 使用範例：
 * <section class="fc-section fc-theme-blue-dark">
 *   <h2>這是深藍色背景的區塊</h2>
 *   <p>文字自動變為白色</p>
 * </section>
 */

/* =========================================================================
   Global Dark Mode (全域深色模式)
   ========================================================================= */

/* CSS Variables for Dark Mode */
:root {
--fc-dark-bg: #121212;
--fc-dark-bg-elevated: #1e1e1e;
--fc-dark-bg-card: #252525;
--fc-dark-text: #e0e0e0;
--fc-dark-text-secondary: rgba(255, 255, 255, 0.7);
--fc-dark-text-muted: rgba(255, 255, 255, 0.5);
--fc-dark-border: rgba(255, 255, 255, 0.12);
--fc-dark-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Forced Dark Mode Class */
.fc-dark-mode,
.fc--dark {
--fc-bg-color: var(--fc-dark-bg);
--fc-text-color: var(--fc-dark-text);
--fc-text-light: var(--fc-dark-text-secondary);
--fc-card-bg: var(--fc-dark-bg-card);
--fc-border-color: var(--fc-dark-border);
}

/* Apply dark mode to all fc blocks with .fc-dark-mode parent */
.fc-dark-mode [class^="fc-"],
.fc-dark-mode [class*=" fc-"],
.fc--dark [class^="fc-"],
.fc--dark [class*=" fc-"] {
color: var(--fc-dark-text);
}

/* Cards & Containers */
.fc-dark-mode .fc-quote,
.fc-dark-mode .fc-profile-card,
.fc-dark-mode .fc-place-info,
.fc-dark-mode .fc-timeline,
.fc-dark-mode .fc-section,
.fc-dark-mode .fc-faq,
.fc-dark-mode .fc-testimonial {
background-color: var(--fc-dark-bg-card);
border-color: var(--fc-dark-border);
color: var(--fc-dark-text);
}

/* Headings */
.fc-dark-mode h1, .fc-dark-mode h2, .fc-dark-mode h3,
.fc-dark-mode h4, .fc-dark-mode h5, .fc-dark-mode h6 {
color: #ffffff;
}

/* Links */
.fc-dark-mode a {
color: #64b5f6;
}

.fc-dark-mode a:hover {
color: #90caf9;
}

/* Borders & Dividers */
.fc-dark-mode hr,
.fc-dark-mode [class*="__divider"],
.fc-dark-mode [class*="__border"] {
border-color: var(--fc-dark-border);
}

/* Inputs & Form Elements */
.fc-dark-mode input,
.fc-dark-mode textarea,
.fc-dark-mode select {
background-color: var(--fc-dark-bg-elevated);
border-color: var(--fc-dark-border);
color: var(--fc-dark-text);
}

/* Auto Dark Mode (System Preference) */
@media (prefers-color-scheme: dark) {
.fc-dark-mode-auto {
--fc-bg-color: var(--fc-dark-bg);
--fc-text-color: var(--fc-dark-text);
--fc-text-light: var(--fc-dark-text-secondary);
--fc-card-bg: var(--fc-dark-bg-card);
--fc-border-color: var(--fc-dark-border);
}

.fc-dark-mode-auto [class^="fc-"],
.fc-dark-mode-auto [class*=" fc-"] {
color: var(--fc-dark-text);
}

.fc-dark-mode-auto .fc-quote,
.fc-dark-mode-auto .fc-profile-card,
.fc-dark-mode-auto .fc-place-info,
.fc-dark-mode-auto .fc-timeline,
.fc-dark-mode-auto .fc-section {
background-color: var(--fc-dark-bg-card);
border-color: var(--fc-dark-border);
}

.fc-dark-mode-auto h1, .fc-dark-mode-auto h2, .fc-dark-mode-auto h3,
.fc-dark-mode-auto h4, .fc-dark-mode-auto h5, .fc-dark-mode-auto h6 {
color: #ffffff;
}

.fc-dark-mode-auto a {
color: #64b5f6;
}
}

/* =========================================================================
   Social Brand Colors (社群連結品牌色)
   ========================================================================= */
.fc-social-link--twitter,
.fc-social--twitter { --social-color: #1DA1F2; }
.fc-social-link--facebook,
.fc-social--facebook { --social-color: #4267B2; }
.fc-social-link--instagram,
.fc-social--instagram { --social-color: #E4405F; }
.fc-social-link--linkedin,
.fc-social--linkedin { --social-color: #0077B5; }
.fc-social-link--youtube,
.fc-social--youtube { --social-color: #FF0000; }
.fc-social-link--tiktok,
.fc-social--tiktok { --social-color: #000000; }
.fc-social-link--github,
.fc-social--github { --social-color: #181717; }
.fc-social-link--line,
.fc-social--line { --social-color: #00C300; }
.fc-social-link--telegram,
.fc-social--telegram { --social-color: #0088cc; }
.fc-social-link--pinterest,
.fc-social--pinterest { --social-color: #E60023; }

/* =========================================================================
   Reduced Motion Support
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
.fc-dark-mode *,
.fc-dark-mode-auto * {
transition: none !important;
animation: none !important;
}
}
/* =========================================================================
   Template: Content Wrapper
   支援主內容寬度設定：使用 --fc-content-width-override 覆寫預設寬度
   ========================================================================= */
.fc-content-wrapper {
--content-width: var(--fc-content-width-override, var(--fc-content-width));
max-width: var(--content-width);
margin: 0 auto;
padding: 0 var(--fc-spacing-md); /* Default horizontal padding for all sizes */
}

/* Mobile: consistent horizontal padding */
@media (max-width: 768px) {
.fc-content-wrapper {
padding-left: var(--fc-spacing-md);
padding-right: var(--fc-spacing-md);
}
}

/* 主內容寬度變體 */
.fc-content-wrapper--width-1000 { --content-width: 1000px; }
.fc-content-wrapper--width-1200 { --content-width: 1200px; }
.fc-content-wrapper--width-1400 { --content-width: 1400px; }
.fc-content-wrapper--width-custom { --content-width: var(--fc-content-width-custom, 1000px); }

/* 自訂寬度類別（用於區塊層級） */
.fc-width-custom {
max-width: var(--block-custom-width, 1000px);
margin-left: auto;
margin-right: auto;
}

/* 讓 fc-width-wide 等類別能夠突破 fc-content-wrapper 的寬度限制 */
/* 注意：不對 fc-title-hero 使用這個技巧，因為會破壞置中 */
.fc-content-wrapper .fc-width-wide:not(.fc-title-hero) {
width: 100% !important;
max-width: 1200px !important;
margin-left: auto !important;
margin-right: auto !important;
}

/* =================================================================
   fc-title-hero 專用置中規則 - 使用 margin auto 而非 transform
   支援 .fc-content-wrapper 和 .fc-content 容器
   ================================================================= */
.fc-content-wrapper .fc-title-hero,
.fc-content .fc-title-hero {
position: relative !important;
left: auto !important;
transform: none !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-content-wrapper .fc-title-hero.fc-width-normal,
.fc-content .fc-title-hero.fc-width-normal {
width: 100% !important;
max-width: 800px !important;
}

/* fc-width-wide: 突破父容器達到 1200px */
.fc-content-wrapper .fc-title-hero.fc-width-wide,
.fc-content .fc-title-hero.fc-width-wide {
width: 100% !important;
max-width: 1200px !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-content-wrapper .fc-title-hero.fc-width-centered,
.fc-content .fc-title-hero.fc-width-centered {
width: 100% !important;
max-width: 600px !important;
}

/* fc-width-fullwidth: 突破父容器達到全寬 */
.fc-content-wrapper .fc-title-hero.fc-width-fullwidth,
.fc-content .fc-title-hero.fc-width-fullwidth,
.fc-content-wrapper .fc-title-hero.fc-width-fullwidth-centered,
.fc-content .fc-title-hero.fc-width-fullwidth-centered,
.fc-content-wrapper .fc-title-hero.fc-width-fullwidth-centered-800,
.fc-content .fc-title-hero.fc-width-fullwidth-centered-800,
.fc-content-wrapper .fc-title-hero.fc-width-fullwidth-centered-600,
.fc-content .fc-title-hero.fc-width-fullwidth-centered-600 {
width: 100vw !important;
max-width: 100vw !important;
position: relative !important;
left: 50% !important;
transform: translateX(-50%) !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

.fc-content-wrapper .fc-title-hero.fc-width-custom,
.fc-content .fc-title-hero.fc-width-custom {
width: 100% !important;
max-width: var(--block-custom-width, 1000px) !important;
}

.fc-content-wrapper .fc-width-fullwidth:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered-800:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered-600:not(.fc-title-hero) {
width: 100vw !important;
max-width: 100vw !important;
position: relative !important;
left: 50% !important;
transform: translateX(-50%) !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

/* RWD: fc-width-wide 在小螢幕上的調整 */
@media (max-width: 1200px) {
.fc-content-wrapper .fc-width-wide:not(.fc-title-hero) {
max-width: 100% !important;
}
}
/* Tablet: fullwidth needs proper centering */
@media (min-width: 769px) and (max-width: 1180px) {
.fc-content-wrapper .fc-width-fullwidth:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered-800:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered-600:not(.fc-title-hero) {
width: 100vw !important;
max-width: none !important;
position: relative !important;
left: 50% !important;
right: auto !important;
transform: translateX(-50%) !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
.fc-title-hero.fc-width-fullwidth .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered .fc-title-hero__content,
.fc-title-hero.fc-width-fullwidth-centered-800 .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered-800 .fc-title-hero__content,
.fc-title-hero.fc-width-fullwidth-centered-600 .fc-title-hero__container,
.fc-title-hero.fc-width-fullwidth-centered-600 .fc-title-hero__content {
padding-left: var(--fc-spacing-lg) !important;
padding-right: var(--fc-spacing-lg) !important;
}
}
@media (max-width: 768px) {
.fc-content-wrapper .fc-width-wide:not(.fc-title-hero) {
width: 100% !important;
left: auto !important;
transform: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* Fullwidth blocks should remain fullwidth on mobile */
.fc-content-wrapper .fc-width-fullwidth:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered-800:not(.fc-title-hero),
.fc-content-wrapper .fc-width-fullwidth-centered-600:not(.fc-title-hero) {
width: 100vw !important;
max-width: 100vw !important;
position: relative !important;
left: 50% !important;
transform: translateX(-50%) !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
/* Mobile container centering */
.fc-title-hero .fc-title-hero__container {
text-align: inherit;
margin-left: auto;
margin-right: auto;
}
/* Compensate for wrapper padding on mobile for fullwidth blocks */
.fc-content-wrapper .fc-title-hero.fc-width-fullwidth:first-child {
margin-top: calc(-1 * var(--fc-spacing-sm)) !important;
}
}

.fc-content-wrapper.fc-fullwidth,
.fc-content-wrapper.fc-branded-content {
max-width: none;
padding: 0;
}

.fc-content-wrapper.fc-magazine-content {
max-width: var(--fc-max-width);
}

/* 讓 branded/fullwidth 內容區的子元素可以全寬顯示 */
.fc-branded-content > .fc-content,
.fc-fullwidth > .fc-content {
max-width: none;
}

/* 全寬區塊 - 直接使用全寬 */
.fc-branded-content .fc-width-fullwidth,
.fc-branded-content .fc-section.fc-width-fullwidth,
.fc-branded-content .fc-hero,
.fc-branded-content .fc-sticky-menu,
.fc-branded-content .fc-quote-enhanced,
.fc-branded-content .fc-parallax-quote {
width: 100%;
max-width: none;
margin-left: 0;
margin-right: 0;
}

/* Lead 區塊內容置中 */
.fc-branded-content .fc-lead {
width: 100%;
max-width: none;
}

.fc-branded-content .fc-lead .fc-lead__inner {
max-width: var(--fc-content-width);
margin: 0 auto;
}

/* Stats 區塊 */
.fc-branded-content .fc-stats {
width: 100%;
max-width: none;
padding: var(--fc-spacing-md) var(--fc-spacing-sm);
}

.fc-branded-content .fc-stats .fc-stats__grid {
max-width: var(--fc-max-width);
margin: 0 auto;
}

/* Section 內部內容控制 */
.fc-branded-content .fc-section .fc-section__inner {
padding: var(--fc-spacing-md) var(--fc-spacing-sm);
}

.fc-branded-content .fc-section.fc-width-fullwidth .fc-section__inner {
max-width: var(--fc-max-width);
margin: 0 auto;
}

/* 一般寬度的區塊保持置中 */
.fc-branded-content .fc-width-normal,
.fc-branded-content .fc-section.fc-width-normal {
max-width: var(--fc-content-width);
margin-left: auto;
margin-right: auto;
width: auto;
padding-left: var(--fc-spacing-sm);
padding-right: var(--fc-spacing-sm);
}

.fc-branded-content .fc-width-wide,
.fc-branded-content .fc-section.fc-width-wide {
max-width: var(--fc-max-width);
margin-left: auto;
margin-right: auto;
width: auto;
padding-left: var(--fc-spacing-sm);
padding-right: var(--fc-spacing-sm);
}
/* =========================================================================
   Universal Title Decorations
   18 hero-style title decorations for all blocks
   ========================================================================= */

/* 1. Border Left (日經風格) */
.fc-title--border-left {
border-left: 4px solid var(--title-accent-color, #005bac);
padding-left: 1rem;
}

/* 2. Underline */
.fc-title--underline {
border-bottom: 3px solid var(--title-accent-color, #005bac);
padding-bottom: 0.5rem;
display: inline-block;
}

/* 3. Shadow */
.fc-title--shadow {
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

/* 4. Gradient Underline */
.fc-title--gradient-underline {
position: relative;
padding-bottom: 0.75rem;
}

.fc-title--gradient-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, 
var(--title-accent-color, #005bac) 0%, 
transparent 100%);
}

/* 5. Double Underline */
.fc-title--double-underline {
position: relative;
padding-bottom: 1rem;
}

.fc-title--double-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 6px;
border-bottom: 2px solid var(--title-accent-color, #005bac);
border-top: 2px solid var(--title-accent-color, #005bac);
}

/* 6. Highlight */
.fc-title--highlight {
background: linear-gradient(180deg, 
transparent 60%, 
var(--title-accent-color, rgba(0, 91, 172, 0.3)) 60%);
padding: 0 0.25rem;
}

/* 7. Boxed */
.fc-title--boxed {
border: 2px solid var(--title-accent-color, #005bac);
padding: 0.75rem 1.5rem;
display: inline-block;
}

/* 8. Outline */
.fc-title--outline {
-webkit-text-stroke: 1px var(--title-accent-color, #005bac);
text-stroke: 1px var(--title-accent-color, #005bac);
color: transparent;
font-weight: bold;
}

/* 9. Gradient Background */
.fc-title--gradient-bg {
background: linear-gradient(135deg, 
var(--title-accent-color, #005bac) 0%, 
rgba(0, 91, 172, 0.6) 100%);
padding: 0.75rem 1.5rem;
color: #fff;
display: inline-block;
}

/* 10. Wave Underline */
.fc-title--wave {
position: relative;
padding-bottom: 1rem;
}

.fc-title--wave::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 8px;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23005bac" fill="none" stroke-width="2"/></svg>') repeat-x;
background-size: 50px 100%;
}

/* 11. Left-Right Border */
.fc-title--lr-border {
border-left: 4px solid var(--title-accent-color, #005bac);
border-right: 4px solid var(--title-accent-color, #005bac);
padding: 0 1rem;
display: inline-block;
}

/* 12. Double Border */
.fc-title--double-border {
border: 3px double var(--title-accent-color, #005bac);
padding: 0.75rem 1.5rem;
display: inline-block;
}

/* 13. Bracket */
.fc-title--bracket {
position: relative;
padding: 0 1.5rem;
}

.fc-title--bracket::before,
.fc-title--bracket::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 8px;
border-style: solid;
border-color: var(--title-accent-color, #005bac);
}

.fc-title--bracket::before {
left: 0;
border-width: 3px 0 3px 3px;
}

.fc-title--bracket::after {
right: 0;
border-width: 3px 3px 3px 0;
}

/* 14. Solid Background */
.fc-title--solid-bg {
background-color: var(--title-accent-color, #005bac);
color: #fff;
padding: 0.75rem 1.5rem;
display: inline-block;
}

/* 15. Blur Background */
.fc-title--blur-bg {
background: rgba(0, 91, 172, 0.1);
backdrop-filter: blur(10px);
padding: 0.75rem 1.5rem;
display: inline-block;
border: 1px solid rgba(0, 91, 172, 0.2);
}

/* 16. Ribbon */
.fc-title--ribbon {
position: relative;
background: var(--title-accent-color, #005bac);
color: #fff;
padding: 0.75rem 2rem 0.75rem 1.5rem;
display: inline-block;
}

.fc-title--ribbon::after {
content: '';
position: absolute;
right: -20px;
top: 0;
width: 0;
height: 0;
border-style: solid;
border-width: 50px 0 0 20px;
border-color: transparent transparent transparent var(--title-accent-color, #005bac);
}

/* 17. Strikethrough */
.fc-title--strikethrough {
position: relative;
}

.fc-title--strikethrough::after {
content: '';
position: absolute;
left: 0;
right: 0;
top: 50%;
height: 3px;
background: var(--title-accent-color, #005bac);
transform: translateY(-50%);
}

/* 18. Typewriter */
.fc-title--typewriter {
font-family: 'Courier New', monospace;
border-right: 3px solid var(--title-accent-color, #005bac);
padding-right: 0.5rem;
animation: blink 1s step-end infinite;
}

@keyframes blink {
50% { border-color: transparent; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
.fc-title--boxed,
.fc-title--double-border,
.fc-title--gradient-bg,
.fc-title--solid-bg,
.fc-title--ribbon {
padding: 0.5rem 1rem;
}

.fc-title--ribbon::after {
border-width: 35px 0 0 15px;
right: -15px;
}
}

/* =========================================================================
   Fix for fc-place-info responsive width
   ========================================================================= */
.fc-place-info {
max-width: 100%;
box-sizing: border-box;
margin-left: 4px;
margin-right: 4px;
}

.fc-place-info__wrapper {
box-sizing: border-box;
}

.fc-place-info__content {
min-width: 0;
}


/* === block-utilities.css === */
/**
 * Feature Content - Block Utilities CSS
 * 區塊工具類 CSS - 動畫效果與響應式顯示
 * 
 * @since 2.3.0
 */

/* ==========================================================================
   響應式顯示控制
   ========================================================================== */

/* ==========================================================================
   共用媒體來源 / 授權註記
   ========================================================================== */

.fc-media-source-note {
display: grid;
gap: 10px;
margin-top: 18px;
padding: 14px 16px;
border: 1px solid rgba(148, 163, 184, 0.28);
border-radius: 14px;
background: rgba(248, 250, 252, 0.82);
color: #334155;
font-size: 13px;
line-height: 1.7;
}

.fc-media-source-note__title {
font-weight: 700;
letter-spacing: 0.03em;
color: #0f172a;
}

.fc-media-source-note__list {
display: grid;
gap: 7px;
margin: 0;
}

.fc-media-source-note__item {
display: grid;
grid-template-columns: minmax(64px, auto) minmax(0, 1fr);
gap: 8px 12px;
align-items: start;
}

.fc-media-source-note__item dt,
.fc-media-source-note__item dd {
margin: 0;
}

.fc-media-source-note__item dt {
font-weight: 700;
color: #475569;
white-space: nowrap;
}

.fc-media-source-note__item dd {
min-width: 0;
color: #334155;
word-break: break-word;
}

.fc-media-source-note__item a {
color: inherit;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 0.16em;
}

@media (max-width: 767px) {
.fc-media-source-note__item {
grid-template-columns: 1fr;
gap: 2px;
}
}

/* 桌面裝置 (>1180px) */
@media (min-width: 1181px) {
.fc-hide-desktop {
display: none !important;
}
}

/* 平板裝置 (768-1180px) */
@media (min-width: 768px) and (max-width: 1180px) {
.fc-hide-tablet {
display: none !important;
}
}

/* 手機裝置 (<768px) */
@media (max-width: 767px) {
.fc-hide-mobile {
display: none !important;
}
}

/* ==========================================================================
   動畫效果 - 基礎設定
   ========================================================================== */

[data-fc-animation] {
opacity: 0;
will-change: transform, opacity;
}

[data-fc-animation].fc-animated {
opacity: 1;
}

/* 動畫速度 */
.fc-anim-fast { --fc-anim-duration: 0.3s; }
.fc-anim-normal { --fc-anim-duration: 0.6s; }
.fc-anim-slow { --fc-anim-duration: 1s; }

/* 動畫延遲 */
.fc-anim-delay-0 { --fc-anim-delay: 0s; }
.fc-anim-delay-200 { --fc-anim-delay: 0.2s; }
.fc-anim-delay-500 { --fc-anim-delay: 0.5s; }
.fc-anim-delay-1000 { --fc-anim-delay: 1s; }

/* ==========================================================================
   動畫效果 - 淡入類
   ========================================================================== */

/* 淡入 */
@keyframes fc-fade-in {
from { opacity: 0; }
to { opacity: 1; }
}

[data-fc-animation="fade-in"].fc-animated {
animation: fc-fade-in var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* 向上淡入 */
@keyframes fc-fade-in-up {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

[data-fc-animation="fade-in-up"].fc-animated {
animation: fc-fade-in-up var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* 向下淡入 */
@keyframes fc-fade-in-down {
from {
opacity: 0;
transform: translateY(-30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

[data-fc-animation="fade-in-down"].fc-animated {
animation: fc-fade-in-down var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* 向左淡入 */
@keyframes fc-fade-in-left {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

[data-fc-animation="fade-in-left"].fc-animated {
animation: fc-fade-in-left var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* 向右淡入 */
@keyframes fc-fade-in-right {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

[data-fc-animation="fade-in-right"].fc-animated {
animation: fc-fade-in-right var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* ==========================================================================
   動畫效果 - 縮放類
   ========================================================================== */

/* 放大進入 */
@keyframes fc-zoom-in {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}

[data-fc-animation="zoom-in"].fc-animated {
animation: fc-zoom-in var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* 縮小進入 */
@keyframes fc-zoom-out {
from {
opacity: 0;
transform: scale(1.2);
}
to {
opacity: 1;
transform: scale(1);
}
}

[data-fc-animation="zoom-out"].fc-animated {
animation: fc-zoom-out var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) ease-out forwards;
}

/* ==========================================================================
   動畫效果 - 彈跳類
   ========================================================================== */

/* 彈入 */
@keyframes fc-bounce-in {
0% {
opacity: 0;
transform: scale(0.3);
}
50% {
opacity: 1;
transform: scale(1.05);
}
70% {
transform: scale(0.9);
}
100% {
opacity: 1;
transform: scale(1);
}
}

[data-fc-animation="bounce-in"].fc-animated {
animation: fc-bounce-in var(--fc-anim-duration, 0.6s) var(--fc-anim-delay, 0s) cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

/* ==========================================================================
   減少動態效果 (無障礙)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
[data-fc-animation] {
opacity: 1;
transform: none;
animation: none !important;
}
}


/* === section.css === */
/* =========================================================================
   fc/section - 區段容器
   ========================================================================= */
.fc-section {
background-size: cover;
background-position: center;
position: relative;
padding: var(--fc-spacing-md) var(--fc-spacing-sm);
}

@media (min-width: 768px) {
.fc-section {
padding: var(--fc-spacing-lg) var(--fc-spacing-md);
}
}

.fc-section__inner {
max-width: var(--fc-max-width);
margin: 0 auto;
position: relative;
z-index: 1;
}

/* Background Image Overlay */
.fc-section__overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 0;
pointer-events: none;
}

.fc-section.has-background-image {
color: #fff;
}

.fc-section.has-background-image .fc-section__title {
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}


/* Padding Variants */
.fc-section--padding-none {
padding: 0;
}

.fc-section--padding-small {
padding: var(--fc-spacing-sm);
}

.fc-section--padding-medium {
padding: var(--fc-spacing-md);
}

.fc-section--padding-large {
padding: var(--fc-spacing-lg);
}

/* Width Variants */
.fc-section--width-narrow .fc-section__inner {
max-width: 600px;
}

.fc-section--width-default .fc-section__inner {
max-width: var(--fc-content-width);
}

.fc-section--width-wide .fc-section__inner {
max-width: var(--fc-max-width);
}

.fc-section--width-full .fc-section__inner {
max-width: none;
}

/* Theme Color Support */
.fc-section.fc-theme-blue {
background-color: var(--theme-bg, #f0f7ff);
color: var(--theme-text, #1a3a5c);
}

.fc-section.fc-theme-green {
background-color: var(--theme-bg, #f0fff4);
color: var(--theme-text, #1a4d2e);
}

.fc-section.fc-theme-purple {
background-color: var(--theme-bg, #f8f5ff);
color: var(--theme-text, #3a1a5c);
}

.fc-section.fc-theme-orange {
background-color: var(--theme-bg, #fff7ed);
color: var(--theme-text, #5c2a1a);
}

.fc-section.fc-theme-red {
background-color: var(--theme-bg, #fff1f0);
color: var(--theme-text, #5c1a1a);
}

.fc-section.fc-theme-teal {
background-color: var(--theme-bg, #f0fffc);
color: var(--theme-text, #1a4d47);
}

.fc-section.fc-theme-pink {
background-color: var(--theme-bg, #fff0f7);
color: var(--theme-text, #5c1a3a);
}

.fc-section.fc-theme-dark {
background-color: var(--theme-bg, #1a1a1a);
color: var(--theme-text, #ffffff);
}

/* Background Style Variants */
.fc-section--bg-subtle {
background-color: #f9f9f9;
}

.fc-section--bg-light {
background-color: #ffffff;
}

.fc-section--bg-dark {
background-color: #1a1a1a;
color: #ffffff;
}

.fc-section--bg-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #ffffff;
}

/* Pattern Overlays */
.fc-section--pattern::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.05;
background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
pointer-events: none;
}

/* Responsive */
@media (max-width: 767px) {
.fc-section--padding-small {
padding: var(--fc-spacing-xs);
}

.fc-section--padding-medium {
padding: var(--fc-spacing-sm);
}

.fc-section--padding-large {
padding: var(--fc-spacing-md);
}
}

/* =========================================================================
   Section Height Variants
   ========================================================================= */
.fc-section--height-small {
min-height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
}

.fc-section--height-medium {
min-height: 500px;
display: flex;
flex-direction: column;
justify-content: center;
}

.fc-section--height-large {
min-height: 700px;
display: flex;
flex-direction: column;
justify-content: center;
}

.fc-section--height-fullscreen {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}

/* =========================================================================
   Section Layout Variants
   ========================================================================= */
.fc-section--layout-constrained .fc-section__inner {
max-width: 800px;
}

.fc-section--layout-narrow .fc-section__inner {
max-width: 600px;
}

/* =========================================================================
   Section Parallax
   ========================================================================= */
.fc-section--parallax {
background-attachment: fixed;
background-size: cover;
background-position: center;
}

@media (max-width: 767px) {
/* Disable fixed attachment on mobile for performance */
.fc-section--parallax {
background-attachment: scroll;
}
}

/* =========================================================================
   Section Video Background
   ========================================================================= */
.fc-section--video {
overflow: hidden;
}

.fc-section__video-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 0;
}

.fc-section__video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
}

/* =========================================================================
   Section Gradient Modifier
   ========================================================================= */
.fc-section--gradient {
color: #fff;
}

.fc-section--gradient .fc-section__title {
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* =========================================================================
   Section Title Styles
   ========================================================================= */

/* Base */
.fc-section__title {
margin-bottom: 1em;
}

.fc-section__title--has-shadow {
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Line Decorations */
.fc-section__title--border-left {
padding-left: 16px;
border-left: 4px solid var(--title-accent-color, #005bac);
}

.fc-section__title--underline {
display: inline-block;
padding-bottom: 8px;
border-bottom: 3px solid var(--title-accent-color, #005bac);
}

.fc-section__title--double-underline {
display: inline-block;
padding-bottom: 12px;
border-bottom: 3px double var(--title-accent-color, #005bac);
}

.fc-section__title--gradient-underline {
display: inline-block;
position: relative;
padding-bottom: 12px;
}

.fc-section__title--gradient-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--title-accent-color, #005bac), transparent);
}

.fc-section__title--wave-underline {
display: inline-block;
position: relative;
padding-bottom: 12px;
}

.fc-section__title--wave-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 6px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath fill='none' stroke='%23005bac' stroke-width='2' d='M0,3 Q5,0 10,3 T20,3'/%3E%3C/svg%3E") repeat-x;
}

.fc-section__title--left-right-border {
display: inline-flex;
align-items: center;
gap: 16px;
}

.fc-section__title--left-right-border::before,
.fc-section__title--left-right-border::after {
content: '';
width: 30px;
height: 2px;
background: var(--title-accent-color, #005bac);
}

.fc-section__title--double-border {
display: inline-block;
padding: 8px 16px;
border: 2px solid var(--title-accent-color, #005bac);
border-radius: 4px;
}

.fc-section__title--bracket {
display: inline-flex;
align-items: center;
gap: 12px;
}

.fc-section__title--bracket::before,
.fc-section__title--bracket::after {
font-size: 1.5em;
font-weight: 300;
color: var(--title-accent-color, #005bac);
}

.fc-section__title--bracket::before {
content: '【';
}

.fc-section__title--bracket::after {
content: '】';
}

/* Background Styles */
.fc-section__title--highlight {
display: inline;
background: linear-gradient(transparent 60%, var(--title-accent-color, rgba(0, 91, 172, 0.3)) 60%);
padding: 0 4px;
}

.fc-section__title--gradient-bg {
display: inline-block;
padding: 12px 24px;
background: linear-gradient(135deg, var(--title-accent-color, #005bac), #764ba2);
color: #fff;
border-radius: 4px;
}

.fc-section__title--solid-bg {
display: inline-block;
padding: 12px 24px;
background: color-mix(in srgb, var(--title-accent-color, #005bac) calc(var(--title-bg-opacity, 0.8) * 100%), transparent);
border-radius: 4px;
}

.fc-section__title--blur-bg {
display: inline-block;
padding: 16px 32px;
background: rgba(0, 0, 0, var(--title-bg-opacity, 0.3));
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-section__title--ribbon {
display: inline-block;
position: relative;
padding: 12px 32px 12px 24px;
background: color-mix(in srgb, var(--title-accent-color, #005bac) calc(var(--title-bg-opacity, 0.9) * 100%), transparent);
color: #fff;
}

.fc-section__title--ribbon::after {
content: '';
position: absolute;
top: 0;
right: -16px;
width: 0;
height: 0;
border-top: 24px solid transparent;
border-bottom: 24px solid transparent;
border-left: 16px solid var(--title-accent-color, #005bac);
}

/* Special Effects */
.fc-section__title--boxed {
display: inline-block;
padding: 12px 24px;
border: 2px solid currentColor;
}

.fc-section__title--outline {
-webkit-text-stroke: 1px currentColor;
-webkit-text-fill-color: transparent;
}

.fc-section__title--shadow {
text-shadow: 3px 3px 0 var(--title-accent-color, #005bac);
}

.fc-section__title--strikethrough {
position: relative;
display: inline-block;
}

.fc-section__title--strikethrough::after {
content: '';
position: absolute;
top: 50%;
left: -10%;
right: -10%;
height: 3px;
background: var(--title-accent-color, #005bac);
transform: rotate(-3deg);
}

.fc-section__title--typewriter {
display: inline-block;
border-right: 3px solid var(--title-accent-color, #005bac);
padding-right: 8px;
animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: var(--title-accent-color, #005bac) }
}

/* =========================================================================
   分隔線樣式 (Divider Shapes)
   ========================================================================= */

/* Section with dividers needs relative positioning */
.fc-section--has-divider-top,
.fc-section--has-divider-bottom {
position: relative;
}

/* Base divider styles */
.fc-section__divider {
position: absolute;
left: 0;
right: 0;
width: 100%;
overflow: hidden;
line-height: 0;
z-index: 2;
pointer-events: none;
}

.fc-section__divider svg {
display: block;
width: 100%;
height: auto;
}

/* Top divider - positioned at the very top */
.fc-section__divider--top {
top: 0;
transform: translateY(-99%);
}

/* Bottom divider - positioned at the very bottom */
.fc-section__divider--bottom {
bottom: 0;
transform: translateY(99%) rotate(180deg);
}

/* Flipped dividers */
.fc-section__divider--flipped {
transform: scaleX(-1);
}

.fc-section__divider--top.fc-section__divider--flipped {
transform: translateY(-99%) scaleX(-1);
}

.fc-section__divider--bottom.fc-section__divider--flipped {
transform: translateY(99%) rotate(180deg) scaleX(-1);
}

/* Ensure dividers appear above overlays */
.fc-section.has-background-image .fc-section__divider {
z-index: 3;
}

/* Padding adjustments for sections with dividers */
.fc-section--has-divider-top {
padding-top: calc(var(--fc-spacing-md) + 30px);
}

.fc-section--has-divider-bottom {
padding-bottom: calc(var(--fc-spacing-md) + 30px);
}

/* Mobile adjustments */
@media (max-width: 768px) {
.fc-section__divider svg {
height: 30px !important;
}

.fc-section--has-divider-top {
padding-top: calc(var(--fc-spacing-sm) + 20px);
}

.fc-section--has-divider-bottom {
padding-bottom: calc(var(--fc-spacing-sm) + 20px);
}
}


/* === cards.css === */
/**
 * fc/cards - 卡片區塊
 * 
 * @package Feature_Content
 * @since 2.1.0
 */

.fc-cards {
padding: var(--fc-spacing-md) 0;
}

/* Header Section */
.fc-cards__header {
text-align: center;
margin-bottom: var(--fc-spacing-md);
}

.fc-cards__section-title {
font-size: clamp(24px, 4vw, 32px);
font-weight: 700;
margin: 0 0 10px;
}

.fc-cards__section-desc {
font-size: var(--fc-font-base);
color: var(--fc-text-light);
max-width: 600px;
margin: 0 auto;
}

/* Grid */
.fc-cards__grid {
display: grid;
grid-template-columns: repeat(var(--columns, 3), 1fr);
gap: var(--fc-spacing-md);
}

.fc-cards__item {
background: #fff;
border-radius: var(--fc-border-radius-lg);
overflow: hidden;
box-shadow: var(--fc-shadow-sm);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-cards__item:hover {
transform: translateY(-8px);
box-shadow: var(--fc-shadow-lg);
}

.fc-cards__image {
width: 100%;
height: 200px;
object-fit: cover;
}

.fc-cards__content {
padding: var(--fc-spacing-sm);
}

.fc-cards__title {
font-size: 18px;
font-weight: 700;
color: var(--fc-text-color);
margin: 0 0 10px;
line-height: 1.3;
}

.fc-cards__desc {
font-size: var(--fc-font-sm);
color: var(--fc-text-light);
line-height: 1.6;
margin: 0 0 15px;
}

.fc-cards__link {
display: inline-block;
color: var(--fc-primary-color);
font-weight: 600;
text-decoration: none;
font-size: var(--fc-font-sm);
}

.fc-cards__link:hover {
text-decoration: underline;
}

/* Style Variants */
.fc-cards--minimal .fc-cards__item {
box-shadow: none;
border: 1px solid var(--fc-border-color);
}

.fc-cards--elevated .fc-cards__item {
box-shadow: var(--fc-shadow-lg);
}

.fc-cards--bordered .fc-cards__item {
border: 2px solid var(--fc-primary-color);
}

.fc-cards--shadow .fc-cards__item {
box-shadow: var(--fc-shadow-md);
}

.fc-cards--hover .fc-cards__item {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-cards--hover .fc-cards__item:hover {
transform: translateY(-12px);
box-shadow: var(--fc-shadow-xl, 0 20px 40px rgba(0,0,0,0.15));
}

/* Responsive */
@media (max-width: 1024px) {
.fc-cards__grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 767px) {
.fc-cards__grid {
grid-template-columns: 1fr;
}

.fc-cards__image {
height: 180px;
}
}

/* Theme Color Support */
.fc-cards.fc-theme-blue .fc-cards__card {
border-top-color: var(--theme-primary, #005bac);
}
.fc-cards.fc-theme-green .fc-cards__card {
border-top-color: var(--theme-primary, #2e7d32);
}

/* ===== Equal Height Cards ===== */
.fc-cards--equal-height .fc-cards__grid {
align-items: stretch;
}

.fc-cards--equal-height .fc-cards__item {
display: flex;
flex-direction: column;
height: 100%;
}

.fc-cards--equal-height .fc-cards__content {
flex: 1;
display: flex;
flex-direction: column;
}

.fc-cards--equal-height .fc-cards__desc {
flex: 1;
}

.fc-cards--equal-height .fc-cards__link {
margin-top: auto;
}

/* ===== Image Aspect Ratios ===== */
.fc-cards--ratio-16-9 .fc-cards__image {
aspect-ratio: 16 / 9;
height: auto;
}

.fc-cards--ratio-4-3 .fc-cards__image {
aspect-ratio: 4 / 3;
height: auto;
}

.fc-cards--ratio-1-1 .fc-cards__image {
aspect-ratio: 1 / 1;
height: auto;
}

.fc-cards--ratio-3-4 .fc-cards__image {
aspect-ratio: 3 / 4;
height: auto;
}

/* ===== Content Alignment ===== */
.fc-cards--align-center .fc-cards__content {
text-align: center;
}

.fc-cards--align-center .fc-cards__link {
display: block;
}

.fc-cards--align-right .fc-cards__content {
text-align: right;
}

.fc-cards--align-right .fc-cards__link {
display: block;
}

/* ===== No Image Style ===== */
.fc-cards--no-image .fc-cards__item {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.fc-cards--no-image .fc-cards__content {
padding: var(--fc-spacing-md);
}

/* ===== Carousel Mode ===== */
.fc-cards--carousel {
position: relative;
overflow: hidden;
}

.fc-cards__carousel-wrapper {
position: relative;
overflow: hidden;
padding: 0 50px;
}

.fc-cards__track {
display: flex;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-cards--carousel .fc-cards__item {
flex-shrink: 0;
margin-right: 20px;
}

/* Navigation Arrows */
.fc-cards__nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 44px;
height: 44px;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
cursor: pointer;
font-size: 18px;
color: var(--fc-text-color, #333);
z-index: 10;
transition: all 0.3s ease;
}

.fc-cards__nav:hover {
background: var(--fc-primary-color, #005bac);
color: #fff;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fc-cards__nav--prev {
left: 0;
}

.fc-cards__nav--next {
right: 0;
}

/* Pagination Dots */
.fc-cards__pagination {
display: flex;
justify-content: center;
gap: 8px;
margin-top: var(--fc-spacing-sm);
padding: 10px 0;
}

.fc-cards__dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--fc-border-color, #ddd);
cursor: pointer;
transition: all 0.3s ease;
}

.fc-cards__dot:hover {
background: var(--fc-primary-color, #005bac);
opacity: 0.7;
}

.fc-cards__dot.active {
background: var(--fc-primary-color, #005bac);
width: 24px;
border-radius: 5px;
}

/* Carousel Responsive */
@media (max-width: 1024px) {
.fc-cards__carousel-wrapper {
padding: 0 40px;
}

.fc-cards__nav {
width: 36px;
height: 36px;
font-size: 16px;
}
}

@media (max-width: 767px) {
.fc-cards__carousel-wrapper {
padding: 0 30px;
}

.fc-cards__nav {
width: 32px;
height: 32px;
font-size: 14px;
}

.fc-cards--carousel .fc-cards__item {
flex: 0 0 calc(100% - 20px) !important;
}
}

/* ==============================================
   Skeleton Loading
   ============================================== */

@keyframes skeleton-shimmer {
0% { background-position: -200px 0; }
100% { background-position: calc(200px + 100%) 0; }
}

.fc-cards--skeleton .fc-cards__item {
pointer-events: none;
}

.fc-cards--skeleton .fc-cards__image,
.fc-cards--skeleton .fc-cards__title,
.fc-cards--skeleton .fc-cards__desc,
.fc-cards--skeleton .fc-cards__link {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200px 100%;
animation: skeleton-shimmer 1.5s infinite;
color: transparent !important;
border-radius: 4px;
}

.fc-cards--skeleton .fc-cards__title {
height: 20px;
width: 80%;
}

.fc-cards--skeleton .fc-cards__desc {
height: 60px;
}

.fc-cards--skeleton .fc-cards__link {
height: 16px;
width: 100px;
}

/* ==============================================
   Image Overlay Effects
   ============================================== */

.fc-cards__image-wrapper {
position: relative;
overflow: hidden;
}

.fc-cards__overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
opacity: 0;
transition: opacity 0.3s ease;
}

.fc-cards__item:hover .fc-cards__overlay {
opacity: 1;
}

.fc-cards__overlay-content {
position: absolute;
bottom: 15px;
left: 15px;
right: 15px;
color: #fff;
}

/* ==============================================
   Badge Support
   ============================================== */

.fc-cards__badge {
position: absolute;
top: 12px;
left: 12px;
padding: 4px 12px;
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 20px;
z-index: 5;
}

.fc-cards__badge--new { background: #22c55e; color: #fff; }
.fc-cards__badge--hot { background: #ef4444; color: #fff; }
.fc-cards__badge--sale { background: #f59e0b; color: #fff; }
.fc-cards__badge--featured { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }

/* ==============================================
   Profile Card Preset
   ============================================== */

.fc-cards--profile .fc-cards__item {
text-align: center;
padding-top: var(--fc-spacing-md);
}

.fc-cards--profile .fc-cards__image {
width: 100px;
height: 100px;
border-radius: 50%;
margin: 0 auto var(--fc-spacing-sm);
border: 4px solid #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fc-cards--profile .fc-cards__role {
font-size: 12px;
color: var(--fc-primary-color);
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 5px;
}

.fc-cards--profile .fc-cards__social {
display: flex;
justify-content: center;
gap: 10px;
margin-top: var(--fc-spacing-sm);
}

.fc-cards--profile .fc-cards__social-link {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: #f1f5f9;
color: #64748b;
transition: all 0.3s ease;
}

.fc-cards--profile .fc-cards__social-link:hover {
background: var(--fc-primary-color);
color: #fff;
}

/* ==============================================
   Team Card Preset
   ============================================== */

.fc-cards--team .fc-cards__image {
height: 280px;
}

.fc-cards--team .fc-cards__content {
border-top: 4px solid var(--fc-primary-color);
}

.fc-cards--team .fc-cards__position {
font-size: 13px;
color: var(--fc-primary-color);
font-weight: 600;
margin-bottom: 5px;
}

/* ==============================================
   Game Card Preset
   ============================================== */

.fc-cards--game .fc-cards__item {
background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
color: #fff;
border: 1px solid rgba(255,255,255,0.1);
}

.fc-cards--game .fc-cards__image {
border-bottom: 3px solid #e94560;
}

.fc-cards--game .fc-cards__title {
color: #fff;
}

.fc-cards--game .fc-cards__desc {
color: rgba(255,255,255,0.7);
}

.fc-cards--game .fc-cards__meta {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 10px;
border-top: 1px solid rgba(255,255,255,0.1);
margin-top: 10px;
}

.fc-cards--game .fc-cards__price {
font-size: 20px;
font-weight: 700;
color: #e94560;
}

.fc-cards--game .fc-cards__rating {
display: flex;
align-items: center;
gap: 5px;
color: #ffc107;
}

/* ==============================================
   Dark Theme
   ============================================== */

.fc-cards--dark {
background: #1f2937;
padding: var(--fc-spacing-lg);
border-radius: var(--fc-border-radius-lg);
}

.fc-cards--dark .fc-cards__section-title {
color: #fff;
}

.fc-cards--dark .fc-cards__section-desc {
color: #9ca3af;
}

.fc-cards--dark .fc-cards__item {
background: #374151;
color: #e5e7eb;
}

.fc-cards--dark .fc-cards__title {
color: #fff;
}

.fc-cards--dark .fc-cards__desc {
color: #9ca3af;
}

.fc-cards--dark .fc-cards__link {
color: #60a5fa;
}

/* ==============================================
   Glass Effect
   ============================================== */

.fc-cards--glass .fc-cards__item {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.fc-cards--glass .fc-cards__item:hover {
background: rgba(255, 255, 255, 0.25);
}

/* ==============================================
   Masonry Layout
   ============================================== */

.fc-cards--masonry .fc-cards__grid {
display: block;
column-count: var(--columns, 3);
column-gap: var(--fc-spacing-md);
}

.fc-cards--masonry .fc-cards__item {
break-inside: avoid;
margin-bottom: var(--fc-spacing-md);
}

@media (max-width: 1024px) {
.fc-cards--masonry .fc-cards__grid {
column-count: 2;
}
}

@media (max-width: 767px) {
.fc-cards--masonry .fc-cards__grid {
column-count: 1;
}
}

/* ==============================================
   Flip Card Animation
   ============================================== */

.fc-cards--flip .fc-cards__item {
perspective: 1000px;
background: transparent;
box-shadow: none;
}

.fc-cards--flip .fc-cards__inner {
position: relative;
width: 100%;
height: 300px;
transition: transform 0.8s;
transform-style: preserve-3d;
}

.fc-cards--flip .fc-cards__item:hover .fc-cards__inner {
transform: rotateY(180deg);
}

.fc-cards--flip .fc-cards__front,
.fc-cards--flip .fc-cards__back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: var(--fc-border-radius-lg);
overflow: hidden;
}

.fc-cards--flip .fc-cards__front {
background: #fff;
}

.fc-cards--flip .fc-cards__back {
background: var(--fc-primary-color);
color: #fff;
transform: rotateY(180deg);
display: flex;
align-items: center;
justify-content: center;
padding: var(--fc-spacing-md);
text-align: center;
}

/* ==============================================
   Fade In Animation
   ============================================== */

.fc-cards--animated .fc-cards__item {
opacity: 0;
transform: translateY(30px);
animation: cards-fade-in 0.6s ease forwards;
}

.fc-cards--animated .fc-cards__item:nth-child(1) { animation-delay: 0s; }
.fc-cards--animated .fc-cards__item:nth-child(2) { animation-delay: 0.1s; }
.fc-cards--animated .fc-cards__item:nth-child(3) { animation-delay: 0.2s; }
.fc-cards--animated .fc-cards__item:nth-child(4) { animation-delay: 0.3s; }
.fc-cards--animated .fc-cards__item:nth-child(5) { animation-delay: 0.4s; }
.fc-cards--animated .fc-cards__item:nth-child(6) { animation-delay: 0.5s; }

@keyframes cards-fade-in {
to {
opacity: 1;
transform: translateY(0);
}
}


/* === hero.css === */
/**
 * fc/hero Block Styles
 * Hero 區塊樣式
 * 
 * ⚠️ 此檔案已拆分為子模組，保留此檔案僅供向後相容
 * 
 * 子模組位置: ./hero/
 *  - _base.css  基礎樣式
 *  - _layouts.css   佈局變體
 *  - _styles.css樣式變體
 *  - _rwd.css   響應式設計
 */


/* === IMPORT hero/index.css === */
/**
 * Hero Block CSS - Index File
 * Hero 區塊樣式 - 彙整匯入檔
 */


/* === IMPORT _base.css === */
/* =========================================================================
   fc/hero - Hero 區塊
   ========================================================================= */
.fc-hero {
position: relative;
min-height: 500px;
display: flex;
align-items: center;
justify-content: center;
background-size: cover;
background-position: center;
overflow: hidden;
}

.fc-hero__overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.4);
}

/* Container - 與 title-hero 結構對齊 */
.fc-hero__container {
position: relative;
z-index: 2;
width: 100%;
max-width: var(--fc-max-width);
margin: 0 auto;
padding: var(--fc-spacing-xl) var(--fc-spacing-md);
}

/* Split layouts: container should be full width but keep vertical padding */
.fc-hero--image-left .fc-hero__container,
.fc-hero--image-right .fc-hero__container {
max-width: 100%;
padding: var(--fc-spacing-lg) 0;
}

/* Text alignment options - 與 title-hero 行為一致 */
.fc-hero__text--align-left {
text-align: left !important;
align-items: flex-start !important;
}
.fc-hero__text--align-center {
text-align: center !important;
align-items: center !important;
}
.fc-hero__text--align-right {
text-align: right !important;
align-items: flex-end !important;
}

.fc-hero__content {
position: relative;
z-index: 2;
width: 100%;
max-width: var(--fc-max-width);
margin: 0 auto;
padding: 0; /* padding 由 container 統一控制 */
text-align: center;
color: #fff;
}

.fc-hero--center .fc-hero__content {
text-align: center;
}

.fc-hero--left .fc-hero__content {
text-align: left;
}

.fc-hero--right .fc-hero__content {
text-align: right;
}

.fc-hero__tagline {
font-size: var(--fc-font-md);
opacity: 0.9;
margin: 0 0 var(--fc-spacing-sm);
text-transform: uppercase;
letter-spacing: 2px;
text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.fc-hero__title {
font-size: clamp(32px, 5vw, var(--fc-font-xl));
font-weight: 700;
margin: 0 0 var(--fc-spacing-sm);
line-height: 1.2;
color: #fff;
text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Hero Title Style: Border Left (日經風格) */
.fc-hero__title--border-left {
padding-left: 20px;
border-left: solid 7px var(--title-accent-color, #005bac);
}

/* Hero Title Style: Underline */
.fc-hero__title--underline {
display: inline-block;
padding-bottom: 10px;
border-bottom: 4px solid var(--title-accent-color, #005bac);
}

/* Hero Title Style: Shadow (加強陰影) */
.fc-hero__title--shadow {
text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 8px 60px rgba(0, 0, 0, 0.5);
}

/* Hero Title: Has Shadow modifier */
.fc-hero__title--has-shadow {
text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Hero Title Style: Gradient Underline */
.fc-hero__title--gradient-underline {
display: inline-block;
position: relative;
padding-bottom: 15px;
}
.fc-hero__title--gradient-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, var(--title-accent-color, #005bac), transparent);
}

/* Hero Title Style: Double Underline 雙底線 */
.fc-hero__title--double-underline {
display: inline-block;
padding-bottom: 12px;
border-bottom: 3px double var(--title-accent-color, #005bac);
}

/* Hero Title Style: Highlight 螢光筆 */
.fc-hero__title--highlight {
display: inline;
background: linear-gradient(to top, var(--title-accent-color, #005bac) 35%, transparent 35%);
padding: 0 8px;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
}

/* Hero Title Style: Boxed 方框 */
.fc-hero__title--boxed {
display: inline-block;
padding: 12px 24px;
border: 3px solid var(--title-accent-color, #005bac);
background: rgba(0, 0, 0, 0.3);
}

/* Hero Title Style: Outline 描邊 */
.fc-hero__title--outline {
color: transparent;
-webkit-text-stroke: 2px var(--title-accent-color, #ffffff);
}

/* Hero Title Style: Gradient Background 漸層背景 */
.fc-hero__title--gradient-bg {
display: inline-block;
padding: 12px 24px;
background: linear-gradient(135deg, var(--title-accent-color, #005bac), rgba(0, 91, 172, 0.5));
border-radius: 4px;
}

/* Hero Title Style: Wave Underline 波浪底線 */
.fc-hero__title--wave-underline {
display: inline-block;
position: relative;
padding-bottom: 12px;
}
.fc-hero__title--wave-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 6px;
background: 
radial-gradient(circle, var(--title-accent-color, #005bac) 3px, transparent 3px) 0 0 / 12px 6px repeat-x,
linear-gradient(transparent, transparent);
}

/* Hero Title Style: Left Right Border 左右邊框 */
.fc-hero__title--left-right-border {
display: inline-block;
padding: 0 20px;
border-left: 4px solid var(--title-accent-color, #005bac);
border-right: 4px solid var(--title-accent-color, #005bac);
}

/* Hero Title Style: Double Border 雙邊框 */
.fc-hero__title--double-border {
display: inline-block;
padding: 12px 24px;
border: 4px double var(--title-accent-color, #005bac);
}

/* Hero Title Style: Bracket 括號樣式 */
.fc-hero__title--bracket {
display: inline-block;
position: relative;
padding: 0 30px;
}
.fc-hero__title--bracket::before,
.fc-hero__title--bracket::after {
position: absolute;
font-size: 1.5em;
font-weight: 300;
opacity: 0.7;
color: var(--title-accent-color, #005bac);
}
.fc-hero__title--bracket::before {
content: '【';
left: 0;
}
.fc-hero__title--bracket::after {
content: '】';
right: 0;
}

/* Hero Title Style: Solid Background 卡片背景 */
.fc-hero__title--solid-bg {
display: inline-block;
padding: 12px 24px;
background: color-mix(in srgb, var(--title-accent-color, #005bac) calc(var(--title-bg-opacity, 0.8) * 100%), transparent);
border-radius: 4px;
}

/* Hero Title Style: Blur Background 模糊背景 */
.fc-hero__title--blur-bg {
display: inline-block;
padding: 16px 32px;
background: rgba(0, 0, 0, var(--title-bg-opacity, 0.3));
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Title Style: Ribbon 綬帶 */
.fc-hero__title--ribbon {
display: inline-block;
position: relative;
padding: 12px 40px;
background: var(--title-accent-color, #005bac);
}
.fc-hero__title--ribbon::before,
.fc-hero__title--ribbon::after {
content: '';
position: absolute;
top: 100%;
border: 10px solid transparent;
}
.fc-hero__title--ribbon::before {
left: 0;
border-top-color: var(--title-accent-color, #003d73);
border-left-color: var(--title-accent-color, #003d73);
}
.fc-hero__title--ribbon::after {
right: 0;
border-top-color: var(--title-accent-color, #003d73);
border-right-color: var(--title-accent-color, #003d73);
}

/* Hero Title Style: Strikethrough 刪除線 */
.fc-hero__title--strikethrough {
display: inline-block;
position: relative;
}
.fc-hero__title--strikethrough::after {
content: '';
position: absolute;
left: -5%;
top: 50%;
width: 110%;
height: 4px;
background: var(--title-accent-color, #005bac);
transform: translateY(-50%);
opacity: 0.7;
}

/* Hero Title Style: Typewriter 打字機 */
.fc-hero__title--typewriter {
display: inline-block;
font-family: 'Courier New', Courier, monospace;
background: rgba(0, 0, 0, 0.8);
padding: 12px 24px;
border-left: 4px solid var(--title-accent-color, #00ff00);
letter-spacing: 2px;
}

.fc-hero__subtitle {
font-size: var(--fc-font-lg);
opacity: 0.85;
margin: 0;
line-height: 1.5;
text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Subtitle Font Size Variants */
.fc-hero__subtitle--size-small {
font-size: clamp(12px, 2vw, 14px);
}
.fc-hero__subtitle--size-medium {
font-size: clamp(14px, 2.5vw, 18px);
}
.fc-hero__subtitle--size-large {
font-size: clamp(16px, 3vw, 22px);
}
.fc-hero__subtitle--size-xlarge {
font-size: clamp(18px, 3.5vw, 28px);
}

/* Subtitle Alignment - use high specificity to override parent's text-align: center */
.fc-hero .fc-hero__subtitle.fc-hero__subtitle--align-left,
.fc-hero .fc-hero__subtitle2.fc-hero__subtitle2--align-left,
.fc-hero__subtitle--align-left,
.fc-hero__subtitle2--align-left {
text-align: left !important;
}
.fc-hero .fc-hero__subtitle.fc-hero__subtitle--align-center,
.fc-hero .fc-hero__subtitle2.fc-hero__subtitle2--align-center,
.fc-hero__subtitle--align-center,
.fc-hero__subtitle2--align-center {
text-align: center !important;
}
.fc-hero .fc-hero__subtitle.fc-hero__subtitle--align-right,
.fc-hero .fc-hero__subtitle2.fc-hero__subtitle2--align-right,
.fc-hero__subtitle--align-right,
.fc-hero__subtitle2--align-right {
text-align: right !important;
}

/* Subtitle Style Variants */
.fc-hero__subtitle--italic {
font-style: italic;
}
.fc-hero__subtitle--border-left {
border-left: 3px solid currentColor;
padding-left: 12px;
}
.fc-hero__subtitle--quote {
font-style: italic;
}
.fc-hero__subtitle--quote::before {
content: '"';
margin-right: 4px;
}
.fc-hero__subtitle--quote::after {
content: '"';
margin-left: 4px;
}
.fc-hero__subtitle--highlight {
background: rgba(255, 255, 255, 0.15);
padding: 8px 16px;
border-radius: 4px;
display: inline-block;
}

/* Subtitle2 base style */
.fc-hero__subtitle2 {
font-size: var(--fc-font-md);
opacity: 0.8;
margin: var(--fc-spacing-sm) 0 0;
line-height: 1.6;
text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Subtitle2 Font Size Variants */
.fc-hero__subtitle2--size-small {
font-size: clamp(12px, 2vw, 14px);
}
.fc-hero__subtitle2--size-medium {
font-size: clamp(14px, 2.5vw, 18px);
}
.fc-hero__subtitle2--size-large {
font-size: clamp(16px, 3vw, 22px);
}
.fc-hero__subtitle2--size-xlarge {
font-size: clamp(18px, 3.5vw, 28px);
}

/* Subtitle2 Style Variants */
.fc-hero__subtitle2--italic {
font-style: italic;
}
.fc-hero__subtitle2--border-left {
border-left: 3px solid currentColor;
padding-left: 12px;
}
.fc-hero__subtitle2--quote {
font-style: italic;
}



/* === IMPORT _layouts.css === */

.fc-hero__subtitle2--quote::before {
content: '"';
margin-right: 4px;
}
.fc-hero__subtitle2--quote::after {
content: '"';
margin-left: 4px;
}
.fc-hero__subtitle2--highlight {
background: rgba(255, 255, 255, 0.15);
padding: 8px 16px;
border-radius: 4px;
display: inline-block;
}

/* Subtitle2 完整裝飾樣式 */
.fc-hero__subtitle2--underline {
display: inline-block;
padding-bottom: 8px;
border-bottom: 3px solid var(--subtitle2-accent-color, currentColor);
}

.fc-hero__subtitle2--double-underline {
display: inline-block;
padding-bottom: 10px;
border-bottom: 2px double var(--subtitle2-accent-color, currentColor);
}

.fc-hero__subtitle2--gradient-underline {
display: inline-block;
position: relative;
padding-bottom: 12px;
}
.fc-hero__subtitle2--gradient-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, var(--subtitle2-accent-color, currentColor), transparent);
}

.fc-hero__subtitle2--wave-underline {
display: inline-block;
position: relative;
padding-bottom: 10px;
}
.fc-hero__subtitle2--wave-underline::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 5px;
background: 
radial-gradient(circle, var(--subtitle2-accent-color, currentColor) 2px, transparent 2px) 0 0 / 10px 5px repeat-x,
linear-gradient(transparent, transparent);
}

.fc-hero__subtitle2--left-right-border {
display: inline-block;
padding: 0 16px;
border-left: 3px solid var(--subtitle2-accent-color, currentColor);
border-right: 3px solid var(--subtitle2-accent-color, currentColor);
}

.fc-hero__subtitle2--double-border {
display: inline-block;
padding: 10px 20px;
border: 3px double var(--subtitle2-accent-color, currentColor);
}

.fc-hero__subtitle2--bracket {
display: inline-block;
position: relative;
padding: 0 24px;
}
.fc-hero__subtitle2--bracket::before,
.fc-hero__subtitle2--bracket::after {
position: absolute;
font-size: 1.3em;
font-weight: 300;
opacity: 0.7;
color: var(--subtitle2-accent-color, currentColor);
}
.fc-hero__subtitle2--bracket::before {
content: '【';
left: 0;
}
.fc-hero__subtitle2--bracket::after {
content: '】';
right: 0;
}

.fc-hero__subtitle2--gradient-bg {
display: inline-block;
padding: 10px 20px;
background: linear-gradient(135deg, var(--subtitle2-accent-color, rgba(0, 91, 172, 0.6)), rgba(0, 91, 172, 0.3));
border-radius: 4px;
}

.fc-hero__subtitle2--solid-bg {
display: inline-block;
padding: 10px 20px;
background: var(--subtitle2-accent-color, rgba(0, 91, 172, 0.7));
border-radius: 4px;
}

.fc-hero__subtitle2--blur-bg {
display: inline-block;
padding: 12px 24px;
background: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-hero__subtitle2--ribbon {
display: inline-block;
position: relative;
padding: 10px 32px;
background: var(--subtitle2-accent-color, rgba(0, 91, 172, 0.8));
}
.fc-hero__subtitle2--ribbon::before,
.fc-hero__subtitle2--ribbon::after {
content: '';
position: absolute;
top: 100%;
border: 8px solid transparent;
}
.fc-hero__subtitle2--ribbon::before {
left: 0;
border-top-color: var(--subtitle2-accent-color, rgba(0, 60, 115, 0.8));
border-left-color: var(--subtitle2-accent-color, rgba(0, 60, 115, 0.8));
}
.fc-hero__subtitle2--ribbon::after {
right: 0;
border-top-color: var(--subtitle2-accent-color, rgba(0, 60, 115, 0.8));
border-right-color: var(--subtitle2-accent-color, rgba(0, 60, 115, 0.8));
}

.fc-hero__subtitle2--boxed {
display: inline-block;
padding: 10px 20px;
border: 2px solid var(--subtitle2-accent-color, currentColor);
background: rgba(0, 0, 0, 0.2);
}

.fc-hero__subtitle2--outline {
color: transparent;
-webkit-text-stroke: 1.5px var(--subtitle2-accent-color, #ffffff);
}

/* Hero Height Variants */
.fc-hero--auto {
min-height: auto !important;
height: auto !important;
}

.fc-hero--small {
min-height: 300px;
}

.fc-hero--medium {
min-height: 400px;
}

.fc-hero--large {
min-height: 500px;
}

.fc-hero--fullscreen {
min-height: 100vh;
}

/* =========================================================================
   Layout Mode Styles (fc-layout-*)
   ========================================================================= */

/* Fullscreen Layout - 全螢幕背景圖片搭配標題 */
.fc-hero.fc-layout-fullscreen {
display: flex;
align-items: center;
justify-content: center;
}

.fc-hero.fc-layout-fullscreen .fc-hero__content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
width: 100%;
max-width: var(--fc-max-width, 1200px);
/* padding 由 container 控制 */
}

/* Split Layout - 左右分割 */
.fc-hero.fc-layout-split {
display: flex;
align-items: stretch;
}

.fc-hero.fc-layout-split .fc-hero__content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
width: 50%;
padding: 0; /* padding 由 container 控制 */
background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 767px) {
.fc-hero.fc-layout-split {
flex-direction: column;
}

.fc-hero.fc-layout-split .fc-hero__content {
width: 100%;
padding: var(--fc-spacing-lg) var(--fc-spacing-md);
}
}

/* =========================================================================
   Hero Layout Modes (14 layouts from title-hero)
   Using fc-hero--{layout} class naming convention
   ========================================================================= */

/* Layout: fullscreen - 滿版背景 */
.fc-hero--fullscreen {
min-height: 70vh;
display: flex;
align-items: center;
justify-content: center;
}

.fc-hero--fullscreen .fc-hero__content {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
width: 100%;
max-width: var(--fc-max-width, 1200px);
/* 移除 padding，由 container 統一控制 */
}

/* Layout: fullscreen-center - 滿版置中 */
.fc-hero--fullscreen-center {
min-height: 80vh;
display: flex;
align-items: center;
justify-content: center;
}

.fc-hero--fullscreen-center .fc-hero__content {
text-align: center;
align-items: center;
}

/* Layout: fullscreen-bottom - 滿版底部 */
.fc-hero--fullscreen-bottom {
min-height: 80vh;
display: flex;
align-items: flex-end;
}

.fc-hero--fullscreen-bottom .fc-hero__content {
padding-bottom: var(--fc-spacing-xxl);
}

/* Layout: fullscreen-full - 滿版全顯 (背景圖完整顯示，等比例縮放，不裁切) */
.fc-hero--fullscreen-full {
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-color: #000 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
min-height: auto !important;
height: auto !important;
aspect-ratio: 16 / 9;
}

/* Override height variants for fullscreen-full - image determines height */
.fc-hero--fullscreen-full.fc-hero--small,
.fc-hero--fullscreen-full.fc-hero--medium,
.fc-hero--fullscreen-full.fc-hero--large,
.fc-hero--fullscreen-full.fc-hero--fullscreen {
min-height: auto !important;
height: auto !important;
}

.fc-hero--fullscreen-full .fc-hero__content {
position: relative;
z-index: 2;
text-align: center;
align-items: center;
}

/* Layout: image-full - 圖片全顯 (背景圖完整顯示，無裁切，等比例縮放) */
.fc-hero--image-full {
min-height: auto !important;
height: auto !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
background-color: var(--fc-bg-dark, #1a1a1a) !important;
aspect-ratio: 16 / 9;
position: relative;
}

/* Override height variants for image-full */
.fc-hero--image-full.fc-hero--small,
.fc-hero--image-full.fc-hero--medium,
.fc-hero--image-full.fc-hero--large,
.fc-hero--image-full.fc-hero--fullscreen {
min-height: auto !important;
height: auto !important;
}

.fc-hero--image-full .fc-hero__content {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: var(--fc-spacing-lg) var(--fc-spacing-md);
background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

/* ================================================================
   FC-HERO IMAGE ELEMENT STYLES
   Used for image-top, image-bottom, image-left, image-right layouts
   ================================================================ */

/* Base image container */
.fc-hero__image {
position: relative;
overflow: hidden;
background: var(--fc-bg-dark, #1a1a1a);
}

.fc-hero__image img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
max-height: clamp(200px, 40vw, 500px); /* 響應式圖片高度 - 與 title-hero 一致 */
}

/* Text container inside content (used for split layouts) */
.fc-hero__text {
display: flex;
flex-direction: column;
justify-content: center;
padding: 0; /* padding 全由 container 控制 */
position: relative;
z-index: 2;
}

/* Split content layout (for image-left/right) */
.fc-hero__content--split {
display: flex;
flex-direction: row;
text-align: left;
gap: clamp(16px, 3vw, 40px); /* 響應式間距 - 與 title-hero 一致 */
align-items: center;
}

.fc-hero__content--split .fc-hero__text {
flex: 1 1 55%;
max-width: 55%;
padding: 0; /* padding 由 container 控制 */
}

.fc-hero__content--split .fc-hero__image {
flex: 0 0 45%;
max-width: 45%;
}

/* Layout: image-top - 圖片在上 */
.fc-hero--image-top {
flex-direction: column;
align-items: stretch;
display: flex;
min-height: auto;
background: none !important;
}

.fc-hero--image-top .fc-hero__image--top {
width: 100%;
height: auto;
max-height: 60vh;
}

.fc-hero--image-top .fc-hero__image--top img {
max-height: 60vh;
object-fit: cover;
width: 100%;
}

.fc-hero--image-top .fc-hero__content {
padding-top: 0;
background: var(--fc-bg-light, #f8f9fa);
color: var(--fc-text-dark, #333);
}

/* Layout: image-bottom - 圖片在下 */
.fc-hero--image-bottom {
flex-direction: column;
align-items: stretch;
display: flex;
min-height: auto;
background: none !important;
}

.fc-hero--image-bottom .fc-hero__content {
padding-bottom: 0;
background: var(--fc-bg-light, #f8f9fa);
color: var(--fc-text-dark, #333);
}

.fc-hero--image-bottom .fc-hero__image--bottom {
width: 100%;
height: auto;
max-height: 60vh;
}

.fc-hero--image-bottom .fc-hero__image--bottom img {
max-height: 60vh;
object-fit: cover;
width: 100%;
}

/* Layout: image-left - 圖片在左 (與 title-hero 一致) */
.fc-hero--image-left {
display: block; /* 移除 flex 高度限制 */
min-height: auto !important;
background: none !important;
}

/* Hide overlay for split layouts - they don't use background images */
.fc-hero--image-left .fc-hero__overlay,
.fc-hero--image-right .fc-hero__overlay {
display: none;
}

.fc-hero--image-left .fc-hero__content {
width: 100%;
max-width: 100%;
padding: 0;
display: flex;
flex-direction: row;
align-items: center;
gap: clamp(16px, 3vw, 40px);
}

.fc-hero--image-left .fc-hero__image--left {
flex: 0 0 45%;
max-width: 45%;
}

.fc-hero--image-left .fc-hero__image--left img {
width: 100%;
height: auto;
max-height: clamp(200px, 40vw, 500px);
object-fit: cover;
}

.fc-hero--image-left .fc-hero__text {
flex: 1 1 55%;
max-width: 55%;
padding: clamp(8px, 2vw, 16px) 0;
}

/* Layout: image-right - 圖片在右 (與 title-hero 一致) */
.fc-hero--image-right {
display: block; /* 移除 flex 高度限制 */
min-height: auto !important;
background: none !important;
}

.fc-hero--image-right .fc-hero__content {
width: 100%;
max-width: 100%;
padding: 0;
display: flex;
flex-direction: row;
align-items: center;
gap: clamp(16px, 3vw, 40px);
}

.fc-hero--image-right .fc-hero__image--right {
flex: 0 0 45%;
max-width: 45%;
}

.fc-hero--image-right .fc-hero__image--right img {
width: 100%;
height: auto;
max-height: clamp(200px, 40vw, 500px);
object-fit: cover;
}

.fc-hero--image-right .fc-hero__text {
flex: 1 1 55%;
max-width: 55%;
padding: clamp(8px, 2vw, 16px) 0;
}

/* Layout: banner - 橫幅標題 */
.fc-hero--banner {
min-height: 50vh;
display: flex;
align-items: flex-end;
}

.fc-hero--banner .fc-hero__content {
width: 100%;
padding-bottom: var(--fc-spacing-xxl);
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

/* Layout: split-top - 分離上方 */
.fc-hero--split-top {
display: flex;
flex-direction: column;
}

.fc-hero--split-top .fc-hero__content {
background: var(--fc-bg-light, #f8f9fa);
color: var(--fc-text-dark, #333);
padding: var(--fc-spacing-xl) var(--fc-spacing-md);
}

/* Layout: card - 卡片式 (glassmorphism 效果) */
.fc-hero--card {
display: flex;
align-items: center;
justify-content: center;
padding: var(--fc-spacing-xxl) var(--fc-spacing-lg);
background: linear-gradient(135deg, var(--fc-bg-color, #1a3a5c) 0%, #0d1f2d 100%);
}

.fc-hero--card .fc-hero__content {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
color: #fff;
padding: var(--fc-spacing-xl); /* card 的 content 需要 padding 作為卡片內距 */
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
max-width: 800px;
text-align: center;
}

/* Layout: diagonal - 斜切分割 */
.fc-hero--diagonal {
position: relative;
display: flex;
align-items: center;
}

.fc-hero--diagonal::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
z-index: 1;
}

.fc-hero--diagonal .fc-hero__content {
width: 50%;
padding: 0; /* padding 由 container 控制 */
}

/* Layout: title-only - 純標題 */
.fc-hero--title-only {
min-height: auto;
padding: var(--fc-spacing-xl) var(--fc-spacing-md);
background-size: cover;
background-position: center;
}

.fc-hero--title-only .fc-hero__content {
padding: 0; /* padding 由 container 控制 */
}

/* =========================================================================
   Comprehensive 3-Tier RWD for fc/hero Layouts
   Desktop (>1180px) / Tablet (768-1180px) / Mobile (<768px)
   ========================================================================= */

/* == TABLET (768px - 1180px) == */
@media (min-width: 768px) and (max-width: 1180px) {
/* Layout heights on tablet */
.fc-hero--fullscreen {
min-height: 60vh;
}

.fc-hero--fullscreen-center,
.fc-hero--fullscreen-bottom {
min-height: 70vh;
}

.fc-hero--banner {
min-height: 45vh;
}

/* fullscreen-full on tablet - show complete image with contain */
.fc-hero--fullscreen-full {
background-size: contain !important;
background-position: center !important;
background-repeat: no-repeat !important;
min-height: auto !important;
height: auto !important;
aspect-ratio: 16 / 9;
}

/* Override height variants for fullscreen-full on tablet */
.fc-hero--fullscreen-full.fc-hero--small,
.fc-hero--fullscreen-full.fc-hero--medium,
.fc-hero--fullscreen-full.fc-hero--large,
.fc-hero--fullscreen-full.fc-hero--fullscreen {
min-height: auto !important;
height: auto !important;
}

/* image-full on tablet - show complete image without cropping */
.fc-hero--image-full {
background-size: contain !important;
min-height: auto !important;
height: auto !important;
}

.fc-hero--image-full.fc-hero--small,
.fc-hero--image-full.fc-hero--medium,
.fc-hero--image-full.fc-hero--large,
.fc-hero--image-full.fc-hero--fullscreen {
min-height: auto !important;
height: auto !important;
}

/* Split layouts adjust ratios for tablet - 與 title-hero 一致 */
.fc-hero--image-left .fc-hero__content,
.fc-hero--image-right .fc-hero__content {
gap: var(--fc-spacing-lg);
}

.fc-hero--image-left .fc-hero__text,
.fc-hero--image-right .fc-hero__text {
flex: 1 1 50%;
max-width: 50%;
min-width: 0;
overflow: hidden;
}

.fc-hero--image-left .fc-hero__image--left,
.fc-hero--image-right .fc-hero__image--right {
flex: 0 0 50%;
max-width: 50%;
min-width: 0;
overflow: hidden;
}

/* Image max height on tablet */
.fc-hero--image-left .fc-hero__image--left img,
.fc-hero--image-right .fc-hero__image--right img {
max-height: 400px;
}

.fc-hero--diagonal .fc-hero__content {
width: 55%;
}

.fc-hero--diagonal::after {
width: 55%;
}

/* Card layout on tablet */
.fc-hero--card {
padding: var(--fc-spacing-xl);
}

.fc-hero--card .fc-hero__content {
max-width: 70%;
}

/* Title sizing for tablet */
.fc-hero__title {
font-size: clamp(26px, 4vw, 42px);
}

.fc-hero__title--size-small { font-size: clamp(22px, 3.5vw, 32px); }
.fc-hero__title--size-medium { font-size: clamp(26px, 4vw, 38px); }
.fc-hero__title--size-large { font-size: clamp(30px, 4.5vw, 46px); }
.fc-hero__title--size-xlarge { font-size: clamp(36px, 5vw, 56px); }

/* Subtitle sizing for tablet */
.fc-hero__subtitle {
font-size: clamp(14px, 2vw, 18px);
}
}

/* == MOBILE (<768px) == */
@media (max-width: 767px) {
/* Base container - 確保手機版完整顯示 */
.fc-hero {
width: 100% !important;
max-width: 100% !important;
box-sizing: border-box;
overflow: visible !important;
height: auto !important;
min-height: auto !important;
}

.fc-hero__container {
padding: var(--fc-spacing-lg) var(--fc-spacing-md) !important;
width: 100% !important;
max-width: 100% !important;
}

.fc-hero__content {
width: 100% !important;
box-sizing: border-box;
padding: 0 !important;
}

.fc-hero__text {
overflow: visible !important;
width: 100% !important;
max-width: 100% !important;
}

/* 所有 fullscreen 相關佈局在手機上自適應高度 */
.fc-hero--fullscreen,
.fc-hero--fullscreen-center,
.fc-hero--fullscreen-bottom,
.fc-hero--banner {
min-height: auto !important;
height: auto !important;
}

/* fullscreen-full on mobile - maintain aspect ratio to show full image */
.fc-hero--fullscreen-full {
background-size: contain !important;
background-position: center !important;
background-repeat: no-repeat !important;
min-height: auto !important;
height: auto !important;
aspect-ratio: 16 / 9;
padding: 0;
}

/* Override height variants for fullscreen-full on mobile */
.fc-hero--fullscreen-full.fc-hero--small,
.fc-hero--fullscreen-full.fc-hero--medium,
.fc-hero--fullscreen-full.fc-hero--large,
.fc-hero--fullscreen-full.fc-hero--fullscreen {
min-height: auto !important;
height: auto !important;
}

/* image-full on mobile - show complete image without cropping */
.fc-hero--image-full {
background-size: contain !important;
min-height: auto !important;
height: auto !important;
}

.fc-hero--image-full.fc-hero--small,
.fc-hero--image-full.fc-hero--medium,
.fc-hero--image-full.fc-hero--large,
.fc-hero--image-full.fc-hero--fullscreen {
min-height: auto !important;
height: auto !important;
}

/* Image-top/bottom layouts on mobile - 與 title-hero 一致 */
.fc-hero--image-top,
.fc-hero--image-bottom {
min-height: auto !important;
}

.fc-hero--image-top .fc-hero__overlay,
.fc-hero--image-bottom .fc-hero__overlay {
display: none; /* 不使用背景圖，隱藏 overlay */
}

.fc-hero--image-top .fc-hero__image--top img,
.fc-hero--image-bottom .fc-hero__image--bottom img {
max-height: 200px;
}
}



/* === IMPORT _styles.css === */
/* Mobile styles */
@media (max-width: 768px) {
.fc-hero--image-top .fc-hero__container,
.fc-hero--image-bottom .fc-hero__container {
padding: var(--fc-spacing-md) var(--fc-spacing-sm);
}

/* Height variants on mobile (for non fullscreen-full/image-full layouts) */
.fc-hero--small { min-height: 30vh; }
.fc-hero--medium { min-height: 40vh; }
.fc-hero--large { min-height: 50vh; }

/* Split layouts become stacked on mobile - 與 title-hero 一致 */
.fc-hero--image-left .fc-hero__content,
.fc-hero--image-right .fc-hero__content {
flex-direction: column;
text-align: left;
gap: var(--fc-spacing-md);
}

/* Image: full width on mobile, always on top */
.fc-hero--image-left .fc-hero__image--left,
.fc-hero--image-right .fc-hero__image--right {
flex: none;
max-width: 100%;
width: 100%;
order: -1; /* Image always on top */
}

.fc-hero--image-left .fc-hero__image--left img,
.fc-hero--image-right .fc-hero__image--right img {
max-height: 250px;
width: 100%;
object-fit: cover;
}

/* Text: full width on mobile */
.fc-hero--image-left .fc-hero__text,
.fc-hero--image-right .fc-hero__text {
flex: none;
max-width: 100%;
width: 100%;
padding: var(--fc-spacing-md) 0;
}

/* Container on mobile */
.fc-hero--image-left .fc-hero__container,
.fc-hero--image-right .fc-hero__container {
padding: var(--fc-spacing-md) var(--fc-spacing-sm);
width: 100%;
max-width: 100%;
}

/* Diagonal layout on mobile */
.fc-hero--diagonal {
min-height: 50vh;
}

.fc-hero--diagonal::after {
width: 100%;
height: 60%;
clip-path: none;
top: auto;
bottom: 0;
}

.fc-hero--diagonal .fc-hero__content {
width: 100%;
padding: var(--fc-spacing-lg) var(--fc-spacing-md);
}

/* Card layout on mobile */
.fc-hero--card {
padding: var(--fc-spacing-lg) var(--fc-spacing-md);
}

.fc-hero--card .fc-hero__content {
border-radius: 12px;
padding: var(--fc-spacing-lg);
max-width: 100%;
margin: var(--fc-spacing-md);
}

/* Split-top on mobile */
.fc-hero--split-top .fc-hero__content {
padding: var(--fc-spacing-md);
}

/* Title sizing for mobile */
.fc-hero__title {
font-size: clamp(20px, 5vw, 28px);
margin-bottom: var(--fc-spacing-sm);
line-height: 1.3;
}

.fc-hero__title--size-small { font-size: clamp(18px, 4.5vw, 22px); }
.fc-hero__title--size-medium { font-size: clamp(20px, 5vw, 26px); }
.fc-hero__title--size-large { font-size: clamp(22px, 5.5vw, 30px); }
.fc-hero__title--size-xlarge { font-size: clamp(26px, 6vw, 36px); }

/* Subtitle sizing for mobile */
.fc-hero__subtitle {
font-size: clamp(13px, 3.5vw, 15px);
margin: var(--fc-spacing-xs) 0 var(--fc-spacing-sm);
line-height: 1.6;
}

.fc-hero__subtitle--size-small { font-size: clamp(12px, 3vw, 13px); }
.fc-hero__subtitle--size-medium { font-size: clamp(13px, 3.5vw, 15px); }
.fc-hero__subtitle--size-large { font-size: clamp(14px, 4vw, 16px); }
.fc-hero__subtitle--size-xlarge { font-size: clamp(15px, 4.5vw, 18px); }

/* Subtitle quote style */
.fc-hero__subtitle2--quote {
  font-style: italic;
}
.fc-hero__subtitle2--quote::before {
  content: '"';
  margin-right: 4px;
}

/* Border-left style adjustment */
.fc-hero__title--border-left,
.fc-title--border-left {
padding-left: 10px;
border-left-width: 4px;
}

/* Logo on mobile */
.fc-hero__logo-img {
max-height: 40px;
}

/* CTA on mobile */
.fc-hero__cta {
margin-top: var(--fc-spacing-md);
text-align: center;
}

.fc-hero__cta-btn {
padding: 12px 24px;
font-size: 14px;
width: auto;
display: inline-block;
}

/* Meta on mobile */
.fc-hero__meta {
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
font-size: 12px;
}
}

/* =========================================================================
   Fullwidth Styles - 使用 transform 方法突破父容器達到全寬
   ========================================================================= */
.fc-hero.fc-width-fullwidth {
position: relative !important;
left: 50% !important;
transform: translateX(-50%) !important;
width: 100vw !important;
max-width: 100vw !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

/* 全寬內容置中 - padding 由 container 控制 */
.fc-hero.fc-width-fullwidth .fc-hero__content {
text-align: center;
max-width: var(--fc-max-width, 1200px);
margin-left: auto;
margin-right: auto;
/* padding 由 container 統一控制 */
}

.fc-content-wrapper .fc-hero.fc-width-fullwidth,
.fc-content .fc-hero.fc-width-fullwidth {
position: relative !important;
left: 50% !important;
transform: translateX(-50%) !important;
width: 100vw !important;
max-width: 100vw !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

/* RWD - 移動端全寬處理 */
@media (max-width: 768px) {
.fc-hero.fc-width-fullwidth,
.fc-content-wrapper .fc-hero.fc-width-fullwidth,
.fc-content .fc-hero.fc-width-fullwidth {
position: relative !important;
left: 50% !important;
transform: translateX(-50%) !important;
width: 100vw !important;
max-width: 100vw !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
}

/* Wide 和 Normal 寬度變體 */
.fc-hero.fc-width-wide {
width: 100%;
max-width: var(--fc-max-width);
margin-left: auto;
margin-right: auto;
}

.fc-hero.fc-width-normal {
width: 100%;
max-width: var(--fc-content-width);
margin-left: auto;
margin-right: auto;
}

.fc-hero.fc-width-narrow {
width: 100%;
max-width: var(--fc-narrow-width);
margin-left: auto;
margin-right: auto;
}

/* =========================================================================
   Theme Color Support
   ========================================================================= */
.fc-hero.fc-theme-blue .fc-hero__overlay {
background-color: rgba(0, 91, 172, 0.75);
}

.fc-hero.fc-theme-green .fc-hero__overlay {
background-color: rgba(46, 125, 50, 0.75);
}

.fc-hero.fc-theme-purple .fc-hero__overlay {
background-color: rgba(123, 31, 162, 0.75);
}

.fc-hero.fc-theme-orange .fc-hero__overlay {
background-color: rgba(239, 108, 0, 0.75);
}

.fc-hero.fc-theme-red .fc-hero__overlay {
background-color: rgba(198, 40, 40, 0.75);
}

.fc-hero.fc-theme-teal .fc-hero__overlay {
background-color: rgba(0, 151, 167, 0.75);
}

.fc-hero.fc-theme-pink .fc-hero__overlay {
background-color: rgba(233, 30, 99, 0.75);
}

.fc-hero.fc-theme-dark .fc-hero__overlay {
background-color: rgba(0, 0, 0, 0.85);
}

/* =========================================================================
   9-Point Title Positioning System for fc/hero
   Classes: fc-hero--pos-{position}
   ========================================================================= */

/* ===== TOP ROW ===== */
/* Top Left */
.fc-hero--pos-top-left {
align-items: flex-start !important;
justify-content: flex-start !important;
}
.fc-hero--pos-top-left .fc-hero__content {
text-align: left;
}

/* Top Center */
.fc-hero--pos-top-center {
align-items: flex-start !important;
justify-content: center !important;
}
.fc-hero--pos-top-center .fc-hero__content {
text-align: center;
}

/* Top Right */
.fc-hero--pos-top-right {
align-items: flex-start !important;
justify-content: flex-end !important;
}
.fc-hero--pos-top-right .fc-hero__content {
text-align: right;
}

/* ===== CENTER ROW ===== */
/* Center Left */
.fc-hero--pos-center-left {
align-items: center !important;
justify-content: flex-start !important;
}
.fc-hero--pos-center-left .fc-hero__content {
text-align: left;
}

/* Center Center (Default) */
.fc-hero--pos-center-center {
align-items: center !important;
justify-content: center !important;
}
.fc-hero--pos-center-center .fc-hero__content {
text-align: center;
}

/* Center Right */
.fc-hero--pos-center-right {
align-items: center !important;
justify-content: flex-end !important;
}
.fc-hero--pos-center-right .fc-hero__content {
text-align: right;
}

/* ===== BOTTOM ROW ===== */
/* Bottom Left */
.fc-hero--pos-bottom-left {
align-items: flex-end !important;
justify-content: flex-start !important;
}
.fc-hero--pos-bottom-left .fc-hero__content {
text-align: left;
}

/* Bottom Center */
.fc-hero--pos-bottom-center {
align-items: flex-end !important;
justify-content: center !important;
}
.fc-hero--pos-bottom-center .fc-hero__content {
text-align: center;
}

/* Bottom Right */
.fc-hero--pos-bottom-right {
align-items: flex-end !important;
justify-content: flex-end !important;
}
.fc-hero--pos-bottom-right .fc-hero__content {
text-align: right;
}

/* ========================================
   Video Background
   ======================================== */
.fc-hero--video {
overflow: hidden;
}

.fc-hero__video-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
overflow: hidden;
}

.fc-hero__video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translate(-50%, -50%);
object-fit: cover;
}

/* YouTube/Vimeo iframe video - scale to cover container */
.fc-hero__video--youtube,
.fc-hero__video--vimeo {
width: 100vw;
height: 56.25vw; /* 16:9 aspect ratio */
min-height: 100%;
min-width: 177.77vh; /* 16:9 aspect ratio */
pointer-events: none; /* Prevent interaction with iframe */
}

/* Self-hosted video - inherits from .fc-hero__video */
.fc-hero__video--self {
object-fit: cover;
}

/* Mobile hide - hide video on mobile devices */
.fc-hero__video-bg--hide-mobile {
display: block; /* Default: show on desktop */
}

@media (max-width: 768px) {
.fc-hero__video-bg--hide-mobile {
display: none;
}

/* Show background image as fallback when video is hidden on mobile */
.fc-hero--mobile-video-hidden {
background-size: cover;
background-position: center;
}
}



/* === IMPORT _rwd.css === */
/* ==============================================
   Mobile Fallback Image (手機版影片備案圖片)
   ============================================== */
.fc-hero__mobile-fallback {
display: none; /* Hidden on desktop */
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
overflow: hidden;
}

.fc-hero__mobile-fallback img {
width: 100%;
height: 100%;
object-fit: cover;
}

@media (max-width: 768px) {
.fc-hero__mobile-fallback {
display: block; /* Show on mobile */
max-height: 200px; /* 手機縮小圖片高度 */
}
}

/* Ensure overlay is above video */
.fc-hero--video .fc-hero__overlay {
z-index: 1;
}

/* Ensure content is above overlay */
.fc-hero--video .fc-hero__content {
z-index: 2;
}

/* ========================================
   Parallax Effect
   ======================================== */
.fc-hero--parallax {
overflow: hidden;
background-attachment: fixed;
background-position: center center;
background-size: cover;
}

/* Fallback for mobile devices where background-attachment: fixed doesn't work well */
@supports (-webkit-touch-callout: none) {
.fc-hero--parallax {
background-attachment: scroll;
}
}

/* Mobile/tablet fallback */
@media (max-width: 1180px) {
.fc-hero--parallax {
background-attachment: scroll;
}
}

/* Parallax with JS enhancement - when JS adds parallax-active class */
.fc-hero--parallax.parallax-active {
background-attachment: scroll;
}

.fc-hero--parallax.parallax-active::before {
content: '';
position: absolute;
top: -20%;
left: 0;
width: 100%;
height: 140%;
background-image: inherit;
background-size: cover;
background-position: center center;
z-index: 0;
will-change: transform;
}

.fc-hero--parallax.parallax-active .fc-hero__overlay {
z-index: 1;
}

.fc-hero--parallax.parallax-active .fc-hero__content {
z-index: 2;
}

/* ======================================== 
   Ken Burns Effect
   ======================================== */
.fc-hero--ken-burns {
overflow: hidden;
}

/* Ken Burns 背景層 */
.fc-hero--ken-burns::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: inherit;
background-size: cover;
background-position: center;
z-index: 0;
}

/* Zoom In */
.fc-hero--ken-burns-zoom-in::before {
animation: kenBurnsZoomIn var(--kb-duration, 20s) ease-out forwards;
}

@keyframes kenBurnsZoomIn {
from { transform: scale(1); }
to { transform: scale(1.2); }
}

/* Zoom Out */
.fc-hero--ken-burns-zoom-out::before {
animation: kenBurnsZoomOut var(--kb-duration, 20s) ease-out forwards;
}

@keyframes kenBurnsZoomOut {
from { transform: scale(1.2); }
to { transform: scale(1); }
}

/* Pan Left */
.fc-hero--ken-burns-pan-left::before {
animation: kenBurnsPanLeft var(--kb-duration, 20s) ease-out forwards;
}

@keyframes kenBurnsPanLeft {
from { transform: scale(1.1) translateX(5%); }
to { transform: scale(1.1) translateX(-5%); }
}

/* Pan Right */
.fc-hero--ken-burns-pan-right::before {
animation: kenBurnsPanRight var(--kb-duration, 20s) ease-out forwards;
}

@keyframes kenBurnsPanRight {
from { transform: scale(1.1) translateX(-5%); }
to { transform: scale(1.1) translateX(5%); }
}

/* Ken Burns 覆蓋層/內容層級調整 */
.fc-hero--ken-burns .fc-hero__overlay {
z-index: 1;
}

.fc-hero--ken-burns .fc-hero__content {
z-index: 2;
}

.fc-hero--ken-burns .fc-hero__video {
z-index: 0;
}

/* 尊重減少動態偏好設定 */
@media (prefers-reduced-motion: reduce) {
.fc-hero--ken-burns::before {
animation: none !important;
}
}

/* =========================================================================
   RWD - Mobile Responsive Styles
   ========================================================================= */
/* MOBILE RWD - See consolidated rules at lines 975-1206 */

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1180px) {
/* padding 由 container 控制 */

.fc-hero__title {
font-size: clamp(28px, 5vw, 44px);
}
}

/* =========================================================================
   Divider Shapes
   ========================================================================= */
.fc-divider {
position: absolute;
left: 0;
right: 0;
width: 100%;
overflow: hidden;
line-height: 0;
z-index: 3;
}

.fc-divider--top {
top: 0;
}

.fc-divider--bottom {
bottom: 0;
}

.fc-divider__svg {
display: block;
width: 100%;
height: auto;
}

.fc-divider__svg--flipped {
transform: scaleX(-1);
}

/* =========================================================================
   Logo Styles
   ========================================================================= */
.fc-hero__logo {
margin-bottom: var(--fc-spacing-md);
text-align: center;
}

.fc-hero__logo-img {
max-height: 80px;
width: auto;
display: inline-block;
}

@media (max-width: 767px) {
.fc-hero__logo-img {
max-height: 60px;
}
}

/* =========================================================================
   Sponsor Styles
   ========================================================================= */
.fc-hero__sponsor {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: var(--fc-font-sm);
color: currentColor;
opacity: 0.9;
margin-bottom: var(--fc-spacing-sm);
text-decoration: none;
background: rgba(200, 0, 0, 0.8);
color: #fff;
padding: 4px 12px;
border-radius: 3px;
font-weight: 500;
}

a.fc-hero__sponsor:hover {
background: rgba(220, 0, 0, 1);
opacity: 1;
}

/* =========================================================================
   CTA Button Styles
   ========================================================================= */
.fc-hero__cta {
margin-top: var(--fc-spacing-lg);
text-align: center;
}

.fc-hero__cta-btn {
display: inline-block;
padding: 14px 32px;
font-size: var(--fc-font-md);
font-weight: 600;
text-decoration: none;
border-radius: 6px;
transition: all 0.3s ease;
cursor: pointer;
}

/* Primary: 填滿樣式 */
.fc-hero__cta-btn--primary {
background: #005bac;
color: #fff;
border: 2px solid #005bac;
}

.fc-hero__cta-btn--primary:hover {
background: #004990;
border-color: #004990;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 91, 172, 0.3);
}

/* Secondary: 邊框樣式 */
.fc-hero__cta-btn--secondary {
background: transparent;
color: #fff;
border: 2px solid #fff;
}

.fc-hero__cta-btn--secondary:hover {
background: #fff;
color: #1a3a5c;
transform: translateY(-2px);
}

/* Ghost: 透明樣式 */
.fc-hero__cta-btn--ghost {
background: rgba(255, 255, 255, 0.15);
color: #fff;
border: none;
backdrop-filter: blur(5px);
}

.fc-hero__cta-btn--ghost:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
}

/* Link: 文字連結 */
.fc-hero__cta-btn--link {
background: transparent;
color: #fff;
border: none;
padding: 8px 0;
text-decoration: underline;
text-underline-offset: 4px;
}

.fc-hero__cta-btn--link:hover {
opacity: 0.8;
}

/* CTA Button RWD */
@media (max-width: 767px) {
.fc-hero__cta-btn {
padding: 12px 24px;
font-size: clamp(14px, 3.5vw, 16px);
}
}

/* =========================================================================
   Logo Position Styles
   ========================================================================= */

/* Default: above-title - Logo 在標題上方 */
.fc-hero__logo--pos-above-title {
order: -2;
margin-bottom: var(--fc-spacing-md);
}

/* below-title - Logo 在標題下方 */
.fc-hero__logo--pos-below-title {
order: 2;
margin-top: var(--fc-spacing-md);
margin-bottom: var(--fc-spacing-sm);
}

/* above-tagline - Logo 在標語上方 */
.fc-hero__logo--pos-above-tagline {
order: -1;
margin-bottom: var(--fc-spacing-sm);
}

/* in-corner - Logo 在角落 */
.fc-hero__logo--pos-in-corner {
position: absolute;
top: 20px;
left: 20px;
margin: 0;
z-index: 10;
}

/* =========================================================================
   Logo Size Styles
   ========================================================================= */

/* Small: 40px */
.fc-hero__logo--size-small .fc-hero__logo-img {
max-height: 40px;
width: auto;
}

/* Medium: 80px (default) */
.fc-hero__logo--size-medium .fc-hero__logo-img {
max-height: 80px;
width: auto;
}

/* Large: 120px */
.fc-hero__logo--size-large .fc-hero__logo-img {
max-height: 120px;
width: auto;
}

/* Full: 自適應最大寬度 */
.fc-hero__logo--size-full .fc-hero__logo-img {
max-height: none;
max-width: 100%;
width: auto;
height: auto;
}

/* =========================================================================
   Logo RWD Adjustments
   ========================================================================= */
@media (max-width: 767px) {
.fc-hero__logo--size-small .fc-hero__logo-img {
max-height: 30px;
}

.fc-hero__logo--size-medium .fc-hero__logo-img {
max-height: 60px;
}

.fc-hero__logo--size-large .fc-hero__logo-img {
max-height: 80px;
}

.fc-hero__logo--pos-in-corner {
top: 10px;
left: 10px;
}
}

/* =========================================================================
   FC-HERO Title RWD Enhancement (強化標題響應式)
   ========================================================================= */

/* 平板版 */
@media (max-width: 1180px) {
.fc-hero__title {
font-size: clamp(28px, 4.5vw, 48px);
}
}

/* 手機版 */
@media (max-width: 767px) {
.fc-hero__title {
font-size: clamp(20px, 5vw, 32px) !important;
line-height: 1.3;
}

.fc-hero__tagline {
font-size: 12px;
letter-spacing: 1px;
}

.fc-hero__subtitle,
.fc-hero__subtitle2 {
font-size: clamp(12px, 3.5vw, 16px) !important;
}

/* 標題樣式變體的手機版調整 */
.fc-hero__title--boxed,
.fc-hero__title--solid-bg,
.fc-hero__title--blur-bg,
.fc-hero__title--gradient-bg {
padding: 8px 16px;
}

.fc-hero__title--ribbon {
padding: 8px 24px;
}

.fc-hero__title--bracket {
padding: 0 20px;
}

/* 容器內容間距調整 */
.fc-hero__container {
padding: var(--fc-spacing-lg) var(--fc-spacing-md);
}
}

/* 小手機版 */
@media (max-width: 480px) {
.fc-hero__title {
font-size: clamp(18px, 6vw, 26px) !important;
}

.fc-hero__subtitle,
.fc-hero__subtitle2 {
font-size: clamp(11px, 3vw, 14px) !important;
}
}






/* === cta.css === */
/* ==========================================================================
   Feature Content - CTA Block
   ========================================================================== */

.fc-cta {
    --fc-cta-accent: #2563eb;
    --fc-cta-bg: #102a43;
    --fc-cta-text: #ffffff;
    --fc-cta-muted: color-mix(in srgb, var(--fc-cta-text) 78%, transparent);
    --fc-cta-border: color-mix(in srgb, var(--fc-cta-accent) 28%, transparent);
    --fc-cta-shadow: 0 22px 60px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--fc-cta-border);
    border-radius: 28px;
    background: var(--fc-cta-bg);
    color: var(--fc-cta-text);
    text-align: center;
    box-shadow: var(--fc-cta-shadow);
    isolation: isolate;
}

.fc-cta::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -18%;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, color-mix(in srgb, var(--fc-cta-accent) 35%, transparent), transparent 68%);
    pointer-events: none;
}

.fc-cta.fc-width-custom {
    max-width: var(--fc-cta-custom-width, 800px);
    margin-left: auto;
    margin-right: auto;
}

.fc-cta__inner {
    display: grid;
    gap: 22px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.fc-cta--align-left {
    text-align: left;
}

.fc-cta--align-left .fc-cta__inner {
    margin-left: 0;
}

.fc-cta__content,
.fc-cta__action-panel {
    min-width: 0;
}

.fc-cta__meta-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.fc-cta--align-left .fc-cta__meta-row {
    justify-content: flex-start;
}

.fc-cta__eyebrow,
.fc-cta__sponsor {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--fc-cta-accent) 16%, transparent);
    color: var(--fc-cta-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fc-cta__sponsor {
    background: color-mix(in srgb, #f59e0b 20%, transparent);
}

.fc-cta__title {
    margin: 0;
    color: var(--fc-cta-text);
    font-size: clamp(1.55rem, 1.12rem + 2vw, 2.85rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.14;
}

.fc-cta__desc {
    max-width: 68ch;
    margin: 12px auto 0;
    color: var(--fc-cta-muted);
    font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
    line-height: 1.8;
}

.fc-cta--align-left .fc-cta__desc {
    margin-left: 0;
}

.fc-cta__note {
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
    padding: 9px 12px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--fc-cta-text) 10%, transparent);
    color: var(--fc-cta-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.fc-cta--align-left .fc-cta__note {
    margin-left: 0;
}

.fc-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.fc-cta--align-left .fc-cta__buttons {
    justify-content: flex-start;
}

.fc-cta__button {
    --fc-cta-button-bg: #ffffff;
    --fc-cta-button-text: #102a43;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--fc-cta-button-bg);
    color: var(--fc-cta-button-text);
    font-size: 0.98rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.fc-cta__button:hover,
.fc-cta__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.22);
    text-decoration: none;
}

.fc-cta__button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--fc-cta-accent) 48%, #ffffff);
    outline-offset: 3px;
}

.fc-cta__button-icon {
    display: inline-flex;
    line-height: 1;
}

.fc-cta__button--primary {
    --fc-cta-button-bg: #ffffff;
    --fc-cta-button-text: #102a43;
}

.fc-cta__button--secondary {
    --fc-cta-button-bg: color-mix(in srgb, var(--fc-cta-text) 16%, transparent);
    --fc-cta-button-text: var(--fc-cta-text);
    border-color: color-mix(in srgb, var(--fc-cta-text) 18%, transparent);
    box-shadow: none;
}

.fc-cta__button--outline,
.fc-cta__button--ghost {
    --fc-cta-button-bg: transparent;
    --fc-cta-button-text: var(--fc-cta-text);
    border-color: color-mix(in srgb, currentColor 48%, transparent);
    box-shadow: none;
}

.fc-cta__button--ghost {
    background: color-mix(in srgb, var(--fc-cta-text) 9%, transparent);
    border-color: transparent;
}

.fc-cta__button--link {
    --fc-cta-button-bg: transparent;
    --fc-cta-button-text: var(--fc-cta-text);
    min-height: auto;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.fc-cta__trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.fc-cta--align-left .fc-cta__trust-badges {
    justify-content: flex-start;
}

.fc-cta__trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fc-cta-text) 10%, transparent);
    color: var(--fc-cta-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.fc-cta__trust-badge::before {
    content: "✓";
    margin-right: 6px;
    color: var(--fc-cta-accent);
    font-weight: 900;
}

.fc-cta__social-proof {
    margin-top: 12px;
    color: var(--fc-cta-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Visual styles */
.fc-cta--primary {
    --fc-cta-bg: linear-gradient(135deg, #102a43 0%, #1d4ed8 100%);
    --fc-cta-accent: #93c5fd;
}

.fc-cta--secondary {
    --fc-cta-bg: #f8fafc;
    --fc-cta-text: #172033;
    --fc-cta-accent: #2563eb;
    border-color: #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.fc-cta--secondary .fc-cta__button--primary,
.fc-cta--minimal .fc-cta__button--primary,
.fc-cta--editorial .fc-cta__button--primary {
    --fc-cta-button-bg: var(--fc-cta-accent);
    --fc-cta-button-text: #ffffff;
}

.fc-cta--secondary .fc-cta__button--secondary,
.fc-cta--minimal .fc-cta__button--secondary,
.fc-cta--editorial .fc-cta__button--secondary {
    --fc-cta-button-bg: #ffffff;
    --fc-cta-button-text: #172033;
    border-color: #dbe3ef;
}

.fc-cta--secondary .fc-cta__button--outline,
.fc-cta--minimal .fc-cta__button--outline,
.fc-cta--editorial .fc-cta__button--outline,
.fc-cta--secondary .fc-cta__button--ghost,
.fc-cta--minimal .fc-cta__button--ghost,
.fc-cta--editorial .fc-cta__button--ghost,
.fc-cta--secondary .fc-cta__button--link,
.fc-cta--minimal .fc-cta__button--link,
.fc-cta--editorial .fc-cta__button--link {
    --fc-cta-button-text: #172033;
}

.fc-cta--gradient {
    --fc-cta-bg: linear-gradient(135deg, #0f766e 0%, #2563eb 52%, #7c3aed 100%);
    --fc-cta-accent: #fef08a;
}

.fc-cta--dark {
    --fc-cta-bg: #0f172a;
    --fc-cta-text: #f8fafc;
    --fc-cta-accent: #38bdf8;
}

.fc-cta--glass {
    --fc-cta-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.6));
    --fc-cta-text: #ffffff;
    --fc-cta-accent: #a7f3d0;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(18px);
}

.fc-cta--editorial {
    --fc-cta-bg: #fffaf0;
    --fc-cta-text: #2a1f14;
    --fc-cta-accent: #c2410c;
    border-color: color-mix(in srgb, var(--fc-cta-accent) 28%, #f8e7d2);
    box-shadow: 0 18px 42px rgba(124, 45, 18, 0.12);
}

.fc-cta--editorial::before {
    width: 220px;
    height: 220px;
}

.fc-cta--minimal {
    --fc-cta-bg: transparent;
    --fc-cta-text: #172033;
    --fc-cta-accent: #2563eb;
    border-style: dashed;
    border-color: color-mix(in srgb, var(--fc-cta-accent) 32%, #dbe3ef);
    box-shadow: none;
}

.fc-cta--banner {
    border-radius: 0;
    box-shadow: none;
}

.fc-cta--split {
    --fc-cta-bg: #f8fafc;
    --fc-cta-text: #172033;
    --fc-cta-accent: #0f766e;
}

/* Layouts */
.fc-cta--layout-split .fc-cta__inner,
.fc-cta--split .fc-cta__inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    text-align: left;
}

.fc-cta--layout-split .fc-cta__buttons,
.fc-cta--split .fc-cta__buttons,
.fc-cta--layout-split .fc-cta__trust-badges,
.fc-cta--split .fc-cta__trust-badges {
    justify-content: flex-start;
}

.fc-cta--layout-inline .fc-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    text-align: left;
}

.fc-cta--layout-inline .fc-cta__buttons,
.fc-cta--layout-inline .fc-cta__trust-badges {
    justify-content: flex-end;
}

.fc-cta--layout-compact {
    padding: 20px 22px;
    border-radius: 18px;
}

.fc-cta--layout-compact .fc-cta__inner {
    gap: 14px;
}

.fc-cta--layout-compact .fc-cta__title {
    font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem);
}

.fc-cta--layout-compact .fc-cta__desc {
    margin-top: 6px;
    font-size: 0.95rem;
}

/* Legacy / extended aliases retained for old content. */
.fc-cta.fc-theme-blue {
    --fc-cta-bg: linear-gradient(135deg, #005bac 0%, #0277bd 100%);
}

.fc-cta.fc-theme-green {
    --fc-cta-bg: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
}

.fc-cta.fc-theme-purple {
    --fc-cta-bg: linear-gradient(135deg, #7b1fa2 0%, #8e24aa 100%);
}

.fc-cta[data-variant="a"],
.fc-cta[data-variant="b"],
.fc-cta[data-tracking-id] {
    visibility: inherit;
}

/* Button Animations */
.fc-cta__button--anim-pulse {
    animation: fc-btn-pulse 2s infinite;
}

@keyframes fc-btn-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.16); }
    50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.24); }
}

.fc-cta__button--anim-shine {
    position: relative;
    overflow: hidden;
}

.fc-cta__button--anim-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: fc-btn-shine 3s infinite;
}

@keyframes fc-btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.fc-cta__button--anim-bounce {
    animation: fc-btn-bounce 2s infinite;
}

@keyframes fc-btn-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.fc-cta__button--anim-shake:hover {
    animation: fc-btn-shake 0.5s;
}

@keyframes fc-btn-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.fc-cta__button--anim-glow {
    animation: fc-btn-glow 2s infinite;
}

@keyframes fc-btn-glow {
    0%, 100% { box-shadow: 0 0 8px color-mix(in srgb, var(--fc-cta-accent) 36%, transparent); }
    50% { box-shadow: 0 0 28px color-mix(in srgb, var(--fc-cta-accent) 56%, transparent); }
}

.fc-cta__button--anim-arrow::after {
    content: "→";
    transition: transform 0.2s ease;
}

.fc-cta__button--anim-arrow:hover::after,
.fc-cta__button--anim-arrow:focus-visible::after {
    transform: translateX(4px);
}

.fc-cta__button--anim-ripple {
    overflow: hidden;
}

.fc-cta__button--anim-ripple::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.fc-cta__button--anim-ripple:hover::before {
    width: 300px;
    height: 300px;
}

.fc-cta__preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fc-cta__color-input {
    width: 100%;
    height: 40px;
}

@media (max-width: 820px) {
    .fc-cta--layout-split .fc-cta__inner,
    .fc-cta--split .fc-cta__inner,
    .fc-cta--layout-inline .fc-cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fc-cta--layout-split .fc-cta__buttons,
    .fc-cta--split .fc-cta__buttons,
    .fc-cta--layout-inline .fc-cta__buttons,
    .fc-cta--layout-split .fc-cta__trust-badges,
    .fc-cta--split .fc-cta__trust-badges,
    .fc-cta--layout-inline .fc-cta__trust-badges {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .fc-cta {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .fc-cta__buttons,
    .fc-cta__button {
        width: 100%;
    }

    .fc-cta__button {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fc-cta__button,
    .fc-cta__button::before,
    .fc-cta__button::after {
        animation: none !important;
        transition: none !important;
    }
}


/* === place-info.css === */
/**
 * fc/place-info - 統一地點資訊卡
 * 整合基本資訊、餐飲、營業時間、交通、連結、地圖
 * 
 * ⚠️ 此檔案已拆分為子模組，保留此檔案僅供向後相容
 * 建議使用按需載入模式以優化效能
 * 
 * 子模組位置: ./place-info/
 *  - _base.css         基礎容器與標題
 *  - _dining.css       餐飲資訊
 *  - _facilities.css   設施與便利設施
 *  - _hours.css        營業時間
 *  - _transport.css    交通資訊
 *  - _links.css        連結與社群
 *  - _gallery.css      圖片庫佈局
 *  - _rwd.css          響應式設計
 */


/* === IMPORT place-info/index.css === */
/**
 * Place Info Block CSS - Index File
 * 地點資訊區塊樣式 - 彙整匯入檔
 */


/* === IMPORT _base.css === */
/**
 * fc/place-info - 統一地點資訊卡
 * 整合基本資訊、餐飲、營業時間、交通、連結、地圖
 */

/* Base Container */
.fc-place-info {
/* Unified font size variables */
--fc-font-size-xs: 0.8rem;
--fc-font-size-sm: 0.85rem;
--fc-font-size-base: 0.9rem;
--fc-font-size-lg: 1rem;

/* display: flex; -> Moved to wrapper */
/* gap: 0.5rem; -> Moved to wrapper */
background: #fff;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0,0,0,0.1);
overflow: hidden;
margin: 1.5rem 0;
font-size: var(--fc-font-size-base);
max-width: 100%;
box-sizing: border-box;
}

/* 關閉陰影 */
.fc-place-info.fc-place-info--no-shadow {
box-shadow: none;
border: 1px solid #e5e7eb;
}

.fc-place-info__wrapper {
display: flex;
gap: 0.5rem;
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
}

.fc-place-info__wrapper > * {
min-width: 0;
box-sizing: border-box;
}

/* Specificity boost to override .fc-block reset */
.fc-place-info.fc-block {
    margin: 1.5rem 4px; /* Add horizontal margin to prevent shadow clipping */
    width: auto;
}

.fc-place-info__image {
flex-shrink: 0;
width: 280px;
max-width: 100%;
overflow: hidden;
border-radius: 12px 0 0 12px;
}

.fc-place-info__image img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
background-color: #f5f5f5;
}

.fc-place-info__content {
flex: 1;
min-width: 0; /* Prevent flex item from overflowing container */
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
}

/* Header */
.fc-place-info__header {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.fc-place-info__category {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.25rem 0.75rem;
background: var(--fc-primary-color, #005bac);
color: #fff;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 500;
width: fit-content;
}

.fc-place-info__name {
margin: 0 !important;
font-size: 1.5rem;
font-weight: 700;
color: #1a1a2e;
}

.fc-place-info__share-panel[hidden] {
display: none !important;
}

.fc-place-info__share-panel {
padding-top: 0.85rem;
border-top: 1px solid #eee;
}

.fc-place-info__share-panel .isb-container {
justify-content: center;
}

.fc-place-info__share-panel .isb-btn {
flex: 0 0 auto;
}

.fc-place-info__desc {
color: #555;
font-size: 0.95rem;
line-height: 1.6;
margin: 0;
}

/* Header Meta (inline status + rating after title) */
.fc-place-info__header-meta {
display: flex;
align-items: center;
gap: 0.75rem;
margin-top: 0.25rem;
font-size: 0.85rem;
}

/* Dining Module (refactored with section title) */
.fc-place-info__dining-module {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__dining-module .fc-place-info__section-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 600;
color: #333;
margin-bottom: 0.75rem;
}

.fc-place-info__dining-module .fc-place-info__section-title i {
color: var(--fc-primary-color, #005bac);
}

.fc-place-info__dining-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem;
background: #f8f9fa;
border-radius: 8px;
}

.fc-place-info__dining-row {
display: flex;
align-items: center;
gap: 1rem;
}

.fc-place-info__dining-label {
min-width: 20px;
color: #666;
font-size: 0.85rem;
}

.fc-place-info__cuisine {
background: #f0f9ff;
color: var(--fc-primary-color, #005bac);
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
}

.fc-place-info__rating {
color: #f59e0b;
font-weight: 600;
}

.fc-place-info__price {
color: #22c55e;
font-weight: 600;
}

/* Legacy dining display (for backwards compatibility) */
.fc-place-info__dining {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

/* Contact Info */
.fc-place-info__info {
display: flex;
flex-direction: column;
gap: 0.5rem;
color: #666;
font-size: 0.9rem;
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__info i {
width: 20px;
color: var(--fc-primary-color, #005bac);
}

/* Social Links in Basic Info */
.fc-place-info__info-social {
display: flex;
gap: 0.75rem;
margin-top: 0.5rem;
padding-top: 0.5rem;
border-top: 1px solid #f0f0f0;
}

.fc-place-info__social-icon {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
background: #f5f5f5;
color: #666;
font-size: 1rem;
transition: all 0.2s ease;
}

.fc-place-info__social-icon:hover {
background: var(--fc-primary-color, #005bac);
color: #fff;
transform: translateY(-2px);
}

.fc-place-info__social-icon[title="Facebook"]:hover { background: #1877f2; }
.fc-place-info__social-icon[title="Instagram"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fc-place-info__social-icon[title="LINE"]:hover { background: #06c755; }

/* Section Title (unified) */
.fc-place-info__section-title {
font-weight: 600;
font-size: 0.95rem;
color: #333;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

.fc-place-info__section-title i {
color: var(--fc-primary-color, #005bac);
}

/* Hours Section */
.fc-place-info__hours {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__hours-list {
display: flex;
flex-direction: column;
gap: 0.25rem;
background: #f8f9fa;
border-radius: 6px;
padding: 0.5rem 0.75rem;
}

.fc-place-info__hours-row {
display: flex;
align-items: center;
padding: 0.35rem 0;
font-size: 0.9rem;
border-bottom: 1px dashed #e9ecef;
}

.fc-place-info__hours-row:last-child {
border-bottom: none;
}

.fc-place-info__hours-day {
flex: 0 0 60px;
font-weight: 500;
color: #555;
}

.fc-place-info__hours-time {
flex: 1;
text-align: left;
color: #333;
}

.fc-place-info__hours-row.is-closed {
color: #999;
}

.fc-place-info__hours-row.is-closed .fc-place-info__hours-day,
.fc-place-info__hours-row.is-closed .fc-place-info__hours-time {
color: #999;
}

.fc-place-info__hours-note {
margin-top: 0.5rem;
padding: 0.5rem 0.75rem;
background: #fff3cd;
border-radius: 4px;
font-size: 0.85rem;
color: #856404;
}

/* Reservation Display */
.fc-place-info__reservation {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.5rem;
padding: 0.6rem 0.75rem;
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
border-radius: 6px;
font-size: 0.9rem;
order: 10; /* Ensure reservation appears after other info items */
}

.fc-place-info__reservation i {
color: #1565c0;
width: 20px;
}

.fc-place-info__reservation a {
color: #1565c0;
font-weight: 500;
text-decoration: none;
}

.fc-place-info__reservation a:hover {
text-decoration: underline;
}

/* Reservation Module (standalone sortable module) */
.fc-place-info__reservation-module {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__reservation-module .fc-place-info__section-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-weight: 600;
color: #333;
margin-bottom: 0.75rem;
}

.fc-place-info__reservation-module .fc-place-info__section-title i {
color: #1565c0;
}

.fc-place-info__reservation-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem;
background: #f8f9fa;
border-radius: 8px;
}

.fc-place-info__reservation-method {
font-weight: 500;
color: #1a1a2e;
}

.fc-place-info__reservation-link {
color: var(--fc-primary-color, #1565c0);
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
}

.fc-place-info__reservation-link:hover {
text-decoration: underline;
color: #0d47a1;
}

.fc-place-info__reservation-phone {
display: flex;
align-items: center;
gap: 0.5rem;
color: #1565c0;
}

.fc-place-info__reservation-phone i {
width: 18px;
}

.fc-place-info__reservation-phone a {
color: #1565c0;
text-decoration: none;
font-weight: 500;
}

.fc-place-info__reservation-phone a:hover {
text-decoration: underline;
}

.fc-place-info__reservation-note {
font-size: 0.85rem;
color: #666;
font-style: italic;
padding-top: 0.5rem;
/*border-top: 1px dashed rgba(0,0,0,0.1);*/
}

/* Multiple reservation methods row */
.fc-place-info__reservation-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.75rem;
padding: 0.5rem 0;
}

.fc-place-info__reservation-row:not(:last-child) {
border-bottom: 1px dashed #e9ecef;
}

.fc-place-info__reservation-row .fc-place-info__reservation-method {
display: flex;
align-items: center;
gap: 0.5rem;
}

.fc-place-info__reservation-row .fc-place-info__reservation-method i {
width: 20px;
text-align: center;
color: #1565c0;
}

.fc-place-info__reservation-row .fc-place-info__reservation-phone a {
color: var(--fc-primary-color, #1565c0);
}

.fc-place-info__reservation-separator {
color: #999;
margin: 0 0.35rem;
}

/* Travel Section */
.fc-place-info__travel {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__travel-list {
margin-top: 0.5rem;
}

.fc-place-info__travel-item {
display: flex;
align-items: center;
padding: 0.75rem 0;
border-bottom: 1px dashed #eee;
}

.fc-place-info__travel-item:last-child {
border-bottom: none;
}

.fc-place-info__travel-icon {
width: 36px;
height: 36px;
background: var(--fc-primary-color, #005bac);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-right: 0.75rem;
font-size: 1.1rem;
}

.fc-place-info__travel-content {
flex: 1;
}

.fc-place-info__travel-label {
font-size: 0.95rem;
line-height: 1.4;
}
.fc-place-info__travel-label strong {
color: #333;
margin-right: 0.25rem;
}

.fc-place-info__travel-badge {
display: inline-flex;
align-items: center;
max-width: 100%;
padding: 0.15rem 0.5rem;
margin-right: 0.25rem;
border: 1px solid #d7dee8;
border-radius: 999px;
background: #eef2f7;
color: #334155;
font-size: 0.82em;
font-weight: 700;
line-height: 1.25;
vertical-align: middle;
overflow-wrap: anywhere;
}

.fc-place-info__travel-badge--colored {
border-color: transparent;
}

.fc-place-info__travel-station {
overflow-wrap: anywhere;
}

.fc-place-info__travel-meta {
display: flex;
gap: 1rem;
margin-top: 0.25rem;
font-size: 0.85rem;
color: #666;
}

/* Links Section */
.fc-place-info__links {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__link {
display: inline-flex;
align-items: center;
gap: 0.5rem;
max-width: 100%;
min-height: 36px;
padding: 0.5rem 1rem;
background: #f5f5f5;
border-radius: 6px;
color: #333;
text-decoration: none;
font-size: 0.9rem;
line-height: 1.35;
overflow-wrap: anywhere;
transition: all 0.2s;
}

.fc-place-info__link i {
flex: 0 0 1.1em;
text-align: center;
}

.fc-place-info__link:hover {
background: var(--fc-primary-color, #005bac);
color: #fff;
}

.fc-place-info__link-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
background: #eee;
}

.fc-place-info__status-inline {
display: flex;
align-items: center;
font-weight: 500;
}

.fc-place-info__rating-inline {
display: flex;
align-items: center;
color: #333;
font-weight: 500;
}
.fc-place-info__map {
margin-top: 0.75rem;
border-radius: 8px;
overflow: hidden;
position: relative;
background: #f5f5f5;
}

.fc-place-info__map iframe {
display: block;
width: 100%;
min-height: 200px;
max-height: 400px;
border: 0;
}

/* Map responsive container - padding-bottom set via inline style for dynamic aspect ratio */
.fc-place-info__map--rwd {
position: relative;
width: 100%;
height: 0;
overflow: hidden;
}

.fc-place-info__map--rwd iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
min-height: auto;
max-height: none;
}

.fc-place-info__map-preview {
padding: 1rem;
background: #f0f9ff;
border-radius: 8px;
color: var(--fc-primary-color, #005bac);
text-align: center;
}

/* Layout: Vertical */
.fc-place-info--vertical {
flex-direction: column;
}

.fc-place-info--vertical .fc-place-info__image {
width: 100%;
height: 200px;
}

/* Layout: Compact */
.fc-place-info--compact {
padding: 1rem;
}

.fc-place-info--compact .fc-place-info__image {
width: 100px;
height: 100px;
border-radius: 8px;
}

.fc-place-info--compact .fc-place-info__name {
font-size: 1.1rem;
}

/* Style: Card */
.fc-place-info--card {
border: 1px solid #e0e0e0;
}

/* Style: Dark */
.fc-place-info--dark {
background: #1a1a2e;
}

.fc-place-info--dark .fc-place-info__name {
color: #fff;
}

.fc-place-info--dark .fc-place-info__desc,
.fc-place-info--dark .fc-place-info__info {
color: #aaa;
}

.fc-place-info--dark .fc-place-info__dining,
.fc-place-info--dark .fc-place-info__hours,
.fc-place-info--dark .fc-place-info__travel,
.fc-place-info--dark .fc-place-info__links {
border-color: #333;
}

/* Style: Gradient */
.fc-place-info--gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.fc-place-info--gradient .fc-place-info__name,
.fc-place-info--gradient .fc-place-info__desc,
.fc-place-info--gradient .fc-place-info__info {
color: #fff;
}

.fc-place-info--gradient .fc-place-info__category {
background: rgba(255,255,255,0.25);
}

.fc-place-info--gradient .fc-place-info__dining,
.fc-place-info--gradient .fc-place-info__hours,
.fc-place-info--gradient .fc-place-info__travel,
.fc-place-info--gradient .fc-place-info__links {
border-color: rgba(255,255,255,0.2);
}

/* Style: Minimal */
.fc-place-info--minimal {
background: transparent;
box-shadow: none;
border-bottom: 1px solid #e0e0e0;
border-radius: 0;
}

/* Style: Neon */
.fc-place-info--neon {
background: #0a0a0a;
border: 2px solid #00f5ff;
box-shadow: 0 0 25px rgba(0,245,255,0.3);
}

.fc-place-info--neon .fc-place-info__name {
color: #fff;
text-shadow: 0 0 10px rgba(0,245,255,0.5);
}

.fc-place-info--neon .fc-place-info__category {
background: transparent;
border: 1px solid #00f5ff;
color: #00f5ff;
}

.fc-place-info--neon .fc-place-info__desc,
.fc-place-info--neon .fc-place-info__info {
color: rgba(255,255,255,0.8);
}

/* Style: Glass (玻璃) */
.fc-place-info--glass {
background: rgba(255,255,255,0.2);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255,255,255,0.3);
box-shadow: 0 8px 32px rgba(31,38,135,0.15);
}

.fc-place-info--glass .fc-place-info__category {
background: rgba(0,91,172,0.6);
}

/* Style: Shadow (陰影) */
.fc-place-info--shadow {
background: #fff;
box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 25px rgba(0,0,0,0.1);
border-radius: 16px;
}

.fc-place-info--shadow:hover {
box-shadow: 0 25px 70px rgba(0,0,0,0.2), 0 10px 30px rgba(0,0,0,0.12);
transform: translateY(-2px);
transition: all 0.3s ease;
}

/* Style: Bordered (邊框) */
.fc-place-info--bordered {
background: #fff;
border: 3px solid #1a1a2e;
box-shadow: 8px 8px 0 #1a1a2e;
border-radius: 0;
}

.fc-place-info--bordered .fc-place-info__category {
border-radius: 0;
background: #1a1a2e;
}

/* Style: Rounded (圓角) */
.fc-place-info--rounded {
background: #f8fafc;
border-radius: 24px;
padding: 0.5rem;
}

.fc-place-info--rounded .fc-place-info__image {
border-radius: 20px;
overflow: hidden;
}

.fc-place-info--rounded .fc-place-info__content {
padding: 1rem 1.25rem;
}

/* Style: Japanese (日式) */
.fc-place-info--japanese {
background: #fffef7;
border: 1px solid #e8e0d0;
border-radius: 4px;
box-shadow: 3px 3px 0 #d4c9b0;
position: relative;
}

.fc-place-info--japanese::before {
content: '';
position: absolute;
top: 8px;
left: 8px;
right: 8px;
bottom: 8px;
border: 1px solid #c9a;
pointer-events: none;
}

.fc-place-info--japanese .fc-place-info__category {
background: #c44;
border-radius: 0;
font-family: serif;
}

.fc-place-info--japanese .fc-place-info__name {
font-family: 'Noto Serif JP', 'Yu Mincho', serif;
color: #2d2d2d;
}

.fc-place-info--japanese .fc-place-info__dining,
.fc-place-info--japanese .fc-place-info__hours,
.fc-place-info--japanese .fc-place-info__travel,
.fc-place-info--japanese .fc-place-info__links {
border-color: #e8e0d0;
}

/* Style: Modern (摩登) */
.fc-place-info--modern {
background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
border-radius: 20px;
border: none;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
overflow: visible;
}

.fc-place-info--modern .fc-place-info__image {
border-radius: 16px;
margin: 12px;
overflow: hidden;
box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.fc-place-info--modern .fc-place-info__category {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.fc-place-info--modern .fc-place-info__link {
background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
border-radius: 12px;
}

.fc-place-info--modern .fc-place-info__link:hover {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

/* Category Colors */
.fc-place-info--cat-restaurant .fc-place-info__category { background: #e74c3c; }
.fc-place-info--cat-hotel .fc-place-info__category { background: #9b59b6; }
.fc-place-info--cat-shop .fc-place-info__category { background: #f39c12; }
/* Copy Button (Ported & Modified) */
.fc-copy-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px 8px;
margin-left: 6px;
background: transparent;
border: 1px solid #ddd;
border-radius: 4px;
color: #666;
cursor: pointer;
font-size: 0.85em;
transition: all 0.2s ease;
}

.fc-copy-btn:hover {
background: #f0f0f0;
border-color: #ccc;
color: #333;
}

/* Feedback: Show OK instead of Icon (Icon font may be missing) */
.fc-copy-btn.copied {
background: #4caf50;
border-color: #4caf50;
color: #fff;
}

.fc-copy-btn.copied i {
display: none;
}

.fc-copy-btn.copied::after {
content: "OK";
font-weight: 500;
font-size: 0.9em;
line-height: 1;
display: inline-block;
}
.fc-place-info--cat-shrine .fc-place-info__category { background: #dc2626; }
.fc-place-info--cat-temple .fc-place-info__category { background: #b45309; }
.fc-place-info--cat-park .fc-place-info__category { background: #16a34a; }
.fc-place-info--cat-beach .fc-place-info__category { background: #0891b2; }
.fc-place-info--cat-museum .fc-place-info__category { background: #7c3aed; }
.fc-place-info--cat-station .fc-place-info__category { background: #0284c7; }
.fc-place-info--cat-airport .fc-place-info__category { background: #4f46e5; }
.fc-place-info--cat-market .fc-place-info__category { background: #ea580c; }
.fc-place-info--cat-entertainment .fc-place-info__category { background: #db2777; }
.fc-place-info--cat-nature .fc-place-info__category { background: #059669; }

/* Responsive */
@media (max-width: 768px) {
.fc-place-info__wrapper {
flex-direction: column;
}

.fc-place-info__image {
width: 100%;
height: auto;
min-height: 180px;
max-height: 250px;
}

.fc-place-info__content {
padding: 1rem;
}

.fc-place-info__name {
font-size: 1.25rem;
}

.fc-place-info__travel-meta {
flex-direction: column;
gap: 0.25rem;
}

.fc-place-info__hours-row {
font-size: 0.85rem;
}

.fc-place-info__map iframe {
min-height: 180px;
}
}

@media (max-width: 480px) {
.fc-place-info__image {
max-height: 200px;
}

.fc-place-info__links {
flex-direction: column;
}

.fc-place-info__link {
width: 100%;
justify-content: center;
}
}

/* Map Info Row (Address, Copy, Link) */
.fc-place-info__map-info-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
font-size: 0.9rem;
color: #666;
}

.fc-place-info__map-info-row span {
color: #333;
}

.fc-place-info__copy-btn {
background: none;
border: none;
cursor: pointer;
color: #666;
padding: 2px 6px;
transition: color 0.2s;
}

.fc-place-info__copy-btn:hover {
color: var(--fc-primary-color, #005bac);
}

.fc-place-info__map-link {
color: var(--fc-primary-color, #005bac);
text-decoration: none;
margin-left: auto; /* Push to right? Or just inline */
}

.fc-place-info__map-link:hover {
text-decoration: underline;
}

/* Batch 1190: place info gallery layout hardening */
.fc-place-info__wrapper {
  align-items: stretch;
  flex-wrap: wrap;
}

.fc-place-info__wrapper > * {
  min-width: 0;
}

.fc-place-info__gallery--left,
.fc-place-info__gallery--right {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: min(100%, 380px);
  min-width: min(300px, 100%);
  align-self: stretch;
}

.fc-place-info__gallery--left {
  order: -1;
}

.fc-place-info__gallery--right {
  order: 2;
}

.fc-place-info__gallery--left .fc-place-info__gallery-main,
.fc-place-info__gallery--right .fc-place-info__gallery-main {
  min-height: 0;
}

.fc-place-info__gallery--left .fc-place-info__gallery-main img,
.fc-place-info__gallery--right .fc-place-info__gallery-main img {
  display: block;
  width: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
}

.fc-place-info__gallery--left .fc-place-info__gallery-thumbs,
.fc-place-info__gallery--right .fc-place-info__gallery-thumbs,
.fc-place-info__gallery:not(.fc-place-info__gallery--left):not(.fc-place-info__gallery--right) .fc-place-info__gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.fc-place-info__gallery:not(.fc-place-info__gallery--left):not(.fc-place-info__gallery--right) .fc-place-info__gallery-thumbs {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.fc-place-info__gallery--left .fc-place-info__gallery-thumb,
.fc-place-info__gallery--right .fc-place-info__gallery-thumb,
.fc-place-info__gallery:not(.fc-place-info__gallery--left):not(.fc-place-info__gallery--right) .fc-place-info__gallery-thumb {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 14px;
  background: transparent;
}

.fc-place-info__gallery--left .fc-place-info__gallery-thumb img,
.fc-place-info__gallery--right .fc-place-info__gallery-thumb img,
.fc-place-info__gallery:not(.fc-place-info__gallery--left):not(.fc-place-info__gallery--right) .fc-place-info__gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}

.fc-place-info__gallery-expand {
  margin-top: 0.55rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 0.8rem;
  row-gap: 0.45rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.82rem 0 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #0f172a;
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
}

.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle::-webkit-details-marker {
  display: none;
}

.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle::after {
  content: '展開';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 72px;
  padding: 0.52rem 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: #1e293b;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-place-info__gallery-expand[open] > .fc-place-info__gallery-expand-toggle {
  border-bottom: 0;
}

.fc-place-info__gallery-expand[open] > .fc-place-info__gallery-expand-toggle::after {
  content: '收合';
}

.fc-place-info__gallery-expand-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 0.52rem 0.98rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  font-size: 0.9rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-place-info__gallery-expand-count,
.fc-place-info__gallery-more-count,
.fc-place-info__gallery-expand strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 52px;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle:hover .fc-place-info__gallery-expand-label,
.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle:focus-visible .fc-place-info__gallery-expand-label,
.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle:hover::after,
.fc-place-info__gallery-expand > .fc-place-info__gallery-expand-toggle:focus-visible::after {
  border-color: rgba(0, 91, 172, 0.26);
  background: rgba(0, 91, 172, 0.1);
  color: var(--fc-primary-color, #005bac);
  box-shadow: 0 12px 28px rgba(0, 91, 172, 0.12);
  transform: translateY(-1px);
}

.fc-place-info__gallery-expand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.7rem;
  padding: 0.3rem 0 0;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.fc-place-info__gallery-expanded-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
}

.fc-place-info__gallery-expanded-link picture,
.fc-place-info__gallery-expanded-link img {
  display: block;
  width: 100%;
  height: 100%;
}

.fc-place-info__gallery-expanded-link img {
  object-fit: cover;
}

.fc-place-info__gallery-expand-content {
  padding: 0 1.1rem 1.1rem;
}

.fc-place-info__gallery-expand-content .fc-place-info__gallery-thumbs,
.fc-place-info__gallery-expand .fc-place-info__gallery-thumbs {
  padding-top: 0.1rem;
}

.fc-place-info-editor__gallery-manager,
.fc-place-info-editor-shell__workbench,
.fc-place-info--editor-preview {
  box-sizing: border-box;
}

.fc-place-info-editor__gallery-manager {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.fc-place-info-editor__gallery-help,
.fc-place-info-editor__gallery-summary,
.fc-place-info-editor__gallery-empty p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}

.fc-place-info-editor__gallery-toolbar,
.fc-place-info-editor__gallery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.fc-place-info-editor__gallery-toolbar {
  justify-content: space-between;
}

.fc-place-info-editor__gallery-actions {
  justify-content: flex-start;
}

.fc-place-info-editor__gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.8rem;
}

.fc-place-info-editor__gallery-tile {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 16px;
  background: #fff;
}

.fc-place-info-editor__gallery-thumb-shell {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #e2e8f0;
}

.fc-place-info-editor__gallery-thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fc-place-info-editor__gallery-order {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 1.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.fc-place-info-editor__gallery-tile-meta {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.fc-place-info-editor__gallery-tile-title,
.fc-place-info-editor__gallery-tile-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fc-place-info-editor__gallery-tile-title {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
}

.fc-place-info-editor__gallery-tile-subtitle {
  color: #64748b;
  font-size: 0.78rem;
}

.fc-place-info-editor__gallery-action,
.fc-place-info-editor__gallery-clear {
  min-height: 34px;
}

.fc-place-info-editor__gallery-action--danger {
  border-color: rgba(220, 38, 38, 0.28) !important;
  color: #b91c1c !important;
}

.fc-place-info-editor__gallery-empty {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.86);
  color: #334155;
}

.fc-place-info-editor-shell__workbench,
.fc-presentation-workbench--place-info .fc-presentation-workbench__workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.fc-place-info-editor-shell__tab.is-active,
.fc-presentation-workbench--place-info .fc-presentation-workbench__tab.is-active {
  border-color: rgba(0, 91, 172, 0.3);
  background: rgba(0, 91, 172, 0.08);
  color: #005bac;
}

.fc-place-info--editor-preview::before {
  content: "Place Info Preview";
  display: inline-flex;
  margin: 0 0 0.6rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .fc-place-info-editor-shell__workbench,
  .fc-presentation-workbench--place-info .fc-presentation-workbench__workbench {
    grid-template-columns: 1fr;
  }
}



/* === IMPORT _dining.css === */
/* =================================
   圖片位置設定
   ================================= */

/* 圖片位置: 左 (預設) */
.fc-place-info--img-pos-left,
.fc-place-info--img-pos-left .fc-place-info__wrapper {
flex-direction: row;
}

/* 圖片位置: 右 */
.fc-place-info--img-pos-right,
.fc-place-info--img-pos-right .fc-place-info__wrapper {
flex-direction: row-reverse;
}

/* 圖片位置: 上 */
.fc-place-info--img-pos-top,
.fc-place-info--img-pos-top .fc-place-info__wrapper {
flex-direction: column;
}

.fc-place-info--img-pos-top .fc-place-info__image {
width: 100%;
max-height: 280px;
}

/* 圖片位置: 下 */
.fc-place-info--img-pos-bottom,
.fc-place-info--img-pos-bottom .fc-place-info__wrapper {
flex-direction: column-reverse;
}

.fc-place-info--img-pos-bottom .fc-place-info__image {
width: 100%;
max-height: 280px;
}

/* 圖片位置: 覆蓋 (cover) */
.fc-place-info--img-pos-cover {
position: relative;
min-height: 320px;
}

.fc-place-info--img-pos-cover .fc-place-info__image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.fc-place-info--img-pos-cover .fc-place-info__image::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.fc-place-info--img-pos-cover .fc-place-info__content {
position: relative;
z-index: 2;
color: #fff;
justify-content: flex-end;
padding: 1.5rem;
}

.fc-place-info--img-pos-cover .fc-place-info__name {
color: #fff;
text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fc-place-info--img-pos-cover .fc-place-info__desc {
color: rgba(255,255,255,0.9);
}

.fc-place-info--img-pos-cover .fc-place-info__info {
color: rgba(255,255,255,0.85);
}

.fc-place-info--img-pos-cover .fc-place-info__info i {
color: rgba(255,255,255,0.9);
}



/* === IMPORT _facilities.css === */
/* =================================
   圖片尺寸設定
   ================================= */

/* 圖片尺寸: 小 */
.fc-place-info--img-size-small .fc-place-info__image {
width: 150px;
min-height: 120px;
max-height: 180px;
}

.fc-place-info--img-pos-top.fc-place-info--img-size-small .fc-place-info__image,
.fc-place-info--img-pos-bottom.fc-place-info--img-size-small .fc-place-info__image {
width: 100%;
max-height: 150px;
}

/* 圖片尺寸: 中 (預設) */
.fc-place-info--img-size-medium .fc-place-info__image {
width: 280px;
min-height: 200px;
max-height: 350px;
}

.fc-place-info--img-pos-top.fc-place-info--img-size-medium .fc-place-info__image,
.fc-place-info--img-pos-bottom.fc-place-info--img-size-medium .fc-place-info__image {
width: 100%;
max-height: 250px;
}

/* 圖片尺寸: 大 */
.fc-place-info--img-size-large .fc-place-info__image {
width: 380px;
min-height: 260px;
max-height: 450px;
}

.fc-place-info--img-pos-top.fc-place-info--img-size-large .fc-place-info__image,
.fc-place-info--img-pos-bottom.fc-place-info--img-size-large .fc-place-info__image {
width: 100%;
max-height: 350px;
}

/* 圖片尺寸: 滿版 */
.fc-place-info--img-size-full .fc-place-info__image {
flex: 1;
width: 50%;
min-height: 300px;
max-height: none;
}

.fc-place-info--img-pos-top.fc-place-info--img-size-full .fc-place-info__image,
.fc-place-info--img-pos-bottom.fc-place-info--img-size-full .fc-place-info__image {
width: 100%;
min-height: 350px;
max-height: 500px;
}

/* =================================
   圖片比例設定
   ================================= */

/* 比例: 1:1 正方形 */
.fc-place-info--img-ratio-1-1 .fc-place-info__image {
aspect-ratio: 1 / 1;
}

.fc-place-info--img-ratio-1-1 .fc-place-info__image img {
height: 100%;
}

/* 比例: 4:3 */
.fc-place-info--img-ratio-4-3 .fc-place-info__image {
aspect-ratio: 4 / 3;
}

.fc-place-info--img-ratio-4-3 .fc-place-info__image img {
height: 100%;
}

/* 比例: 16:9 寬螢幕 */
.fc-place-info--img-ratio-16-9 .fc-place-info__image {
aspect-ratio: 16 / 9;
}

.fc-place-info--img-ratio-16-9 .fc-place-info__image img {
height: 100%;
}

/* 比例: 3:2 */
.fc-place-info--img-ratio-3-2 .fc-place-info__image {
aspect-ratio: 3 / 2;
}

.fc-place-info--img-ratio-3-2 .fc-place-info__image img {
height: 100%;
}

/* 比例: auto 自動 */
.fc-place-info--img-ratio-auto .fc-place-info__image {
aspect-ratio: auto;
}

/* =================================
   圖片圓角設定
   ================================= */

/* 圓角: 無 */
.fc-place-info--img-radius-none .fc-place-info__image {
border-radius: 0;
}

.fc-place-info--img-radius-none .fc-place-info__image img {
border-radius: 0;
}

/* 圓角: 小 */
.fc-place-info--img-radius-small .fc-place-info__image {
border-radius: 4px;
overflow: hidden;
}

/* 圓角: 中 (預設) */
.fc-place-info--img-radius-medium .fc-place-info__image {
border-radius: 8px;
overflow: hidden;
}

/* 圓角: 大 */
.fc-place-info--img-radius-large .fc-place-info__image {
border-radius: 16px;
overflow: hidden;
}

/* 圓角: 圓形 (適合小尺寸) */
.fc-place-info--img-radius-round .fc-place-info__image {
border-radius: 50%;
overflow: hidden;
}




/* === IMPORT _hours.css === */
/* =================================
   卡片內距設定
   ================================= */

/* 內距: 緊湊 */
.fc-place-info--padding-compact .fc-place-info__content {
padding: 0.75rem;
}

.fc-place-info--padding-compact .fc-place-info__header {
gap: 0.25rem;
}

.fc-place-info--padding-compact .fc-place-info__name {
font-size: 1.2rem;
}

/* 內距: 正常 (預設) - 頂部畫廊或無畫廊時 */
.fc-place-info--padding-normal .fc-place-info__content {
padding: 2.25rem;
}

/* 畫廊在左側時：內容右邊需要padding（左邊靠近畫廊用gap） */
.fc-place-info--img-pos-left.fc-place-info--padding-normal .fc-place-info__content {
padding: 2.25rem 2.25rem 2.25rem 2.5rem;
}

/* 畫廊在右側時：內容左邊需要padding（右邊靠近畫廊用gap） */
.fc-place-info--img-pos-right.fc-place-info--padding-normal .fc-place-info__content {
padding: 2.25rem 0 2.25rem 2.25rem;
}

/* 內距: 寬敞 - 頂部畫廊或無畫廊時 */
.fc-place-info--padding-spacious .fc-place-info__content {
padding: 2.25rem;
}

/* 畫廊在左側時：寬敞內距 */
.fc-place-info--img-pos-left.fc-place-info--padding-spacious .fc-place-info__content {
padding: 2.25rem 2.25rem 2.25rem 0;
}

/* 畫廊在右側時：寬敞內距 */
.fc-place-info--img-pos-right.fc-place-info--padding-spacious .fc-place-info__content {
padding: 2.25rem 0 2.25rem 2.25rem;
}

.fc-place-info--padding-spacious .fc-place-info__header {
gap: 0.75rem;
}

.fc-place-info--padding-spacious .fc-place-info__name {
font-size: 1.75rem;
}




/* === IMPORT _transport.css === */
/* =================================
   卡片間距設定
   ================================= */

/* 間距: 緊湊 */
.fc-place-info--gap-compact {
gap: 0.5rem;
}

.fc-place-info--gap-compact .fc-place-info__content {
gap: 0.5rem;
}

.fc-place-info--gap-compact .fc-place-info__dining,
.fc-place-info--gap-compact .fc-place-info__hours,
.fc-place-info--gap-compact .fc-place-info__travel,
.fc-place-info--gap-compact .fc-place-info__links {
padding: 0.5rem 0;
gap: 0.4rem;
}

/* 間距: 正常 (預設) */
.fc-place-info--gap-normal {
gap: 0.5rem;
}

.fc-place-info--gap-normal .fc-place-info__content {
gap: 0.75rem;
}

/* 間距: 寬敞 */
.fc-place-info--gap-spacious {
gap: 2rem;
}

.fc-place-info--gap-spacious .fc-place-info__content {
gap: 1.25rem;
}

.fc-place-info--gap-spacious .fc-place-info__dining,
.fc-place-info--gap-spacious .fc-place-info__hours,
.fc-place-info--gap-spacious .fc-place-info__travel,
.fc-place-info--gap-spacious .fc-place-info__links {
padding: 1rem 0;
gap: 1rem;
}




/* === IMPORT _links.css === */
/* =================================
   響應式調整 (圖片設定)
   ================================= */

@media (max-width: 768px) {
/* 手機上強制垂直排列 (除非是 cover) */
.fc-place-info--img-pos-left,
.fc-place-info--img-pos-right {
flex-direction: column;
}

.fc-place-info--img-pos-left .fc-place-info__image,
.fc-place-info--img-pos-right .fc-place-info__image {
width: 100%;
}

/* RWD: 垂直排列時重設內容 padding（左右都需要） */
.fc-place-info--img-pos-left.fc-place-info--padding-normal .fc-place-info__content,
.fc-place-info--img-pos-right.fc-place-info--padding-normal .fc-place-info__content {
padding: 1.5rem;
}

.fc-place-info--img-pos-left.fc-place-info--padding-spacious .fc-place-info__content,
.fc-place-info--img-pos-right.fc-place-info--padding-spacious .fc-place-info__content {
padding: 1.5rem;
}

/* RWD: 垂直排列時重設畫廊 padding */
.fc-place-info__gallery--left,
.fc-place-info__gallery--right {
padding: 1.5rem !important;
width: 100% !important;
}

/* 手機上調整尺寸 */
.fc-place-info--img-size-small .fc-place-info__image,
.fc-place-info--img-size-medium .fc-place-info__image,
.fc-place-info--img-size-large .fc-place-info__image,
.fc-place-info--img-size-full .fc-place-info__image {
width: 100%;
max-height: 250px;
}

/* 手機上 cover 模式高度調整 */
.fc-place-info--img-pos-cover {
min-height: 280px;
}

/* 手機上減少寬敞間距 */
.fc-place-info--padding-spacious .fc-place-info__content {
padding: 1.25rem;
}

.fc-place-info--gap-spacious {
gap: 1rem;
}
}




/* === IMPORT _gallery.css === */
/* ==================== */
/* Tickets Module */
/* ==================== */
.fc-place-info__tickets-module {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__tickets-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem;
background: #fef3c7;
border-radius: 8px;
margin-top: 0.75rem;
}

.fc-place-info__ticket-row {
display: flex;
gap: 0rem;
align-items: center;
}

.fc-place-info__ticket-label {
color: #666;
}

.fc-place-info__ticket-price {
font-weight: 600;
color: #ea580c;
}

.fc-place-info__ticket-free {
color: #16a34a;
font-size: 0.9rem;
}

.fc-place-info__ticket-note {
font-size: 0.85rem;
color: #666;
font-style: italic;
}

/* ==================== */
/* Facilities Module */
/* ==================== */
.fc-place-info__facilities-module {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__facilities-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
}

.fc-place-info__facility-tag {
background: #f3f4f6;
padding: 0.35rem 0.75rem;
border-radius: 20px;
font-size: 0.85rem;
color: #374151;
}

/* Facility Detail Sections */
.fc-place-info__facility-detail {
margin-top: 1rem;
padding: 0.75rem;
background: #f8fafc;
border-radius: 8px;
border-left: 3px solid var(--fc-primary-color, #005bac);
}

.fc-place-info__facility-detail-title {
font-weight: 600;
font-size: 0.9rem;
color: #333;
margin-bottom: 0.5rem;
}

.fc-place-info__facility-detail-row {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.85rem;
color: #555;
padding: 0.25rem 0;
}

.fc-place-info__facility-detail-row span:first-child {
color: #666;
min-width: 60px;
}

.fc-place-info__facility-detail-row strong {
color: #333;
font-weight: 600;
}

.fc-place-info__facility-detail-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.5rem;
}

.fc-place-info__facility-detail-note {
margin-top: 0.5rem;
font-size: 0.85rem;
color: #666;
font-style: italic;
}

/* Badge styles */
.fc-place-info__badge {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
}

.fc-place-info__badge--free {
background: #dcfce7;
color: #166534;
}

/* WiFi Detail specific */
.fc-place-info__wifi-detail {
border-left-color: #3b82f6;
}

/* Parking Detail specific */
.fc-place-info__parking-detail {
border-left-color: #8b5cf6;
}

/* Accessibility Detail specific */
.fc-place-info__accessibility-detail {
border-left-color: #f59e0b;
}

/* Language Detail specific */
.fc-place-info__language-detail {
border-left-color: #10b981;
}

/* Payment Detail specific */
.fc-place-info__payment-detail {
border-left-color: #ef4444;
}

/* ==================== */
/* Hotel Module */
/* ==================== */
.fc-place-info__hotel-module {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__hotel-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.75rem;
background: #f0fdf4;
border-radius: 8px;
margin-top: 0.75rem;
}

.fc-place-info__hotel-times {
display: flex;
gap: 1.5rem;
font-size: 0.95rem;
}

.fc-place-info__hotel-times strong {
color: #059669;
}

.fc-place-info__hotel-rooms {
font-size: 0.9rem;
color: #555;
}

.fc-place-info__hotel-amenities {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}

.fc-place-info__hotel-amenity {
background: #ecfdf5;
padding: 0.25rem 0.6rem;
border-radius: 4px;
font-size: 0.8rem;
color: #047857;
}

.fc-place-info__hotel-note {
font-size: 0.85rem;
color: #666;
font-style: italic;
}

/* ==================== */
/* Payment Module */
/* ==================== */
.fc-place-info__payment-module {
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__payment-tags {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.75rem;
}

.fc-place-info__payment-tag {
background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
padding: 0.4rem 0.8rem;
border-radius: 20px;
font-size: 0.85rem;
color: #0369a1;
border: 1px solid #bae6fd;
transition: all 0.2s ease;
}

.fc-place-info__payment-tag:hover {
background: linear-gradient(135deg, #e0f2fe, #bae6fd);
transform: translateY(-1px);
}

/* ==================== */
/* Custom Fields Module */
/* ==================== */
.fc-place-info__custom-fields {
padding: 0.75rem 0;
}

.fc-place-info__custom-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.fc-place-info__custom-row {
display: flex;
align-items: baseline;
gap: 0;
font-size: 0.9rem;
line-height: 1.5;
}

.fc-place-info__custom-label {
color: #555;
font-weight: 500;
flex-shrink: 0;
}

.fc-place-info__custom-value {
color: #333;
flex: 1;
}

/* Custom Fields Divider Styles */
.fc-place-info__custom-fields--divider {
border-top: 1px solid #eee;
margin-top: 0.5rem;
padding-top: 0.75rem;
}

.fc-place-info__custom-fields--divider-line {
border-top-style: solid;
}

.fc-place-info__custom-fields--divider-dashed {
border-top-style: dashed;
}

.fc-place-info__custom-fields--divider-dotted {
border-top-style: dotted;
}

.fc-place-info__custom-fields--divider-none {
border-top: none;
}

/* Hide custom field icons */
.fc-place-info__custom-fields--no-icons .fc-place-info__section-title i {
display: none;
}

/* ==================== */
/* Basic Info Row Styles */
/* ==================== */
.fc-place-info__info-row {
display: flex;
align-items: baseline;
justify-content: flex-start;
gap: 0;
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 0.35rem;
}

.fc-place-info__info-row i {
color: var(--fc-place-info-accent, #0EA5E9);
margin-right: 0.4rem;
flex-shrink: 0;
}

.fc-place-info__info-label {
color: #666;
font-weight: 500;
flex-shrink: 0;
white-space: nowrap;
}

.fc-place-info__info-value {
color: #333;
flex: 1;
min-width: 0;
word-break: break-word;
}

.fc-place-info__info-value a {
color: var(--fc-place-info-accent, #0EA5E9);
text-decoration: none;
transition: color 0.2s ease;
}

.fc-place-info__info-value a:hover {
color: var(--fc-place-info-accent-dark, #0284C7);
text-decoration: underline;
}



/* === IMPORT rwd/index.css === */
/* Place Info RWD Styles - Main Index */

/* === IMPORT ./_styles.css === */
/* ==============================================
   SECTION STYLE VARIANTS
   ============================================== */

/* ---- Table Style (表格式) ---- */
.fc-place-info--section-table .fc-place-info__hours-row,
.fc-place-info--section-table .fc-place-info__travel-item,
.fc-place-info--section-table .fc-place-info__custom-field,
.fc-place-info--section-table .fc-place-info__info-row,
.fc-place-info--section-table .fc-place-info__dining-row,
.fc-place-info--section-table .fc-place-info__ticket-row,
.fc-place-info--section-table .fc-place-info__hotel-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0rem;
padding: 0.75rem 0;
border-bottom: 1px solid #eee;
}

.fc-place-info__gallery-more {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 1.25rem;
font-weight: 600;
cursor: pointer;
z-index: 10;
}

.fc-place-info--section-table .fc-place-info__hours-day,
.fc-place-info--section-table .fc-place-info__hotel-label,
.fc-place-info--section-table .fc-place-info__travel-icon,
.fc-place-info--section-table .fc-place-info__custom-field-label,
.fc-place-info--section-table .fc-place-info__info-label {
font-weight: 600;
color: #333;
background: #f8f9fa;
padding: 0.5rem 0.75rem;
border-radius: 4px;
margin-right: 10px;
}

/* ---- Card Style (卡片式) ---- */
.fc-place-info--section-card .fc-place-info__hours,
.fc-place-info--section-card .fc-place-info__travel,
.fc-place-info--section-card .fc-place-info__custom-fields,
.fc-place-info--section-card .fc-place-info__dining-module,
.fc-place-info--section-card .fc-place-info__tickets-module,
.fc-place-info--section-card .fc-place-info__reservation-module {
background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 1rem;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fc-place-info--section-card .fc-place-info__section-title {
padding-bottom: 0.75rem;
margin-bottom: 0.75rem;
border-bottom: 2px solid var(--fc-primary-color, #005bac);
}

.fc-place-info--section-card .fc-place-info__hours-row,
.fc-place-info--section-card .fc-place-info__travel-item,
.fc-place-info--section-card .fc-place-info__custom-field {
background: #fff;
border-radius: 8px;
padding: 0.75rem 1rem;
margin-bottom: 0.5rem;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ---- Minimal Style (極簡式) ---- */
.fc-place-info--section-minimal .fc-place-info__hours,
.fc-place-info--section-minimal .fc-place-info__travel,
.fc-place-info--section-minimal .fc-place-info__custom-fields,
.fc-place-info--section-minimal .fc-place-info__dining-module,
.fc-place-info--section-minimal .fc-place-info__reservation-module {
padding: 0.5rem 0;
border-top: none;
}

.fc-place-info--section-minimal .fc-place-info__section-title {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #888;
margin-bottom: 0.5rem;
}

.fc-place-info--section-minimal .fc-place-info__section-title i {
display: none;
}

.fc-place-info--section-minimal .fc-place-info__hours-row,
.fc-place-info--section-minimal .fc-place-info__travel-item,
.fc-place-info--section-minimal .fc-place-info__custom-field {
padding: 0.35rem 0;
border-bottom: none;
}

.fc-place-info--section-minimal .fc-place-info__travel-icon {
width: 24px;
height: 24px;
font-size: 0.75rem;
}

/* ---- Striped Style (斑馬紋) ---- */
.fc-place-info--section-striped .fc-place-info__hours-list,
.fc-place-info--section-striped .fc-place-info__travel-list,
.fc-place-info--section-striped .fc-place-info__custom-fields-list {
background: #fff;
border-radius: 8px;
overflow: hidden;
}

.fc-place-info--section-striped .fc-place-info__hours-row:nth-child(odd),
.fc-place-info--section-striped .fc-place-info__travel-item:nth-child(odd),
.fc-place-info--section-striped .fc-place-info__custom-field:nth-child(odd) {
background: #f8f9fa;
}

.fc-place-info--section-striped .fc-place-info__hours-row:nth-child(even),
.fc-place-info--section-striped .fc-place-info__travel-item:nth-child(even),
.fc-place-info--section-striped .fc-place-info__custom-field:nth-child(even) {
background: #fff;
}

.fc-place-info--section-striped .fc-place-info__hours-row,
.fc-place-info--section-striped .fc-place-info__travel-item,
.fc-place-info--section-striped .fc-place-info__custom-field {
padding: 0.75rem 1rem;
border-bottom: none;
}

.fc-place-info--section-striped .fc-place-info__hours-row:hover,
.fc-place-info--section-striped .fc-place-info__travel-item:hover,
.fc-place-info--section-striped .fc-place-info__custom-field:hover {
background: #e8f4fd;
}

/* ==============================================
   UNIFIED ICON SIZING
   ============================================== */

/* Base icon size variable */
.fc-place-info {
--fc-icon-size: 1rem;
--fc-icon-color: var(--fc-primary-color, #005bac);
}

/* All icons in section titles */
.fc-place-info__section-title i,
.fc-place-info__section-title .fas,
.fc-place-info__section-title .far,
.fc-place-info__section-title .fab {
font-size: var(--fc-icon-size);
width: var(--fc-icon-size);
color: var(--fc-icon-color);
text-align: center;
}

/* Info row icons (address, phone, website) */
.fc-place-info__info-row i,
.fc-place-info__info-row .fas,
.fc-place-info__info-row .far {
font-size: var(--fc-icon-size);
width: 1.25rem;
color: var(--fc-icon-color);
}

/* Link icons */
.fc-place-info__link i,
.fc-place-info__link .fas,
.fc-place-info__link .fab {
font-size: var(--fc-icon-size);
color: inherit;
}

/* Custom fields icons */
.fc-place-info__custom-field i,
.fc-place-info__custom-field .fas,
.fc-place-info__custom-field .far {
font-size: var(--fc-icon-size);
width: var(--fc-icon-size);
color: var(--fc-icon-color);
}

/* Category badge icon */
.fc-place-info__category i {
font-size: 0.75rem;
}

/* Travel icon circle (larger, needs special sizing) */
.fc-place-info__travel-icon i {
font-size: 1rem;
}

/* Payment method icons */
.fc-place-info__payment-item i {
font-size: var(--fc-icon-size);
color: var(--fc-icon-color);
}

/* Facility tags icons */
.fc-place-info__facilities-tag i {
font-size: 0.85rem;
color: var(--fc-icon-color);
}

/* Hotel amenity icons */
.fc-place-info__hotel-amenities span i {
font-size: 0.85rem;
}

/* ==============================================
   TICKET ROW STYLING IMPROVEMENTS
   ============================================== */

.fc-place-info__ticket-row {
display: flex;
gap: 0rem;
align-items: center;
padding: 0.5rem 0.75rem;
background: #f8f9fa;
}

.fc-place-info__ticket-row:not(:last-child) {
border-bottom: 1px dashed #e5e7eb;
}

.fc-place-info__ticket-label::after {
content: '：';
color: #9ca3af;
}

/* ==============================================
   DINING ROW SEPARATOR
   ============================================== */

.fc-place-info__dining-row {
display: flex;
align-items: center;
gap: 0rem;
padding: 0.5rem 0;
}

.fc-place-info__dining-row:not(:last-child) {
border-bottom: 1px dashed #e5e7eb;
}

.fc-place-info__dining-label::after {
content: '：';
color: #9ca3af;
}

/* ==============================================
   PAYMENT SUB-ITEMS (Credit Card Brands)
   ============================================== */

/* Credit card parent inherits regular payment tag style */

.fc-place-info__payment-tag--sub {
display: inline-flex;
align-items: center;
background: #e5e7eb;
color: #6b7280;
font-size: 0.85rem;
padding: 0.2rem 0.6rem;
vertical-align: middle;
}

/* ==============================================
   LIGHT GRAY BACKGROUND CONSISTENCY
   ============================================== */

.fc-place-info__tickets-content,
.fc-place-info__dining-content,
.fc-place-info__hotel-content {
background: #f8f9fa;
padding: 0.75rem;
border-radius: 8px;
}

/* Keep note styles with warning color */
.fc-place-info__hours-note,
.fc-place-info__holiday-note {
background: #fff3cd;
color: #856404;
}

/* ==============================================
   5 NEW STYLE VARIANTS
   ============================================== */

/* BORDERED - Outline box style */
.fc-place-info--section-bordered .fc-place-info__hours-content,
.fc-place-info--section-bordered .fc-place-info__travel-content,
.fc-place-info--section-bordered .fc-place-info__dining-content,
.fc-place-info--section-bordered .fc-place-info__tickets-content,
.fc-place-info--section-bordered .fc-place-info__hotel-content,
.fc-place-info--section-bordered .fc-place-info__custom-content,
.fc-place-info--section-bordered .fc-place-info__payment-tags {
border: 2px solid #e5e7eb;
border-radius: 8px;
background: transparent;
}

/* COMPACT - Minimal padding */
.fc-place-info--section-compact .fc-place-info__hours-content,
.fc-place-info--section-compact .fc-place-info__travel-content,
.fc-place-info--section-compact .fc-place-info__dining-content,
.fc-place-info--section-compact .fc-place-info__tickets-content,
.fc-place-info--section-compact .fc-place-info__hotel-content {
padding: 0.25rem 0;
gap: 0.25rem;
}
.fc-place-info--section-compact .fc-place-info__hours-row,
.fc-place-info--section-compact .fc-place-info__travel-item,
.fc-place-info--section-compact .fc-place-info__dining-row,
.fc-place-info--section-compact .fc-place-info__ticket-row,
.fc-place-info--section-compact .fc-place-info__custom-field {
padding: 0.25rem 0;
}

/* MODERN - Gradient background */
.fc-place-info--section-modern .fc-place-info__hours-content,
.fc-place-info--section-modern .fc-place-info__travel-content,
.fc-place-info--section-modern .fc-place-info__dining-content,
.fc-place-info--section-modern .fc-place-info__tickets-content,
.fc-place-info--section-modern .fc-place-info__hotel-content,
.fc-place-info--section-modern .fc-place-info__custom-content {
background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
border-radius: 12px;
padding: 1rem;
}

/* FLAT - No shadows, pure flat design */
.fc-place-info--section-flat .fc-place-info__hours-content,
.fc-place-info--section-flat .fc-place-info__travel-content,
.fc-place-info--section-flat .fc-place-info__dining-content,
.fc-place-info--section-flat .fc-place-info__tickets-content,
.fc-place-info--section-flat .fc-place-info__hotel-content {
background: #fff;
border-radius: 0;
box-shadow: none;
border: none;
padding: 0;
}

/* ACCENT - Colored left border */
.fc-place-info--section-accent .fc-place-info__hours-content,
.fc-place-info--section-accent .fc-place-info__travel-content,
.fc-place-info--section-accent .fc-place-info__dining-content,
.fc-place-info--section-accent .fc-place-info__tickets-content,
.fc-place-info--section-accent .fc-place-info__hotel-content,
.fc-place-info--section-accent .fc-place-info__custom-content {
border-left: 4px solid var(--fc-primary-color, #005bac);
padding-left: 1rem;
background: #fafbfc;
}

/* ==============================================
   PER-MODULE STYLE CLASSES
   ============================================== */

/* Hours module styles */
.fc-place-info__hours-module--table .fc-place-info__hours-content { display: grid; grid-template-columns: 100px 1fr; }
.fc-place-info__hours-module--card .fc-place-info__hours-content { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; padding: 1rem; }
.fc-place-info__hours-module--minimal .fc-place-info__hours-content { background: transparent; padding: 0; }
.fc-place-info__hours-module--striped .fc-place-info__hours-row:nth-child(odd) { background: #f8f9fa; }
.fc-place-info__hours-module--bordered .fc-place-info__hours-content { border: 2px solid #e5e7eb; border-radius: 8px; }
.fc-place-info__hours-module--compact .fc-place-info__hours-row { padding: 0.25rem 0; }
.fc-place-info__hours-module--modern .fc-place-info__hours-content { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 12px; }
.fc-place-info__hours-module--flat .fc-place-info__hours-content { background: #fff; border-radius: 0; }
.fc-place-info__hours-module--accent .fc-place-info__hours-content { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }

/* Travel module styles */
.fc-place-info__travel-module--table .fc-place-info__travel-content { display: grid; grid-template-columns: 60px 1fr; gap: 0.5rem; }
.fc-place-info__travel-module--card .fc-place-info__travel-item { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; padding: 1rem; }
.fc-place-info__travel-module--minimal .fc-place-info__travel-item { background: transparent; padding: 0.5rem 0; }
.fc-place-info__travel-module--striped .fc-place-info__travel-item:nth-child(odd) { background: #f8f9fa; }
.fc-place-info__travel-module--bordered .fc-place-info__travel-content { border: 2px solid #e5e7eb; border-radius: 8px; padding: 0.75rem; }
.fc-place-info__travel-module--compact .fc-place-info__travel-item { padding: 0.25rem 0; }
.fc-place-info__travel-module--modern .fc-place-info__travel-content { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 12px; }
.fc-place-info__travel-module--flat .fc-place-info__travel-content { background: #fff; border-radius: 0; }
.fc-place-info__travel-module--accent .fc-place-info__travel-content { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }

/* Dining module styles */
.fc-place-info__dining-module--card .fc-place-info__dining-content { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; }
.fc-place-info__dining-module--minimal .fc-place-info__dining-content { background: transparent; }
.fc-place-info__dining-module--striped .fc-place-info__dining-row:nth-child(odd) { background: #f8f9fa; }
.fc-place-info__dining-module--bordered .fc-place-info__dining-content { border: 2px solid #e5e7eb; border-radius: 8px; }
.fc-place-info__dining-module--modern .fc-place-info__dining-content { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.fc-place-info__dining-module--accent .fc-place-info__dining-content { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }

/* Tickets module styles */
.fc-place-info__tickets-module--card .fc-place-info__tickets-content { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; }
.fc-place-info__tickets-module--minimal .fc-place-info__tickets-content { background: transparent; }
.fc-place-info__tickets-module--striped .fc-place-info__ticket-row:nth-child(odd) { background: #f0f4f8; }
.fc-place-info__tickets-module--bordered .fc-place-info__tickets-content { border: 2px solid #e5e7eb; border-radius: 8px; }
.fc-place-info__tickets-module--modern .fc-place-info__tickets-content { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.fc-place-info__tickets-module--accent .fc-place-info__tickets-content { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }

/* Hotel module styles */
.fc-place-info__hotel-module--card .fc-place-info__hotel-content { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; }
.fc-place-info__hotel-module--minimal .fc-place-info__hotel-content { background: transparent; }
.fc-place-info__hotel-module--bordered .fc-place-info__hotel-content { border: 2px solid #e5e7eb; border-radius: 8px; }
.fc-place-info__hotel-module--modern .fc-place-info__hotel-content { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.fc-place-info__hotel-module--accent .fc-place-info__hotel-content { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }

/* Custom fields module styles */
.fc-place-info__custom-fields--card .fc-place-info__custom-content { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; padding: 1rem; }
.fc-place-info__custom-fields--minimal .fc-place-info__custom-content { background: transparent; }
.fc-place-info__custom-fields--striped .fc-place-info__custom-field:nth-child(odd) { background: #f8f9fa; }
.fc-place-info__custom-fields--bordered .fc-place-info__custom-content { border: 2px solid #e5e7eb; border-radius: 8px; }
.fc-place-info__custom-fields--modern .fc-place-info__custom-content { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.fc-place-info__custom-fields--accent .fc-place-info__custom-content { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }


.fc-place-info__payment-module--card .fc-place-info__payment-tags { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border-radius: 12px; padding: 1rem; }
.fc-place-info__payment-module--minimal .fc-place-info__payment-tags { background: transparent; padding: 0; }
.fc-place-info__payment-module--bordered .fc-place-info__payment-tags { border: 2px solid #e5e7eb; border-radius: 8px; padding: 0.75rem; }
.fc-place-info__payment-module--modern .fc-place-info__payment-tags { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 12px; padding: 1rem; }
.fc-place-info__payment-module--accent .fc-place-info__payment-tags { border-left: 4px solid var(--fc-primary-color, #005bac); padding-left: 1rem; }

/* Hours style (營業資訊風格) - Gray background with dashed row separators for all modules */
.fc-place-info__hours-module--hours .fc-place-info__hours-content,
.fc-place-info__travel-module--hours .fc-place-info__travel-content,
.fc-place-info__dining-module--hours .fc-place-info__dining-content,
.fc-place-info__tickets-module--hours .fc-place-info__tickets-content,
.fc-place-info__hotel-module--hours .fc-place-info__hotel-content,
.fc-place-info__custom-fields--hours .fc-place-info__custom-content,
.fc-place-info__payment-module--hours .fc-place-info__payment-tags {
background: #f8f9fa;
border-radius: 6px;
padding: 0.5rem 0.75rem;
}

/* Hours style - row styling with dashed separators */
.fc-place-info__travel-module--hours .fc-place-info__travel-item,
.fc-place-info__dining-module--hours .fc-place-info__dining-row,
.fc-place-info__tickets-module--hours .fc-place-info__ticket-row,
.fc-place-info__hotel-module--hours .fc-place-info__hotel-row,
.fc-place-info__custom-fields--hours .fc-place-info__custom-field,
.fc-place-info__payment-module--hours .fc-place-info__payment-tag {
padding: 0.35rem 0;
border-bottom: 1px dashed #e9ecef;
}


.fc-place-info__travel-module--hours .fc-place-info__travel-item:last-child,
.fc-place-info__dining-module--hours .fc-place-info__dining-row:last-child,
.fc-place-info__tickets-module--hours .fc-place-info__ticket-row:last-child,
.fc-place-info__hotel-module--hours .fc-place-info__hotel-row:last-child,
.fc-place-info__custom-fields--hours .fc-place-info__custom-field:last-child,
.fc-place-info__payment-module--hours .fc-place-info__payment-tag:last-child {
border-bottom: none;
}

/* Travel Badge (Line Name) */
.fc-place-info__travel-badge {
display: inline-flex;
align-items: center;
max-width: 100%;
padding: 0.15rem 0.5rem;
font-size: 0.8em;
font-weight: 700;
color: #334155;
background-color: #eef2f7;
border: 1px solid #d7dee8;
border-radius: 999px;
margin-right: 0.4em;
line-height: 1.2;
overflow-wrap: anywhere;
vertical-align: middle;
}

.fc-place-info__travel-badge--colored {
border-color: transparent;
}

/* Station Name */
.fc-place-info__travel-station {
font-weight: 600;
color: #333;
}

/* Adjust travel item spacing to accommodate badges */
.fc-place-info__travel-item {
padding: 0.4rem 0;
border-bottom: 1px dashed #eee;
}

.fc-place-info__travel-label {
display: flex;
align-items: baseline;
flex-wrap: wrap;
gap: 0.25rem;
margin-bottom: 0.2rem;
}

/* Travel Icon Styling */





/* === IMPORT ./_gallery.css === */
/* ==============================================
   Photo Gallery Mode
   ============================================== */

.fc-place-info--gallery .fc-place-info__gallery {
margin-bottom: 0;
padding:0;
border-top: none;
}

.fc-place-info--gallery .fc-place-info__gallery-grid {
display: grid;
grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr);
gap: 3px;
border-radius: 12px;
overflow: hidden;
align-items: stretch;
}

.fc-place-info__gallery-link {
display: block;
width: 100%;
height: 100%;
}

.fc-place-info__gallery-hidden {
display: none !important;
}

.fc-place-info--gallery .fc-place-info__gallery-main {
grid-row: span 2;
}

.fc-place-info--gallery .fc-place-info__gallery-main img {
width: 100%;
height: 100%;
object-fit: cover;
}

.fc-place-info--gallery .fc-place-info__gallery-thumb {
position: relative;
}

.fc-place-info--gallery .fc-place-info__gallery-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}

.fc-place-info__gallery-more {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 1.25rem;
font-weight: 600;
cursor: pointer;
z-index: 10;
pointer-events: none;
}

.fc-place-info__gallery-expand {
margin-top: 0.55rem;
border: 0;
border-radius: 0;
background: transparent;
box-shadow: none;
overflow: visible;
}

.fc-place-info__gallery-expand-toggle {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto;
align-items: center;
column-gap: 0.8rem;
row-gap: 0.45rem;
width: 100%;
box-sizing: border-box;
padding: 0.8rem 0;
cursor: pointer;
list-style: none;
font-weight: 700;
color: #0f172a;
border: 0;
border-top: 1px solid rgba(15, 23, 42, 0.1);
background: transparent;
}

.fc-place-info__gallery-expand-toggle::-webkit-details-marker {
display: none;
}

.fc-place-info__gallery-expand-toggle::after {
content: '展開';
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 64px;
padding: 0.38rem 0.7rem;
border-radius: 999px;
background: rgba(15, 23, 42, 0.05);
color: #1e293b;
font-size: 0.78rem;
letter-spacing: 0.04em;
}

.fc-place-info__gallery-expand[open] .fc-place-info__gallery-expand-toggle::after {
content: '收合';
}

.fc-place-info__gallery-expand-count {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 52px;
padding: 0.22rem 0.6rem;
border-radius: 999px;
background: rgba(37, 99, 235, 0.08);
color: #1d4ed8;
font-size: 0.78rem;
font-weight: 800;
}

.fc-place-info__gallery-expand-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
gap: 0.7rem;
padding: 0.3rem 0 0;
max-width: 100%;
min-width: 0;
}

.fc-place-info__gallery-expanded-link {
display: block;
aspect-ratio: 4 / 3;
overflow: hidden;
border-radius: 12px;
background: #f3f4f6;
}

.fc-place-info__gallery-expanded-link img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

/* Gallery Position Layouts */
.fc-place-info__gallery--top .fc-place-info__gallery-grid {
grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr);
}

/* Left/Right gallery inherits sizing from parent flex layout (same as __image) */
.fc-place-info__gallery--left,
.fc-place-info__gallery--right {
flex-shrink: 0;
border-top: none;
}

/* 畫廊在左側時：畫廊左邊需要padding（右邊靠近內容用gap） */
.fc-place-info__gallery--left {
padding: 2.25rem 0 2.25rem 2.25rem;
}

/* 畫廊在右側時：畫廊右邊需要padding（左邊靠近內容用gap） */
.fc-place-info__gallery--right {
padding: 2.25rem 2.25rem 2.25rem 0;
}

/* Match gallery grid to image size settings - base 300px */
.fc-place-info--img-size-small .fc-place-info__gallery--left {
width: 200px;
padding: 2.25rem 0 2.25rem 2.25rem;
}
.fc-place-info--img-size-small .fc-place-info__gallery--right {
width: 200px;
padding: 2.25rem 2.25rem 2.25rem 0;
}

.fc-place-info--img-size-medium .fc-place-info__gallery--left {
width: 300px;
padding: 2.25rem 0 2.25rem 2.25rem;
}
.fc-place-info--img-size-medium .fc-place-info__gallery--right {
width: 300px;
padding: 2.25rem 2.25rem 2.25rem 0;
}

.fc-place-info--img-size-large .fc-place-info__gallery--left {
width: 400px;
padding: 2.25rem 0 2.25rem 2.25rem;
}
.fc-place-info--img-size-large .fc-place-info__gallery--right {
width: 400px;
padding: 2.25rem 2.25rem 2.25rem 0;
}

/* RWD: Tablet */
@media (max-width: 768px) {
.fc-place-info--img-size-small .fc-place-info__gallery--left {
width: 150px;
padding: 2.25rem 0 2.25rem 2.25rem;
}
.fc-place-info--img-size-small .fc-place-info__gallery--right {
width: 150px;
padding: 2.25rem 2.25rem 2.25rem 0;
}

.fc-place-info--img-size-medium .fc-place-info__gallery--left {
width: 200px;
padding: 2.25rem 0 2.25rem 2.25rem;
}
.fc-place-info--img-size-medium .fc-place-info__gallery--right {
width: 200px;
padding: 2.25rem 2.25rem 2.25rem 0;
}

.fc-place-info--img-size-large .fc-place-info__gallery--left {
width: 260px;
padding: 2.25rem 0 2.25rem 2.25rem;
}
.fc-place-info--img-size-large .fc-place-info__gallery--right {
width: 260px;
padding: 2.25rem 2.25rem 2.25rem 0;
}
}

/* RWD: Mobile - stack vertically */
@media (max-width: 480px) {
.fc-place-info__gallery--left,
.fc-place-info__gallery--right {
width: 100% !important;
margin: 0 0 1rem 0;
}

/* Standard mobile padding restored */
.fc-place-info--gallery .fc-place-info__gallery { 
padding: 0.75rem 0.75rem !important;
}

.fc-place-info__gallery--left {
padding: 0 0 1rem 0 !important;
}

.fc-place-info__gallery--right {
padding: 0 0 1rem 0 !important;
}

.fc-place-info__gallery--top .fc-place-info__gallery-grid {
grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr);
grid-template-rows: repeat(2, minmax(0, 1fr));
gap: 3px;
}

.fc-place-info__gallery--top .fc-place-info__gallery-main {
grid-column: 1;
grid-row: 1 / span 2;
min-height: 100%;
}

.fc-place-info__gallery--top .fc-place-info__gallery-thumb {
min-height: 0;
overflow: hidden;
}

.fc-place-info__gallery--top .fc-place-info__gallery-link,
.fc-place-info__gallery--top .fc-place-info__gallery-link picture {
display: block;
width: 100%;
height: 100%;
}

.fc-place-info__gallery--top .fc-place-info__gallery-main img,
.fc-place-info__gallery--top .fc-place-info__gallery-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
}


.fc-place-info__gallery--left .fc-place-info__gallery-grid,
.fc-place-info__gallery--right .fc-place-info__gallery-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4px;
}

.fc-place-info__gallery--left .fc-place-info__gallery-main,
.fc-place-info__gallery--right .fc-place-info__gallery-main {
grid-column: 1 / -1;
}

/* Left/Right gallery images */
.fc-place-info__gallery--left .fc-place-info__gallery-grid img,
.fc-place-info__gallery--right .fc-place-info__gallery-grid img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 8px;
}

.fc-place-info__gallery--left .fc-place-info__gallery-main img,
.fc-place-info__gallery--right .fc-place-info__gallery-main img {
aspect-ratio: 4/3;
}

.fc-place-info__gallery--left .fc-place-info__gallery-thumb,
.fc-place-info__gallery--right .fc-place-info__gallery-thumb {
aspect-ratio: 1;
overflow: hidden;
border-radius: 6px;
}

/* Single Image Mode */
.fc-place-info__gallery--single .fc-place-info__gallery-grid {
display: block;
}

.fc-place-info__gallery--single .fc-place-info__gallery-main {
border-radius: 12px;
overflow: hidden;
}

.fc-place-info__gallery--single .fc-place-info__gallery-main img {
width: 100%;
height: auto;
max-height: 400px;
object-fit: cover;
}



/* === IMPORT ./_components.css === */
/* ==============================================
   Rating Display
   ============================================== */

.fc-place-info__rating-display {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0;
}

.fc-place-info__rating-stars {
display: flex;
gap: 2px;
color: #fbbf24;
font-size: 1.1rem;
}

.fc-place-info__rating-stars .star-empty {
color: #e5e7eb;
}

.fc-place-info__rating-score {
font-size: 1.5rem;
font-weight: 700;
color: #1a1a2e;
}

.fc-place-info__rating-count {
font-size: 0.85rem;
color: #666;
}

/* Rating Star Animation - 載入時星星逐一亮起 */
.fc-place-info__rating-stars--animated .star {
opacity: 0;
transform: scale(0);
animation: rating-star-pop 0.4s ease forwards;
}
.fc-place-info__rating-stars--animated .star:nth-child(1) { animation-delay: 0.1s; }
.fc-place-info__rating-stars--animated .star:nth-child(2) { animation-delay: 0.2s; }
.fc-place-info__rating-stars--animated .star:nth-child(3) { animation-delay: 0.3s; }
.fc-place-info__rating-stars--animated .star:nth-child(4) { animation-delay: 0.4s; }
.fc-place-info__rating-stars--animated .star:nth-child(5) { animation-delay: 0.5s; }

@keyframes rating-star-pop {
0% { opacity: 0; transform: scale(0) rotate(-45deg); }
50% { transform: scale(1.2) rotate(0deg); }
100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ==============================================
   Address Copy Button (地址複製按鈕)
   ============================================== */

.fc-place-info__address-copy {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}

.fc-place-info__address-text {
flex: 1;
}

.fc-place-info__copy-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 32px;
height: 32px;
padding: 0 8px;
border: 1px solid #d1d5db;
background: #fff;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s ease;
color: #6b7280;
font-size: 13px;
white-space: nowrap;
gap: 4px;
}

.fc-place-info__copy-btn:hover {
background: var(--fc-primary-color, #005bac);
border-color: var(--fc-primary-color, #005bac);
color: #fff;
}

.fc-place-info__copy-btn:active {
transform: scale(0.95);
}

/* Copied state */
.fc-place-info__copy-btn.copied {
background: #22c55e;
border-color: #22c55e;
color: #fff;
}

/* Icon only version */
.fc-place-info__copy-btn--icon {
width: 32px;
padding: 0;
}

/* With text label */
.fc-place-info__copy-btn--text::before {
content: '📋';
margin-right: 2px;
}

.fc-place-info__copy-btn--text.copied::before {
content: '✓';
}

/* Tooltip */
.fc-place-info__copy-btn[data-tooltip] {
position: relative;
}

.fc-place-info__copy-btn[data-tooltip]::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 4px 8px;
background: #1f2937;
color: #fff;
font-size: 12px;
border-radius: 4px;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease;
margin-bottom: 4px;
}

.fc-place-info__copy-btn[data-tooltip]:hover::after {
opacity: 1;
visibility: visible;
}

/* Dark mode */
.fc-dark-mode .fc-place-info__copy-btn,
.dark-mode .fc-place-info__copy-btn {
background: #374151;
border-color: #4b5563;
color: #d1d5db;
}

.fc-dark-mode .fc-place-info__copy-btn:hover,
.dark-mode .fc-place-info__copy-btn:hover {
background: #64b5f6;
border-color: #64b5f6;
color: #fff;
}

/* ==============================================
   Badge Overlays
   ============================================== */

.fc-place-info__badges {
position: absolute;
top: 12px;
left: 12px;
display: flex;
flex-direction: column;
gap: 6px;
z-index: 5;
}

.fc-place-info__badge {
padding: 4px 12px;
font-size: 0.75rem;
font-weight: 600;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.fc-place-info__badge--featured {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
color: #fff;
}

.fc-place-info__badge--new {
background: #22c55e;
color: #fff;
}

.fc-place-info__badge--popular {
background: #ef4444;
color: #fff;
}

.fc-place-info__badge--verified {
background: #3b82f6;
color: #fff;
}

.fc-place-info__badge--closed {
background: #6b7280;
color: #fff;
}

/* ==============================================
   Status Indicator
   ============================================== */

.fc-place-info__status {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
border-radius: 6px;
font-size: 0.9rem;
font-weight: 500;
}

.fc-place-info__status--open {
background: #dcfce7;
color: #166534;
}

.fc-place-info__status--open::before {
content: '';
width: 8px;
height: 8px;
border-radius: 50%;
background: #22c55e;
animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}

.fc-place-info__status--closed {
background: #fee2e2;
color: #991b1b;
}

.fc-place-info__status--closing-soon {
background: #fef3c7;
color: #92400e;
}

/* ==============================================
   Quick Actions Bar
   ============================================== */

.fc-place-info__actions {
display: flex;
gap: 0.75rem;
padding: 0.75rem 0;
border-top: 1px solid #eee;
}

.fc-place-info__action {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
padding: 0.75rem;
border: 0;
background: #f8f9fa;
border-radius: 8px;
text-decoration: none;
color: #333;
font-size: 0.8rem;
font-family: inherit;
cursor: pointer;
transition: all 0.2s ease;
}

.fc-place-info__action:hover {
background: var(--fc-primary-color, #005bac);
color: #fff;
}

.fc-place-info__action[aria-expanded="true"] {
background: var(--fc-primary-color, #005bac);
color: #fff;
}

.fc-place-info__action i {
font-size: 1.25rem;
}

.fc-place-info__share-panel[hidden] {
display: none !important;
}

.fc-place-info__share-panel {
padding-top: 0.85rem;
border-top: 1px solid #eee;
}

.fc-place-info__share-panel .isb-container {
justify-content: center;
}

.fc-place-info__share-panel .isb-btn {
flex: 0 0 auto;
}

/* ==============================================
   Skeleton Loading
   ============================================== */

@keyframes place-shimmer {
0% { background-position: -200px 0; }
100% { background-position: calc(200px + 100%) 0; }
}

.fc-place-info--skeleton .fc-place-info__image,
.fc-place-info--skeleton .fc-place-info__name,
.fc-place-info--skeleton .fc-place-info__desc,
.fc-place-info--skeleton .fc-place-info__category {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200px 100%;
animation: place-shimmer 1.5s infinite;
color: transparent !important;
border-radius: 4px;
}

.fc-place-info--skeleton .fc-place-info__name {
height: 28px;
width: 60%;
}

.fc-place-info--skeleton .fc-place-info__desc {
height: 60px;
}



/* === IMPORT ./_effects.css === */
/* ==============================================
   Interactive Map Preview
   ============================================== */

.fc-place-info__map-interactive {
position: relative;
border-radius: 12px;
overflow: hidden;
}

.fc-place-info__map-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 1rem;
color: #fff;
opacity: 0;
transition: opacity 0.3s ease;
}

.fc-place-info__map-interactive:hover .fc-place-info__map-overlay {
opacity: 1;
}

.fc-place-info__map-actions {
display: flex;
gap: 0.5rem;
}

.fc-place-info__map-action {
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 6px;
color: #fff;
font-size: 0.85rem;
text-decoration: none;
transition: background 0.2s ease;
}

.fc-place-info__map-action:hover {
background: rgba(255, 255, 255, 0.3);
color: #fff;
}

/* ==============================================
   Animation Effects
   ============================================== */

.fc-place-info--animated {
animation: place-fade-in 0.6s ease-out;
}

@keyframes place-fade-in {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.fc-place-info--hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-place-info--hover-lift:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ==============================================
   Print Styles
   ============================================== */

@media print {
.fc-place-info {
box-shadow: none;
border: 1px solid #ddd;
page-break-inside: avoid;
}

.fc-place-info__map,
.fc-place-info__actions {
display: none;
}
}

/* ==============================================
   Accessibility Improvements
   ============================================== */

.fc-place-info__link:focus,
.fc-place-info__action:focus {
outline: 2px solid var(--fc-primary-color, #005bac);
outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
.fc-place-info--animated,
.fc-place-info--skeleton .fc-place-info__image,
.fc-place-info--skeleton .fc-place-info__name,
.fc-place-info--skeleton .fc-place-info__desc {
animation: none;
}
}




/* === IMPORT ./_presets.css === */
/* ==============================================
   Tourist Spot Preset
   ============================================== */

.fc-place-info--tourist {
background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
border: 2px solid #f59e0b;
}

.fc-place-info--tourist .fc-place-info__category {
background: #f59e0b;
}

.fc-place-info--tourist .fc-place-info__name {
color: #92400e;
}

/* ==============================================
   Restaurant Preset
   ============================================== */

.fc-place-info--restaurant {
border-top: 4px solid #ef4444;
}

.fc-place-info--restaurant .fc-place-info__dining-module {
background: #fef2f2;
border-radius: 8px;
padding: 0.75rem;
border: none;
}

/* ==============================================
   Hotel Preset
   ============================================== */

.fc-place-info--hotel {
border-left: 4px solid #8b5cf6;
}

.fc-place-info--hotel .fc-place-info__category {
background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* ==============================================
   Event Venue Preset
   ============================================== */

.fc-place-info--venue {
background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 100%);
border: 2px solid #22c55e;
}

.fc-place-info--venue .fc-place-info__category {
background: #22c55e;
}

/* ==============================================
   Article-width media containment guard
   ============================================== */
.fc-place-info.fc-width-normal .fc-place-info__image,
.fc-place-info.fc-width-centered .fc-place-info__image,
.fc-place-info.fc-width-narrow .fc-place-info__image,
.fc-place-info.fc-width-normal .fc-place-info__gallery--left,
.fc-place-info.fc-width-normal .fc-place-info__gallery--right,
.fc-place-info.fc-width-centered .fc-place-info__gallery--left,
.fc-place-info.fc-width-centered .fc-place-info__gallery--right,
.fc-place-info.fc-width-narrow .fc-place-info__gallery--left,
.fc-place-info.fc-width-narrow .fc-place-info__gallery--right {
box-sizing: border-box;
max-width: min(46%, 400px);
min-width: 0;
}

.fc-place-info.fc-width-normal.fc-place-info--img-pos-top .fc-place-info__image,
.fc-place-info.fc-width-normal.fc-place-info--img-pos-bottom .fc-place-info__image,
.fc-place-info.fc-width-centered.fc-place-info--img-pos-top .fc-place-info__image,
.fc-place-info.fc-width-centered.fc-place-info--img-pos-bottom .fc-place-info__image,
.fc-place-info.fc-width-narrow.fc-place-info--img-pos-top .fc-place-info__image,
.fc-place-info.fc-width-narrow.fc-place-info--img-pos-bottom .fc-place-info__image,
.fc-place-info.fc-width-normal .fc-place-info__gallery--top,
.fc-place-info.fc-width-centered .fc-place-info__gallery--top,
.fc-place-info.fc-width-narrow .fc-place-info__gallery--top {
width: 100%;
max-width: 100%;
}

@media (max-width: 782px) {
.fc-place-info.fc-width-normal .fc-place-info__image,
.fc-place-info.fc-width-centered .fc-place-info__image,
.fc-place-info.fc-width-narrow .fc-place-info__image,
.fc-place-info.fc-width-normal .fc-place-info__gallery--left,
.fc-place-info.fc-width-normal .fc-place-info__gallery--right,
.fc-place-info.fc-width-centered .fc-place-info__gallery--left,
.fc-place-info.fc-width-centered .fc-place-info__gallery--right,
.fc-place-info.fc-width-narrow .fc-place-info__gallery--left,
.fc-place-info.fc-width-narrow .fc-place-info__gallery--right {
width: 100% !important;
max-width: 100% !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
}








/* === lazy-card.css === */
/**
 * Feature Content - Lazy Card Module (Enhanced v2)
 * 
 * 懶人包 / 連結卡片樣式 - 支援多種版面配置
 * 
 * @package Feature_Content
 */

/* ==========================================
   CSS Custom Properties (Defaults)
   ========================================== */
.fc-lazy-card-container {
--fc-lazy-columns: 2;
--fc-lazy-gap: 20px;
--fc-lazy-gap-tablet: 20px;
--fc-lazy-gap-mobile: 16px;
--fc-lazy-v-gap: 16px;
--fc-lazy-arrow-spacing: 50px;
--fc-lazy-ratio: 16/9;
--fc-lazy-img-width: 35%;
--fc-lazy-bg: #fff;
--fc-lazy-text: inherit;
--fc-lazy-radius: 12px;
box-sizing: border-box;
max-width: 100%;
overflow-x: clip;
}

/* ==========================================
   Base Container Styles
   ========================================== */
.fc-lazy-card-container {
width: 100%;
margin-bottom: 1.5rem;
}

.fc-lazy-card__grid {
display: grid;
gap: var(--fc-lazy-gap);
}

/* ==========================================
   Layout: Horizontal (Default) - Side by Side
   ========================================== */
.fc-lazy-card--horizontal .fc-lazy-card__grid,
.fc-lazy-card--left .fc-lazy-card__grid {
grid-template-columns: 1fr;
}

.fc-lazy-card--horizontal .fc-lazy-card__link,
.fc-lazy-card--left .fc-lazy-card__link {
display: flex;
flex-direction: row;
align-items: stretch;
}

.fc-lazy-card--horizontal .fc-lazy-card__media,
.fc-lazy-card--left .fc-lazy-card__media {
width: var(--fc-lazy-img-width);
min-width: 100px;
flex-shrink: 0;
aspect-ratio: var(--fc-lazy-ratio);
}

/* ==========================================
   Layout: Vertical - Image Top, Content Bottom
   ========================================== */
.fc-lazy-card--vertical .fc-lazy-card__grid {
grid-template-columns: repeat(var(--fc-lazy-columns), 1fr);
}

.fc-lazy-card--vertical .fc-lazy-card__link {
display: flex;
flex-direction: column;
}

.fc-lazy-card--vertical .fc-lazy-card__media {
width: 100%;
aspect-ratio: var(--fc-lazy-ratio);
}

/* ==========================================
   Layout: Grid - Multi-column Grid
   ========================================== */
.fc-lazy-card--grid .fc-lazy-card__grid {
grid-template-columns: repeat(var(--fc-lazy-columns), 1fr);
}

.fc-lazy-card--grid .fc-lazy-card__link {
display: flex;
flex-direction: column;
height: 100%;
}

.fc-lazy-card--grid .fc-lazy-card__media {
width: 100%;
aspect-ratio: var(--fc-lazy-ratio);
}

/* ==========================================
   Layout: List - Compact Horizontal List
   ========================================== */
.fc-lazy-card--list .fc-lazy-card__grid {
grid-template-columns: 1fr;
}

.fc-lazy-card--list .fc-lazy-card__link {
display: flex;
flex-direction: row;
align-items: center;
}

.fc-lazy-card--list .fc-lazy-card__media {
width: var(--fc-lazy-img-width, 100px);
min-width: 80px;
max-width: 200px;
aspect-ratio: var(--fc-lazy-ratio);
flex-shrink: 0;
}

.fc-lazy-card--list .fc-lazy-card__content {
padding: 12px 16px;
}

.fc-lazy-card--list .fc-lazy-card__title {
--fc-lazy-title-lines: 1;
--fc-lazy-title-min-height: 1.4em;
font-size: 1rem;
margin-bottom: 4px;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}

.fc-lazy-card--list .fc-lazy-card__desc {
display: none;
}

/* ==========================================
   Layout: Compact - Minimal Style
   ========================================== */
.fc-lazy-card--compact .fc-lazy-card__grid {
grid-template-columns: repeat(var(--fc-lazy-columns), 1fr);
gap: calc(var(--fc-lazy-gap) / 2);
}

.fc-lazy-card--compact .fc-lazy-card__link {
display: flex;
flex-direction: row;
align-items: center;
padding: 8px;
}

.fc-lazy-card--compact .fc-lazy-card__media {
width: var(--fc-lazy-img-width, 60px);
min-width: 40px;
max-width: 100px;
aspect-ratio: 1/1;
border-radius: 8px;
flex-shrink: 0;
}

.fc-lazy-card--compact .fc-lazy-card__content {
padding: 0 12px;
}

.fc-lazy-card--compact .fc-lazy-card__title {
--fc-lazy-title-lines: 2;
--fc-lazy-title-min-height: 2.8em;
font-size: 0.9rem;
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.fc-lazy-card--compact .fc-lazy-card__desc,
.fc-lazy-card--compact .fc-lazy-card__meta,
.fc-lazy-card--compact .fc-lazy-card__more {
display: none;
}

/* ==========================================
   Image Position Modifiers
   ========================================== */
.fc-lazy-card--img-left .fc-lazy-card__link {
flex-direction: row;
}

.fc-lazy-card--img-right .fc-lazy-card__link {
flex-direction: row-reverse;
}

.fc-lazy-card--img-top .fc-lazy-card__link {
flex-direction: column;
}

.fc-lazy-card--img-bottom .fc-lazy-card__link {
flex-direction: column-reverse;
}

.fc-lazy-card--img-none .fc-lazy-card__media {
display: none;
}

/* ==========================================
   Shadow Modifier
   ========================================== */
.fc-lazy-card--shadow .fc-lazy-card__item {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fc-lazy-card--shadow .fc-lazy-card__item:hover {
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
/* ==========================================
   Card Style Modifiers
   ========================================== */
/* Card Style (Default) - With shadow and border-radius */
.fc-lazy-card--style-card .fc-lazy-card__item {
background: var(--fc-lazy-bg);
border-radius: var(--fc-lazy-radius);
overflow: hidden;
}

/* Minimal Style - No background, subtle border */
.fc-lazy-card--style-minimal .fc-lazy-card__item {
background: transparent;
border-radius: 0;
box-shadow: none;
}

.fc-lazy-card--style-minimal .fc-lazy-card__link {
padding: 0;
}

/* Bordered Style - Visible border */
.fc-lazy-card--style-bordered .fc-lazy-card__item {
background: var(--fc-lazy-bg);
border: 2px solid var(--fc-lazy-border-color, #e0e0e0);
border-radius: var(--fc-lazy-radius);
box-shadow: none;
}

.fc-lazy-card--style-bordered .fc-lazy-card__item:hover {
border-color: #bbb;
}

/* Solid Border Style - Single solid border with accent color */
.fc-lazy-card--style-solid-border .fc-lazy-card__item {
background: var(--fc-lazy-bg);
border: 2px solid var(--fc-lazy-border-color, var(--fc-lazy-accent, #0073aa));
border-radius: var(--fc-lazy-radius);
box-shadow: none;
}

.fc-lazy-card--style-solid-border .fc-lazy-card__item:hover {
border-color: var(--fc-lazy-accent, #005177);
box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
}

/* Filled Style - Solid background */
.fc-lazy-card--style-filled .fc-lazy-card__item {
background: var(--fc-lazy-bg);
border-radius: var(--fc-lazy-radius);
}



/* ==========================================
   Card Item Base Styles
   ========================================== */
.fc-lazy-card__item {
position: relative;
background: var(--fc-lazy-bg);
color: var(--fc-lazy-text);
border-radius: var(--fc-lazy-radius);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
}



.fc-lazy-card__item:hover {
transform: translateY(-3px);
}

.fc-lazy-card--hover-none .fc-lazy-card__item:hover {
transform: none;
box-shadow: inherit; /* Prevent extra shadow on hover if needed */
}

.fc-lazy-card--hover-scale .fc-lazy-card__item:hover {
transform: scale(1.02);
}

.fc-lazy-card--hover-glow .fc-lazy-card__item:hover {
transform: translateY(-3px);
box-shadow: 0 10px 40px rgba(0, 115, 170, 0.25);
}

.fc-lazy-card--hover-border .fc-lazy-card__item {
transition: border-color 0.3s ease, transform 0.3s ease;
}

.fc-lazy-card--hover-border .fc-lazy-card__item:hover {
transform: translateY(-3px);
border-color: var(--fc-lazy-accent, #0073aa);
}

.fc-lazy-card__link {
display: flex;
text-decoration: none;
color: inherit;
width: 100%;
height: 100%;
}

/* ==========================================
   Media Element
   ========================================== */
.fc-lazy-card__media {
position: relative;
overflow: hidden;
flex-shrink: 0;
min-height: 0;
background: #f0f0f0;
}

.fc-lazy-card__media img,
.fc-lazy-card__image-bg {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform 0.5s ease;
background-size: cover;
background-position: center;
}

.fc-lazy-card__item:hover .fc-lazy-card__media img,
.fc-lazy-card__item:hover .fc-lazy-card__image-bg {
transform: scale(1.05);
}

/* ==========================================
   Content Area
   ========================================== */
.fc-lazy-card__content {
padding: var(--fc-lazy-v-gap, 16px) 20px;
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
min-width: 0;
}

.fc-lazy-card__cat {
display: inline-block;
background: var(--fc-cat-bg, var(--primary-color, #007bff));
color: var(--fc-cat-color, #fff);
padding: 3px 8px;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 8px;
align-self: flex-start;
}

/* Category Style Variants */
/* Solid (default) - no additional styles needed */

/* Outline */
.fc-lazy-card--cat-outline .fc-lazy-card__cat {
background: transparent;
border: 1px solid var(--fc-cat-bg, var(--primary-color, #007bff));
color: var(--fc-cat-color, var(--fc-cat-bg, var(--primary-color, #007bff)));
}

/* Pill */
.fc-lazy-card--cat-pill .fc-lazy-card__cat {
border-radius: 50px;
padding: 4px 12px;
}

/* Flat */
.fc-lazy-card--cat-flat .fc-lazy-card__cat {
background: var(--fc-cat-bg, rgba(0, 123, 255, 0.1));
color: var(--fc-cat-color, var(--primary-color, #007bff));
border-radius: 2px;
}

/* Tag */
.fc-lazy-card--cat-tag .fc-lazy-card__cat {
background: var(--fc-cat-bg, #f0f0f0);
color: var(--fc-cat-color, #333);
border-radius: 2px;
font-weight: 500;
text-transform: none;
}

.fc-lazy-card__title {
--fc-lazy-title-line-height: 1.4;
--fc-lazy-title-min-height: 2.8em;
margin: 0 0 8px 0;
font-size: 1.1rem;
font-weight: 700;
line-height: var(--fc-lazy-title-line-height);
color: inherit;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
min-height: var(--fc-lazy-title-min-height);
}

.fc-lazy-card__desc {
margin: 0 0 12px 0;
font-size: 0.9rem;
line-height: 1.5;
color: inherit;
opacity: 0.75;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.fc-lazy-card__meta {
display: flex;
gap: 12px;
font-size: 0.8rem;
color: inherit;
opacity: 0.6;
flex-wrap: wrap;
margin-top: auto;
}

.fc-lazy-card__date,
.fc-lazy-card__author {
display: flex;
align-items: center;
gap: 4px;
white-space: nowrap;
}

.fc-lazy-card__more {
margin-top: 12px;
font-size: 0.85rem;
font-weight: 600;
color: var(--primary-color, #007bff);
display: inline-flex;
align-items: center;
gap: 4px;
}

/* ==========================================
   RWD Image Width Override
   ========================================== */
@media (max-width: 1024px) {
.fc-lazy-card--horizontal .fc-lazy-card__media,
.fc-lazy-card--left .fc-lazy-card__media,
.fc-lazy-card--ranking .fc-lazy-card__media {
width: var(--fc-lazy-img-width-tablet, var(--fc-lazy-img-width));
}
}

@media (max-width: 768px) {
.fc-lazy-card--horizontal .fc-lazy-card__media,
.fc-lazy-card--left .fc-lazy-card__media,
.fc-lazy-card--ranking .fc-lazy-card__media {
width: var(--fc-lazy-img-width-mobile, var(--fc-lazy-img-width-tablet, var(--fc-lazy-img-width)));
}
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
.fc-lazy-card--vertical .fc-lazy-card__grid,
.fc-lazy-card--grid .fc-lazy-card__grid {
grid-template-columns: repeat(min(var(--fc-lazy-columns), 2), 1fr);
}

.fc-lazy-card--compact .fc-lazy-card__grid {
grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
.fc-lazy-card--horizontal .fc-lazy-card__link {
flex-direction: column;
}

.fc-lazy-card--horizontal .fc-lazy-card__media {
width: 100%;
max-width: none;
aspect-ratio: var(--fc-lazy-ratio);
}

.fc-lazy-card--vertical .fc-lazy-card__grid,
.fc-lazy-card--grid .fc-lazy-card__grid {
grid-template-columns: 1fr;
}

/*.fc-lazy-card--img-left .fc-lazy-card__link,
.fc-lazy-card--img-right .fc-lazy-card__link {
flex-direction: column;
}*/

.fc-lazy-card__title {
font-size: 1rem;
}

.fc-lazy-card__content {
padding: 12px 16px;
}

.fc-lazy-card__meta {
font-size: 0.75rem;
}
}

@media (max-width: 480px) {
.fc-lazy-card--list .fc-lazy-card__media {
width: 80px;
height: 60px;
}

.fc-lazy-card--compact .fc-lazy-card__media {
width: 50px;
height: 50px;
}
}

/* ==========================================
   Layout: Ranking - Numbered List with Medals
   ========================================== */
.fc-lazy-card--ranking .fc-lazy-card__grid {
grid-template-columns: 1fr;
}

.fc-lazy-card--ranking .fc-lazy-card__item {
display: flex;
align-items: stretch;
position: relative;
}

.fc-lazy-card--ranking .fc-lazy-card__media {
width: var(--fc-lazy-img-width, 100px);
min-width: 0;
aspect-ratio: var(--fc-lazy-ratio);
flex-shrink: 0;
margin-right: 15px;
}

/* Rank Positioning */

/* Default / Image Left */
.fc-lazy-card--rank-pos-image-left .fc-lazy-card__link { margin-left: 0; }
.fc-lazy-card--rank-pos-image-left .fc-lazy-card__media .fc-lazy-card__rank {
top: 50%;
left: 10px;
transform: translateY(-50%);
}

/* Image Top Left */
.fc-lazy-card--rank-pos-image-top-left .fc-lazy-card__link { margin-left: 0; }
.fc-lazy-card--rank-pos-image-top-left .fc-lazy-card__media .fc-lazy-card__rank {
top: 10px;
left: 10px;
transform: none;
}

/* Image Top Right */
.fc-lazy-card--rank-pos-image-top-right .fc-lazy-card__link { margin-left: 0; }
.fc-lazy-card--rank-pos-image-top-right .fc-lazy-card__media .fc-lazy-card__rank {
top: 10px;
right: 10px;
left: auto;
transform: none;
}

/* Outside Left */
.fc-lazy-card--rank-pos-outside-left .fc-lazy-card__link { margin-left: 45px; }
.fc-lazy-card--rank-pos-outside-left .fc-lazy-card__media .fc-lazy-card__rank {
left: -45px;
top: 50%;
transform: translateY(-50%);
}

.fc-lazy-card--ranking .fc-lazy-card__link {
display: flex;
flex-direction: row;
align-items: stretch;
flex: 1;
/* margin-left: 45px; Removed base margin, handled by pos modifiers */
}

.fc-lazy-card__rank {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
font-weight: 700;
border-radius: 50%;
background: var(--fc-lazy-accent, #0073aa);
color: #fff;
z-index: 2;
}

.fc-lazy-card__rank--medal {
background: transparent !important;
font-size: 1.5rem;
}

/* Rank Colors (Gold, Silver, Bronze) */
.fc-lazy-card__rank--top-1 { background: #FFD700; color: #fff; }
.fc-lazy-card__rank--top-2 { background: #C0C0C0; color: #fff; }
.fc-lazy-card__rank--top-3 { background: #CD7F32; color: #fff; }

.fc-lazy-card__rank--badge {
border-radius: 4px;
width: auto;
padding: 4px 10px;
}

/* Top 3 Special Colors */
.fc-lazy-card__item--top1 .fc-lazy-card__rank { background: linear-gradient(135deg, #FFD700, #FFA500); }
.fc-lazy-card__item--top2 .fc-lazy-card__rank { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.fc-lazy-card__item--top3 .fc-lazy-card__rank { background: linear-gradient(135deg, #CD7F32, #8B4513); }

/* ==========================================
   Block Header (Title & Description)
   ========================================== */
.fc-lazy-card__header {
margin-bottom: 20px;
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 20px;
}

.fc-lazy-card__header-content {
flex: 1;
}

.fc-lazy-card__block-title {
margin: 0 0 8px 0;
font-size: 1.5rem;
font-weight: 700;
}

.fc-lazy-card__block-desc {
margin: 0;
opacity: 0.7;
font-size: 0.95rem;
}

/* Header Navigation Buttons */
.fc-lazy-card__header-nav {
display: flex;
gap: 8px;
flex-shrink: 0;
margin-bottom: 5px; /* Align with title baseline roughly */
}

.fc-lazy-card__header-nav .swiper-button-prev,
.fc-lazy-card__header-nav .swiper-button-next {
position: static !important; /* Override absolute positioning */
margin: 0 !important;
width: 32px !important;
height: 32px !important;
border-radius: 50%;
background: rgba(0, 0, 0, 0.05);
color: inherit;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}

.fc-lazy-card__header-nav .swiper-button-prev::after,
.fc-lazy-card__header-nav .swiper-button-next::after {
font-size: 14px !important;
font-weight: bold;
}

.fc-lazy-card__header-nav .swiper-button-prev:hover,
.fc-lazy-card__header-nav .swiper-button-next:hover {
background: var(--fc-lazy-accent, #0073aa);
color: #fff;
}


/* ==========================================
   Badge (On Image)
   ========================================== */
.fc-lazy-card__badge {
position: absolute;
top: 10px;
right: 10px;
background: var(--fc-lazy-accent, #e74c3c);
color: #fff;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
}

/* ==========================================
   Favicon
   ========================================== */
.fc-lazy-card__favicon {
border-radius: 2px;
vertical-align: middle;
}

/* ==========================================
   Carousel Mode (Swiper Integration)
   ========================================== */
.fc-lazy-card--carousel.fc-lazy-card-container {
position: relative;
padding: 0 var(--fc-lazy-arrow-spacing, 50px); /* Space for external arrows */
box-sizing: border-box;
max-width: 100%;
overflow-x: clip;
}

.fc-lazy-card--carousel .fc-lazy-card__swiper {
position: relative;
overflow: hidden; /* Required for Swiper to work */
width: 100%;
max-width: 100%;
box-sizing: border-box;
min-width: 0;
}

.fc-lazy-card--carousel .swiper-slide {
display: flex;
align-items: stretch;
height: auto;
box-sizing: border-box;
}

/* Keep carousel cards aligned by height in active/duplicate rows */
.fc-lazy-card--carousel .swiper-slide .fc-lazy-card__item {
width: 100%;
height: 100%;
min-height: 0;
display: flex;
flex-direction: column;
}

.fc-lazy-card--carousel .swiper-slide .fc-lazy-card__link {
width: 100%;
height: 100%;
}

.fc-lazy-card--carousel .swiper-slide .fc-lazy-card__content {
justify-content: flex-start;
}

.fc-lazy-card--carousel .swiper-wrapper {
align-items: stretch;
}

/* External Arrow Styling - positioned relative to carousel container */
/* High specificity to override Swiper defaults */
.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-prev,
.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-next,
.fc-lazy-card--carousel > .swiper-button-prev,
.fc-lazy-card--carousel > .swiper-button-next {
position: absolute !important;
top: var(--fc-lazy-arrow-top, 50%) !important;
color: var(--fc-arrow-color, var(--fc-lazy-accent, #0073aa)) !important;
background: var(--fc-arrow-bg, rgba(255, 255, 255, 0.95)) !important;
width: var(--fc-arrow-size, 40px) !important;
height: var(--fc-arrow-size, 40px) !important;
min-width: var(--fc-arrow-size, 40px) !important;
max-width: var(--fc-arrow-size, 40px) !important;
border-radius: 50% !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
transition: all 0.3s ease !important;
transform: translateY(-50%) !important;
z-index: 10 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
cursor: pointer !important;
margin-top: 0 !important;
padding: 0 !important;
flex-shrink: 0 !important;
}

.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-prev::after,
.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-next::after,
.fc-lazy-card--carousel > .swiper-button-prev::after,
.fc-lazy-card--carousel > .swiper-button-next::after {
font-family: swiper-icons !important;
font-size: var(--fc-arrow-icon-size, 14px) !important;
font-weight: bold !important;
}

.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-prev::after,
.fc-lazy-card--carousel > .swiper-button-prev::after {
content: 'prev' !important;
}

.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-next::after,
.fc-lazy-card--carousel > .swiper-button-next::after {
content: 'next' !important;
}

.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-prev:hover,
.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-next:hover,
.fc-lazy-card--carousel > .swiper-button-prev:hover,
.fc-lazy-card--carousel > .swiper-button-next:hover {
background: var(--fc-arrow-hover-bg, var(--fc-lazy-accent, #0073aa)) !important;
color: var(--fc-arrow-hover-color, #fff) !important;
transform: translateY(-50%) scale(1.1) !important;
}

/* Position arrows at container edges */
.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-prev,
.fc-lazy-card--carousel > .swiper-button-prev {
left: 5px !important;
}

.fc-lazy-card--carousel.fc-lazy-card-container > .swiper-button-next,
.fc-lazy-card--carousel > .swiper-button-next {
right: 5px !important;
}

/* Swiper container spacing */
.fc-lazy-card--carousel .fc-lazy-card__swiper {
padding-top: 0;
padding-bottom: var(--fc-swiper-pb, 0);
}

.fc-lazy-card--carousel.fc-lazy-card--has-header-nav .fc-lazy-card__swiper {
padding-top: var(--fc-swiper-pt, 0);
}

.fc-lazy-card--carousel:not(.fc-lazy-card--has-header-nav) .fc-lazy-card__swiper {
padding-top: 0;
}

@supports (-webkit-touch-callout: none) {
/* Safari exposes orphan Swiper top padding as visible blank space when no header nav is rendered. */
.fc-lazy-card--carousel:not(.fc-lazy-card--has-header-nav) .fc-lazy-card__swiper {
padding-top: 0;
}

/* Safari can over-preserve stale Swiper/grid heights after image ratio and line-clamp recalculation. */
.fc-lazy-card-container .fc-lazy-card__grid,
.fc-lazy-card--carousel .swiper-wrapper,
.fc-lazy-card--carousel .swiper-slide,
.fc-lazy-card--carousel .fc-lazy-card__item,
.fc-lazy-card--carousel .fc-lazy-card__link {
min-height: 0;
}

.fc-lazy-card--carousel .swiper-wrapper,
.fc-lazy-card--carousel .swiper-slide {
height: auto !important;
}

.fc-lazy-card--carousel .fc-lazy-card__media,
.fc-lazy-card--grid .fc-lazy-card__media,
.fc-lazy-card--vertical .fc-lazy-card__media,
.fc-lazy-card--list .fc-lazy-card__media,
.fc-lazy-card--compact .fc-lazy-card__media {
height: auto;
min-height: 0;
contain: layout paint;
}

.fc-lazy-card--carousel .fc-lazy-card__media img,
.fc-lazy-card--carousel .fc-lazy-card__image-bg,
.fc-lazy-card--grid .fc-lazy-card__media img,
.fc-lazy-card--grid .fc-lazy-card__image-bg,
.fc-lazy-card--vertical .fc-lazy-card__media img,
.fc-lazy-card--vertical .fc-lazy-card__image-bg,
.fc-lazy-card--list .fc-lazy-card__media img,
.fc-lazy-card--list .fc-lazy-card__image-bg,
.fc-lazy-card--compact .fc-lazy-card__media img,
.fc-lazy-card--compact .fc-lazy-card__image-bg {
height: 100%;
min-height: 0;
}

.fc-lazy-card__title,
.fc-lazy-card__desc,
.fc-lazy-card__excerpt {
min-block-size: 0;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__link {
height: auto;
}
}

/* Safari can leak transformed loop slides past the Swiper viewport on wide horizontal Lazy Cards. */
.fc-lazy-card--safari-carousel-guard.fc-lazy-card--carousel.fc-lazy-card-container {
overflow-x: hidden;
}

.fc-lazy-card--safari-carousel-guard .fc-lazy-card__swiper {
overflow: hidden !important;
isolation: isolate;
clip-path: inset(0);
-webkit-mask-image: linear-gradient(#000, #000);
mask-image: linear-gradient(#000, #000);
}

.fc-lazy-card--safari-carousel-guard .swiper-wrapper {
-webkit-transform-style: flat;
transform-style: flat;
}

.fc-lazy-card--safari-carousel-guard .swiper-slide,
.fc-lazy-card--safari-carousel-guard .fc-lazy-card__item {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}

.fc-lazy-card--carousel .swiper-pagination {
position: relative;
margin-top: 15px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 0;
row-gap: 0;
column-gap: 0;
max-width: 100%;
overflow: visible;
}

.fc-lazy-card--carousel .swiper-pagination-bullet {
position: relative;
display: inline-flex !important;
align-items: center;
justify-content: center;
width: 40px !important;
height: 40px !important;
min-width: 40px !important;
min-height: 40px !important;
margin: 0 -10px !important;
background: transparent !important;
opacity: 1;
flex: 0 0 40px;
touch-action: manipulation;
}

.fc-lazy-card--carousel .swiper-pagination-bullet::before {
content: "";
display: block;
width: 10px;
height: 10px;
border-radius: 999px;
background: rgba(148, 163, 184, 0.8);
transition: background-color 0.2s ease, transform 0.2s ease;
}

.fc-lazy-card--carousel .swiper-pagination-bullet-active::before {
background: var(--fc-lazy-accent, #0073aa);
transform: scale(1.18);
}

/* ==========================================
   Preset: 黑底延伸閱讀輪播
   ========================================== */
.fc-lazy-card--preset-related-dark {
--fc-lazy-bg: #050505;
--fc-lazy-text: #f8fafc;
--fc-lazy-accent: #e5e7eb;
background: #050505;
color: #f8fafc;
padding: clamp(22px, 3vw, 32px);
border-radius: 0;
overflow: hidden;
}

.fc-lazy-card--preset-related-dark.fc-lazy-card--carousel.fc-lazy-card-container {
padding-left: clamp(22px, 3vw, 32px);
padding-right: clamp(22px, 3vw, 32px);
box-sizing: border-box;
max-width: 100%;
overflow-x: clip;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__header {
margin-bottom: 16px;
align-items: center;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__block-title {
font-size: clamp(1.35rem, 2.2vw, 1.8rem);
letter-spacing: 0.02em;
color: #fff;
margin: 0;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__block-desc {
color: #aeb6bd;
opacity: 1;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__header-nav {
gap: 10px;
margin: 0;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__header-nav .swiper-button-prev,
.fc-lazy-card--preset-related-dark .fc-lazy-card__header-nav .swiper-button-next {
width: 38px !important;
height: 38px !important;
background: #fff;
color: #111827;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__header-nav .swiper-button-prev:hover,
.fc-lazy-card--preset-related-dark .fc-lazy-card__header-nav .swiper-button-next:hover {
background: #4b5563;
color: #fff;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__item {
background: #1f2a30;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: var(--fc-lazy-radius);
box-shadow: none;
overflow: hidden;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__item:hover {
transform: none;
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__link {
min-height: 132px;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__media {
background: #111827;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__image-bg {
transition: transform 0.35s ease;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__item:hover .fc-lazy-card__image-bg {
transform: scale(1.04);
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__content {
padding: clamp(16px, 2.2vw, 22px);
justify-content: center;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__title {
color: #f8fafc;
font-size: clamp(1.05rem, 1.7vw, 1.45rem);
font-weight: 800;
line-height: 1.45;
margin: 0;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__meta {
order: 2;
margin: 10px 0 0;
gap: 8px;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__cat,
.fc-lazy-card--preset-related-dark .fc-lazy-card__date {
background: transparent;
color: var(--fc-cat-color, #aeb6bd);
padding: 0;
border-radius: 0;
font-size: 0.95rem;
font-weight: 500;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__excerpt,
.fc-lazy-card--preset-related-dark .fc-lazy-card__more,
.fc-lazy-card--preset-related-dark .fc-lazy-card__read-more-btn,
.fc-lazy-card--preset-related-dark .fc-lazy-card__read-more-arrow {
display: none;
}

@media (max-width: 768px) {
.fc-lazy-card--preset-related-dark {
padding: 18px;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__header {
align-items: flex-start;
gap: 14px;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__link {
min-height: 116px;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__title {
font-size: 1rem;
}

.fc-lazy-card--preset-related-dark .fc-lazy-card__cat,
.fc-lazy-card--preset-related-dark .fc-lazy-card__date {
font-size: 0.85rem;
}
}

/* ==========================================
   Carousel Arrow Style Variants
   ========================================== */
/* Arrow Size - CSS Variable */
.fc-lazy-card--carousel {
--fc-arrow-size: 44px;
--fc-arrow-icon-size: 18px;
}

/* Circle Style */
.fc-lazy-card--arrow-circle > .swiper-button-prev,
.fc-lazy-card--arrow-circle > .swiper-button-next {
width: var(--fc-arrow-size, 44px) !important;
height: var(--fc-arrow-size, 44px) !important;
min-width: var(--fc-arrow-size, 44px);
max-width: var(--fc-arrow-size, 44px);
background: var(--fc-lazy-accent, #0073aa);
color: #fff;
border-radius: 50%;
}

.fc-lazy-card--arrow-circle > .swiper-button-prev::after,
.fc-lazy-card--arrow-circle > .swiper-button-next::after {
font-size: var(--fc-arrow-icon-size, 18px);
}

/* Square Style */
.fc-lazy-card--arrow-square > .swiper-button-prev,
.fc-lazy-card--arrow-square > .swiper-button-next {
width: var(--fc-arrow-size, 44px) !important;
height: var(--fc-arrow-size, 44px) !important;
min-width: var(--fc-arrow-size, 44px);
max-width: var(--fc-arrow-size, 44px);
background: var(--fc-lazy-accent, #0073aa);
color: #fff;
border-radius: 0;
}

.fc-lazy-card--arrow-square > .swiper-button-prev::after,
.fc-lazy-card--arrow-square > .swiper-button-next::after {
font-size: var(--fc-arrow-icon-size, 18px);
}

/* Rounded Style */
.fc-lazy-card--arrow-rounded > .swiper-button-prev,
.fc-lazy-card--arrow-rounded > .swiper-button-next {
width: calc(var(--fc-arrow-size, 44px) + 4px) !important;
height: var(--fc-arrow-size, 44px) !important;
min-width: calc(var(--fc-arrow-size, 44px) + 4px);
max-width: calc(var(--fc-arrow-size, 44px) + 4px);
background: var(--fc-lazy-accent, #0073aa);
color: #fff;
border-radius: 8px;
}

.fc-lazy-card--arrow-rounded > .swiper-button-prev::after,
.fc-lazy-card--arrow-rounded > .swiper-button-next::after {
font-size: var(--fc-arrow-icon-size, 18px);
}

/* Minimal Style */
.fc-lazy-card--arrow-minimal > .swiper-button-prev,
.fc-lazy-card--arrow-minimal > .swiper-button-next {
width: auto;
height: auto;
background: transparent;
color: var(--fc-lazy-accent, #0073aa);
box-shadow: none;
}

.fc-lazy-card--arrow-minimal > .swiper-button-prev::after,
.fc-lazy-card--arrow-minimal > .swiper-button-next::after {
font-size: calc(var(--fc-arrow-icon-size, 18px) + 6px);
font-weight: bold;
}

.fc-lazy-card--arrow-minimal > .swiper-button-prev:hover,
.fc-lazy-card--arrow-minimal > .swiper-button-next:hover {
background: transparent;
color: var(--fc-lazy-text, #333);
}

/* Link hover - no underline */
.fc-lazy-card__link:hover,
.fc-lazy-card__link:focus,
.fc-lazy-card__link:active {
text-decoration: none !important;
}

.fc-lazy-card__link *,
.fc-lazy-card__link *:hover {
text-decoration: none !important;
}

/* Responsive Gap - Tablet */
@media (max-width: 1024px) {
.fc-lazy-card__grid {
gap: var(--fc-lazy-gap-tablet, var(--fc-lazy-gap));
}
}

/* Responsive Gap - Mobile */
@media (max-width: 768px) {
.fc-lazy-card__grid {
gap: var(--fc-lazy-gap-mobile, var(--fc-lazy-gap-tablet));
}

.fc-lazy-card--carousel.fc-lazy-card-container {
padding: 0 calc(var(--fc-lazy-arrow-spacing, 50px) - 10px);
}

.fc-lazy-card--carousel > .swiper-button-prev,
.fc-lazy-card--carousel > .swiper-button-next {
width: 34px !important;
height: 34px !important;
min-width: 34px;
max-width: 34px;
}

.fc-lazy-card--carousel > .swiper-button-prev::after,
.fc-lazy-card--carousel > .swiper-button-next::after {
font-size: 12px;
}
}

@media (max-width: 768px) {
.fc-lazy-card--ranking .fc-lazy-card__link {
margin-left: 40px;
}

.fc-lazy-card__rank {
width: 32px;
height: 32px;
font-size: 0.9rem;
}
}

/* ==========================================
   Dark Mode Support
   ========================================== */
@media (prefers-color-scheme: dark) {
.fc-lazy-card-container {
--fc-lazy-bg: #2d2d2d;
--fc-lazy-text: #e5e5e5;
}

.fc-lazy-card--style-bordered .fc-lazy-card__item {
border-color: rgba(255, 255, 255, 0.1);
}

.fc-lazy-card__media {
background: #3d3d3d;
}
}

/* ==========================================
   Legacy Support (Old Class Names)
   ========================================== */
.fc-lazy-card-container--left .fc-lazy-card__link { flex-direction: row; }
.fc-lazy-card-container--left .fc-lazy-card__media { width: 40%; max-width: 300px; }
.fc-lazy-card-container--right .fc-lazy-card__link { flex-direction: row-reverse; }
.fc-lazy-card-container--right .fc-lazy-card__media { width: 40%; max-width: 300px; }
.fc-lazy-card-container--top .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card-container--top .fc-lazy-card__media { width: 100%; aspect-ratio: 16/9; }
.fc-lazy-card-container--bottom .fc-lazy-card__link { flex-direction: column-reverse; }
.fc-lazy-card-container--bottom .fc-lazy-card__media { width: 100%; aspect-ratio: 16/9; }

/* Old element names */
.fc-lazy-card { 
position: relative;
border-radius: var(--fc-lazy-radius, 12px);
background-color: var(--fc-lazy-bg, #fff);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fc-lazy-card--shadow { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.fc-lazy-card__category { 
background: var(--primary-color, #007bff);
color: #fff;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.75rem;
font-weight: 600;
}
.fc-lazy-card__excerpt { 
font-size: 0.95rem;
line-height: 1.6;
opacity: 0.85;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.fc-lazy-card__meta-top { margin-bottom: 10px; }
.fc-lazy-card__meta-bottom { 
display: flex;
gap: 15px;
font-size: 0.85rem;
opacity: 0.75;
margin-top: auto;
}
.fc-lazy-card__footer { 
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid rgba(0,0,0,0.05);
}
.fc-lazy-card__read-more {
font-size: 0.9rem;
font-weight: 600;
color: var(--primary-color, #007bff);
display: inline-flex;
align-items: center;
gap: 5px;
}

/* ==========================================
   Category Position Variants
   ========================================== */
/* On Image - Category badge overlaid on image */
.fc-lazy-card--cat-on-image .fc-lazy-card__cat {
position: absolute;
top: 10px;
left: 10px;
z-index: 2;
}

.fc-lazy-card--cat-on-image .fc-lazy-card__media {
position: relative;
}

/* Below Title */
.fc-lazy-card--cat-below-title .fc-lazy-card__cat {
order: 1;
margin-top: 8px;
margin-bottom: 0;
}

.fc-lazy-card--cat-below-title .fc-lazy-card__title {
order: 0;
}

/* Left of Image */
.fc-lazy-card--cat-left-image .fc-lazy-card__cat {
writing-mode: vertical-rl;
text-orientation: mixed;
padding: 8px 5px;
border-radius: 0 4px 4px 0;
margin: 0;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
z-index: 2;
}

.fc-lazy-card--cat-left-image .fc-lazy-card__item {
position: relative;
}

.fc-lazy-card--cat-left-image .fc-lazy-card__link {
margin-left: 24px;
}

/* ==========================================
   Read More Button Styles
   ========================================== */
/* Link Style (default) */

.fc-lazy-card__more,
.fc-lazy-card__more--link {
background: transparent;
color: var(--fc-more-color, var(--primary-color, #007bff));
font-size: 0.85rem;
font-weight: 600;
margin-top: 10px;
display: inline-flex;
align-items: center;
}

.fc-lazy-card__more:hover,
.fc-lazy-card__more--link:hover {
opacity: 0.8;
}

/* Button Style */
.fc-lazy-card__more--button,
.fc-lazy-card__read-more-btn {
background: var(--fc-more-bg, var(--primary-color, #007bff));
color: var(--fc-more-color, #fff) !important;
padding: 8px 16px;
border-radius: 6px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
font-weight: 600;
font-size: 0.85rem;
margin-top: 10px;
transition: all 0.2s ease;
}

.fc-lazy-card__more--button:hover,
.fc-lazy-card__read-more-btn:hover {
opacity: 0.9;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Arrow Only Style (Circle) */
.fc-lazy-card__more--arrow,
.fc-lazy-card__read-more-arrow {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: var(--fc-more-bg, var(--primary-color, #007bff));
color: var(--fc-more-color, #fff);
border-radius: 50%;
font-size: 16px;
margin-top: 10px;
margin-left: auto;
transition: all 0.2s ease;
}

.fc-lazy-card__more--arrow:hover,
.fc-lazy-card__read-more-arrow:hover {
transform: translateX(3px) scale(1.05);
}

/* Common Arrow Span */
.fc-read-more-arrow {
margin-left: 6px;
display: inline-block;
transition: transform 0.2s;
}

.fc-lazy-card__more:hover .fc-read-more-arrow,
.fc-lazy-card__read-more-btn:hover .fc-read-more-arrow {
transform: translateX(4px);
}

/* ==========================================
   Favicon with Site URL
   ========================================== */
.fc-lazy-card__favicon-wrap {
display: inline-flex;
align-items: center;
gap: 6px;
}

.fc-lazy-card__site-url {
font-size: 0.75rem;
color: #888;
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}




/* ==========================================
   Responsive Layout Utilities
   ========================================== */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
/* Tablet: Horizontal */
.fc-lazy-card--tablet-horizontal .fc-lazy-card__grid { grid-template-columns: 1fr; }
.fc-lazy-card--tablet-horizontal .fc-lazy-card__link { flex-direction: row; }
.fc-lazy-card--tablet-horizontal .fc-lazy-card__media { width: var(--fc-lazy-img-width); min-width: 100px; margin: 0; }

/* Tablet: Vertical */
.fc-lazy-card--tablet-vertical .fc-lazy-card__grid { grid-template-columns: repeat(var(--fc-lazy-columns), 1fr); }
.fc-lazy-card--tablet-vertical .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card--tablet-vertical .fc-lazy-card__media { width: 100%; margin: 0; }

/* Tablet: List */
.fc-lazy-card--tablet-list .fc-lazy-card__grid { grid-template-columns: 1fr; }
.fc-lazy-card--tablet-list .fc-lazy-card__link { flex-direction: row; align-items: center; }
.fc-lazy-card--tablet-list .fc-lazy-card__media { width: var(--fc-lazy-img-width, 100px); max-width: 200px; margin: 0; }

/* Tablet: Grid */
.fc-lazy-card--tablet-grid .fc-lazy-card__grid { grid-template-columns: repeat(var(--fc-lazy-columns), 1fr); }
.fc-lazy-card--tablet-grid .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card--tablet-grid .fc-lazy-card__media { width: 100%; margin: 0; }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
/* Mobile: Horizontal */
.fc-lazy-card--mobile-horizontal .fc-lazy-card__grid { grid-template-columns: 1fr; }
.fc-lazy-card--mobile-horizontal .fc-lazy-card__link { flex-direction: row; }
.fc-lazy-card--mobile-horizontal .fc-lazy-card__media { width: var(--fc-lazy-img-width); min-width: 100px; margin: 0; }

/* Mobile: Vertical (Force 1 column for better stacking) */
.fc-lazy-card--mobile-vertical .fc-lazy-card__grid { grid-template-columns: 1fr; }
.fc-lazy-card--mobile-vertical .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card--mobile-vertical .fc-lazy-card__media { width: 100%; margin-bottom: 12px; }

/* Mobile: List */
.fc-lazy-card--mobile-list .fc-lazy-card__grid { grid-template-columns: 1fr; }
.fc-lazy-card--mobile-list .fc-lazy-card__link { flex-direction: row; align-items: center; }
.fc-lazy-card--mobile-list .fc-lazy-card__media { width: 80px; min-width: 60px; margin-right: 12px; }

/* Mobile: Grid (Respect columns or default to 1 if too cramped) */
.fc-lazy-card--mobile-grid .fc-lazy-card__grid { grid-template-columns: repeat(var(--fc-lazy-columns), 1fr); }
.fc-lazy-card--mobile-grid .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card--mobile-grid .fc-lazy-card__media { width: 100%; margin-bottom: 10px; }

/* Mobile: Compact */
.fc-lazy-card--mobile-compact .fc-lazy-card__grid { grid-template-columns: 1fr; }
.fc-lazy-card--mobile-compact .fc-lazy-card__link { padding: 8px; }
}

/* --- Tablet: Image Position Overrides --- */
@media (max-width: 1024px) {
.fc-lazy-card--tablet-img-left .fc-lazy-card__link { flex-direction: row; }
.fc-lazy-card--tablet-img-left .fc-lazy-card__media { width: var(--fc-lazy-img-width); aspect-ratio: var(--fc-lazy-ratio); margin-right: 20px; margin-bottom: 0; }

.fc-lazy-card--tablet-img-right .fc-lazy-card__link { flex-direction: row-reverse; }
.fc-lazy-card--tablet-img-right .fc-lazy-card__media { width: var(--fc-lazy-img-width); aspect-ratio: var(--fc-lazy-ratio); margin-left: 20px; margin-bottom: 0; }

.fc-lazy-card--tablet-img-top .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card--tablet-img-top .fc-lazy-card__media { width: 100%; aspect-ratio: var(--fc-lazy-ratio); margin: 0 0 16px 0; }

.fc-lazy-card--tablet-img-bottom .fc-lazy-card__link { flex-direction: column-reverse; }
.fc-lazy-card--tablet-img-bottom .fc-lazy-card__media { width: 100%; aspect-ratio: var(--fc-lazy-ratio); margin: 16px 0 0 0; }

.fc-lazy-card--tablet-img-none .fc-lazy-card__media { display: none !important; }

/* Tablet: Responsive Columns Override */
.fc-lazy-card--tablet-vertical .fc-lazy-card__grid,
.fc-lazy-card--tablet-grid .fc-lazy-card__grid {
grid-template-columns: repeat(var(--fc-lazy-columns-tablet), 1fr);
}
}

/* --- Mobile: Image Position Overrides --- */
@media (max-width: 768px) {
.fc-lazy-card--mobile-img-left .fc-lazy-card__link { flex-direction: row; }
.fc-lazy-card--mobile-img-left .fc-lazy-card__media { width: 35%; min-width: 100px; margin-right: 12px; margin-bottom: 0; }

.fc-lazy-card--mobile-img-right .fc-lazy-card__link { flex-direction: row-reverse; }
.fc-lazy-card--mobile-img-right .fc-lazy-card__media { width: 35%; min-width: 100px; margin-left: 12px; margin-bottom: 0; }

.fc-lazy-card--mobile-img-top .fc-lazy-card__link { flex-direction: column; }
.fc-lazy-card--mobile-img-top .fc-lazy-card__media { width: 100%; margin: 0 0 12px 0; }

.fc-lazy-card--mobile-img-bottom .fc-lazy-card__link { flex-direction: column-reverse; }
.fc-lazy-card--mobile-img-bottom .fc-lazy-card__media { width: 100%; margin: 12px 0 0 0; }

.fc-lazy-card--mobile-img-none .fc-lazy-card__media { display: none !important; }

/* Mobile: Responsive Columns Override */
.fc-lazy-card--mobile-vertical .fc-lazy-card__grid,
.fc-lazy-card--mobile-grid .fc-lazy-card__grid {
grid-template-columns: repeat(var(--fc-lazy-columns-mobile), 1fr);
}
}

/* Width Utilities (Self-contained backup) */
/* Width Utilities (Self-contained backup) */
.fc-lazy-card.fc-width-fullwidth,
.fc-lazy-card-container.fc-width-fullwidth {
width: 100% !important;
max-width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

.fc-lazy-card.fc-width-wide,
.fc-lazy-card-container.fc-width-wide {
width: 100% !important;
max-width: 1200px !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-lazy-card.fc-width-normal,
.fc-lazy-card-container.fc-width-normal {
width: 100% !important;
max-width: 800px !important;
margin-left: auto !important;
margin-right: auto !important;
}

.fc-lazy-card.fc-width-centered,
.fc-lazy-card-container.fc-width-centered {
width: 100% !important;
max-width: 600px !important;
margin-left: auto !important;
margin-right: auto !important;
}

/* ==========================================
   Title Line Clamp (Dynamic via CSS Variable)
   ========================================== */
.fc-lazy-card__title {
-webkit-line-clamp: var(--fc-lazy-title-lines, 2);
}

/* ==========================================
   Hover Animation Variants
   ========================================== */
/* Default: Lift (already defined in base) */

/* Scale */
.fc-lazy-card--hover-scale .fc-lazy-card__item:hover {
transform: scale(1.02);
}

/* Glow */
.fc-lazy-card--hover-glow .fc-lazy-card__item:hover {
transform: none;
box-shadow: 0 0 20px rgba(0, 115, 170, 0.3), 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Border */
.fc-lazy-card--hover-border .fc-lazy-card__item {
border: 2px solid transparent;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fc-lazy-card--hover-border .fc-lazy-card__item:hover {
transform: none;
border-color: var(--fc-lazy-accent, #0073aa);
}

/* None - Disable all hover effects */
.fc-lazy-card--hover-none .fc-lazy-card__item:hover {
transform: none;
box-shadow: inherit;
}


.fc-lazy-card--hover-none .fc-lazy-card__item:hover .fc-lazy-card__media img {
transform: none;
}

/* Image Position: None (Desktop) */
.fc-lazy-card--img-none .fc-lazy-card__media {
display: none !important;
}

/* ==========================================
   Image Lazy Load + Fade In Animation
   ========================================== */
.fc-lazy-card__media img {
opacity: 0;
animation: fcLazyFadeIn 0.5s ease forwards;
}

.fc-lazy-card__media img[loading="lazy"] {
opacity: 0;
}

.fc-lazy-card__media img.loaded,
.fc-lazy-card__media img:not([loading="lazy"]) {
opacity: 1;
}

@keyframes fcLazyFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* Read More Position Alignment */
.fc-read-more-pos--left {
align-self: flex-start;
}

.fc-read-more-pos--center {
align-self: center;
}


/* Footer Container (Author + Favicon) */
.fc-lazy-card__footer {
display: flex;
flex-direction: column;
gap: 6px;
margin-top: auto;
}

/* Ensure Footer pushes to bottom if Meta is empty or missing */
.fc-lazy-card__meta + .fc-lazy-card__footer {
margin-top: 8px;
}

/* .fc-lazy-card__content > .fc-lazy-card__footer:last-child,
.fc-lazy-card__content > .fc-lazy-card__footer:nth-last-child(2) {
   margin-top: auto;  Let Meta handle auto margin if present, otherwise Footer
} */

/* Favicon Wrapper */
.fc-lazy-card__favicon-wrap {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.85em;
color: inherit;
opacity: 0.9;
}

.fc-lazy-card__favicon {
flex-shrink: 0;
}

.fc-lazy-card__site-url {
opacity: 0.7;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 150px;
}


/* ==========================================
   Customization Overrides
   ========================================== */
/* Carousel Arrow Vertical Position */
.fc-lazy-card--carousel .swiper-button-next,
.fc-lazy-card--carousel .swiper-button-prev {
top: var(--fc-lazy-arrow-top, 50%) !important;
}

/* Ensure border color applies if explicitly set, even for hover states if desired */
.fc-lazy-card-container[style*="--fc-lazy-border-color"] .fc-lazy-card--style-bordered .fc-lazy-card__item:hover,
.fc-lazy-card-container[style*="--fc-lazy-border-color"] .fc-lazy-card--style-solid-border .fc-lazy-card__item:hover {
border-color: var(--fc-lazy-border-color) !important;
}

/* ==========================================
   Narrow Mobile Squeeze Guard
   ========================================== */
@media (max-width: 420px) {
.fc-lazy-card-container {
overflow-x: hidden;
}

.fc-lazy-card__grid,
.fc-lazy-card__item-wrapper,
.fc-lazy-card__item,
.fc-lazy-card__link,
.fc-lazy-card__content {
box-sizing: border-box;
min-width: 0;
max-width: 100%;
}

.fc-lazy-card--carousel.fc-lazy-card-container {
padding-left: 0;
padding-right: 0;
}

.fc-lazy-card--carousel > .swiper-button-prev,
.fc-lazy-card--carousel > .swiper-button-next {
width: 30px !important;
height: 30px !important;
min-width: 30px !important;
max-width: 30px !important;
}

.fc-lazy-card--vertical .fc-lazy-card__grid,
.fc-lazy-card--grid .fc-lazy-card__grid,
.fc-lazy-card--mobile-grid .fc-lazy-card__grid,
.fc-lazy-card--compact .fc-lazy-card__grid {
grid-template-columns: 1fr;
}

.fc-lazy-card--list .fc-lazy-card__link,
.fc-lazy-card--compact .fc-lazy-card__link,
.fc-lazy-card--ranking .fc-lazy-card__link,
.fc-lazy-card--mobile-horizontal .fc-lazy-card__link,
.fc-lazy-card--mobile-list .fc-lazy-card__link,
.fc-lazy-card--mobile-compact .fc-lazy-card__link,
.fc-lazy-card--mobile-img-left .fc-lazy-card__link,
.fc-lazy-card-container--left .fc-lazy-card__link {
display: grid;
grid-template-columns: minmax(76px, 30vw) minmax(0, 1fr);
column-gap: 10px;
align-items: stretch;
}

.fc-lazy-card--mobile-img-right .fc-lazy-card__link,
.fc-lazy-card--list.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card--compact.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card--ranking.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card--mobile-horizontal.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card-container--right .fc-lazy-card__link {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(76px, 30vw);
column-gap: 10px;
align-items: stretch;
}

.fc-lazy-card--mobile-img-right .fc-lazy-card__media,
.fc-lazy-card--list.fc-lazy-card--img-right .fc-lazy-card__media,
.fc-lazy-card--compact.fc-lazy-card--img-right .fc-lazy-card__media,
.fc-lazy-card--ranking.fc-lazy-card--img-right .fc-lazy-card__media,
.fc-lazy-card--mobile-horizontal.fc-lazy-card--img-right .fc-lazy-card__media,
.fc-lazy-card-container--right .fc-lazy-card__media {
grid-column: 2;
grid-row: 1;
}

.fc-lazy-card--mobile-img-right .fc-lazy-card__content,
.fc-lazy-card--list.fc-lazy-card--img-right .fc-lazy-card__content,
.fc-lazy-card--compact.fc-lazy-card--img-right .fc-lazy-card__content,
.fc-lazy-card--ranking.fc-lazy-card--img-right .fc-lazy-card__content,
.fc-lazy-card--mobile-horizontal.fc-lazy-card--img-right .fc-lazy-card__content,
.fc-lazy-card-container--right .fc-lazy-card__content {
grid-column: 1;
grid-row: 1;
}

.fc-lazy-card--list .fc-lazy-card__media,
.fc-lazy-card--compact .fc-lazy-card__media,
.fc-lazy-card--ranking .fc-lazy-card__media,
.fc-lazy-card--mobile-horizontal .fc-lazy-card__media,
.fc-lazy-card--mobile-list .fc-lazy-card__media,
.fc-lazy-card--mobile-compact .fc-lazy-card__media,
.fc-lazy-card--mobile-img-left .fc-lazy-card__media,
.fc-lazy-card--mobile-img-right .fc-lazy-card__media,
.fc-lazy-card-container--left .fc-lazy-card__media,
.fc-lazy-card-container--right .fc-lazy-card__media {
width: 100% !important;
height: auto;
min-width: 0 !important;
max-width: none !important;
margin: 0 !important;
align-self: stretch;
aspect-ratio: var(--fc-lazy-ratio);
}

.fc-lazy-card--compact .fc-lazy-card__media,
.fc-lazy-card--mobile-compact .fc-lazy-card__media {
aspect-ratio: 1 / 1;
}

.fc-lazy-card--ranking .fc-lazy-card__link {
margin-left: 0 !important;
}

.fc-lazy-card--rank-pos-outside-left .fc-lazy-card__link {
margin-left: 34px !important;
}

.fc-lazy-card__content {
overflow: hidden;
padding: 10px 12px;
}

.fc-lazy-card--compact .fc-lazy-card__content,
.fc-lazy-card--mobile-compact .fc-lazy-card__content {
padding: 0 10px;
}

.fc-lazy-card__title,
.fc-lazy-card__excerpt,
.fc-lazy-card__desc,
.fc-lazy-card__meta,
.fc-lazy-card__footer,
.fc-lazy-card__more,
.fc-lazy-card__read-more-btn,
.fc-lazy-card__site-url {
min-width: 0;
max-width: 100%;
overflow-wrap: anywhere;
word-break: break-word;
}

.fc-lazy-card__date,
.fc-lazy-card__author,
.fc-lazy-card__favicon-wrap {
min-width: 0;
max-width: 100%;
white-space: normal;
}
}

@media (max-width: 360px) {
.fc-lazy-card--list .fc-lazy-card__link,
.fc-lazy-card--compact .fc-lazy-card__link,
.fc-lazy-card--ranking .fc-lazy-card__link,
.fc-lazy-card--mobile-horizontal .fc-lazy-card__link,
.fc-lazy-card--mobile-list .fc-lazy-card__link,
.fc-lazy-card--mobile-compact .fc-lazy-card__link,
.fc-lazy-card--mobile-img-left .fc-lazy-card__link,
.fc-lazy-card-container--left .fc-lazy-card__link {
grid-template-columns: minmax(64px, 28vw) minmax(0, 1fr);
column-gap: 8px;
}

.fc-lazy-card--mobile-img-right .fc-lazy-card__link,
.fc-lazy-card--list.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card--compact.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card--ranking.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card--mobile-horizontal.fc-lazy-card--img-right .fc-lazy-card__link,
.fc-lazy-card-container--right .fc-lazy-card__link {
grid-template-columns: minmax(0, 1fr) minmax(64px, 28vw);
column-gap: 8px;
}

.fc-lazy-card__content {
padding: 8px 10px;
}

.fc-lazy-card__title {
font-size: 0.95rem;
}

.fc-lazy-card__meta {
gap: 6px;
font-size: 0.72rem;
}
}


/* === style.css === */
/* --- 1. General Container & Card Base --- */
.custom-blog-card-v12-container {
display: block;
margin-left: auto;
margin-right: auto;
margin-top: var(--card-margin-top, 1.5rem);
margin-bottom: var(--card-margin-bottom, 1.5rem);
max-width: var(--card-max-width, 600px);
line-height: 1.5;
border: none !important;
padding: 0 !important;
box-sizing: border-box;
}

/* Feature Layout Normalization */
.fc-main-content .custom-blog-card-v12-container,
.fc-content-wrapper .custom-blog-card-v12-container {
padding-left: 0 !important;
padding-right: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
max-width: 100% !important;
width: 100% !important;
}

.fc-main-content .custom-blog-card-v12,
.fc-content-wrapper .custom-blog-card-v12 {
margin: 0 !important;
}

.custom-blog-card-v12-container * { box-sizing: border-box; }
.custom-blog-card-v12 { position: relative; background: var(--card-bg-color, #fff);  border: var(--card-border-width, 1px) solid var(--card-border-color, #e2e8f0); border-radius: var(--card-border-radius, 8px); box-shadow: 0 4px 16px rgba(0,0,0,.08); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; min-height: 100px; height: 100%; }
.custom-blog-card-v12.has-hover-effect:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.custom-blog-card-v12.error { background: #fee2e2; padding: 1rem; color: #b91c1c; text-align: center; }
/* --- Label Styles --- */
.blog-card-v12-label { position: absolute; padding: 4px 10px; font-size: var(--label-font-size, 12px); font-weight: 600; line-height: 1.2; border-radius: 4px; z-index: 10; background-color: var(--label-bg-color, #e53e3e); color: var(--label-text-color, #fff); transition: transform .3s ease; }
.custom-blog-card-v12.has-hover-effect:hover .blog-card-v12-label { transform: translateY(-2px); }
.label-pos-top-right { top: 12px; right: 12px; } .label-pos-top-left { top: 12px; left: 12px; }
.label-pos-bottom-right { bottom: 12px; right: 12px; } .label-pos-bottom-left { bottom: 12px; left: 12px; }
/* --- Core Flexbox Layout (CRITICAL) --- */
.blog-card-v12-link { display: flex !important; width: 100% !important; height: 100% !important; text-decoration: none !important; color: inherit !important; align-items: stretch !important; flex-wrap: nowrap !important; float: none !important; }
/* --- Image & Content Blocks --- */
.blog-card-v12-image { flex-shrink: 0; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 0; padding: 0; position: relative; }
.blog-card-v12-content { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; justify-content: center; padding: 1.25rem; align-self: stretch; }
.blog-card-v12-image img { display: block; transition: transform .3s ease; }
.custom-blog-card-v12.has-hover-effect:hover .blog-card-v12-image img { transform: scale(1.05); }
/* --- Text & Footer --- */
.blog-card-v12-title, .blog-card-v12-excerpt, .blog-card-v12-source { overflow-wrap: break-word; word-break: break-word; }
.blog-card-v12-title, .blog-card-v12-excerpt { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; }
.blog-card-v12-title { font-size: var(--card-title-font-size, 1.2rem); text-align: var(--card-title-align, left); font-weight: 700; line-height: 1.4; margin: 0 0 .5rem 0; color: var(--card-title-color, #2d3748); }
.blog-card-v12-excerpt { font-size: var(--card-excerpt-font-size, 0.9rem); text-align: var(--card-excerpt-align, left); line-height: 1.6; margin: 0; color: var(--card-text-color, #4a5568); flex-grow: 1; }
/* 1. Footer 主容器：只負責定位和 overflow */
.blog-card-v12-footer {
display: flex; /* 讓 wrapper 能在裡面正常運作 */
margin-top: .75rem;
font-size: .8rem;
color: var(--card-source-color, #718096);
overflow: hidden; /* 隱藏任何意外超出的內容 */
}
/* 2. Meta 包裹容器：這是所有佈局的核心 */
.blog-card-v12-meta-wrapper {
display: flex;
flex-wrap: nowrap; /* 核心：強制內部不換行 */
align-items: center; /* 垂直居中對齊 */
min-width: 0; /* flexbox hack，讓壓縮生效 */
}
/* 3. Favicon 圖示 */
.blog-card-v12-favicon {
flex-shrink: 0; /* 圖示不壓縮 */
margin-right: 8px; /* 與右邊的元素保持間距 */
}
/* 4. 作者、日期、分類等 Meta 標籤 */
.blog-card-v12-meta {
background-color: #f1f5f9;
padding: 2px 6px;
border-radius: 4px;
font-size: .75rem;
white-space: nowrap;
flex-shrink: 0; /* Meta 標籤不壓縮 */
margin: 0 4px; /* 互相之間的間距 */
}
.blog-card-v12-source {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-left: 4px;
display: var(--show-source-mobile, inline);
}
@media (min-width:768px) {
.blog-card-v12-source {
display: var(--show-source-tablet, inline);
}
}
@media (min-width:1025px) {
.blog-card-v12-source {
display: var(--show-source-desktop, inline);
}
}
.custom-blog-card-v12 .blog-card-v12-favicon,
#si-single-content .custom-blog-card-v12 .blog-card-v12-favicon {
width: 16px !important;
height: 16px !important;
min-width: 16px;
max-width: 16px !important;
margin: 0 4px 0 0 !important;
border: none !important;
flex-shrink: 0;
border-radius: 2px;
object-fit: contain;
}
a.blog-card-v12-meta { text-decoration: none; color: inherit; }
a.blog-card-v12-meta:hover { background-color: #e2e8f0; }
/* --- Responsive Layouts --- */
.blog-card-v12-link { flex-direction: var(--flex-direction-mobile, column); }
.blog-card-v12-title { -webkit-line-clamp: var(--title-lines-mobile, 2); }
.blog-card-v12-excerpt { -webkit-line-clamp: var(--excerpt-lines-mobile, 3); }
.custom-blog-card-v12-container[data-mobile-layout*="column"] .blog-card-v12-image { width: 100%; aspect-ratio: var(--aspect-ratio-mobile, 16/9); }
.custom-blog-card-v12-container[data-mobile-layout*="column"] .blog-card-v12-image img { width: 100%; height: 100%; object-fit: contain; max-height: 100%;}
.custom-blog-card-v12-container[data-mobile-layout*="row"] .blog-card-v12-image { width: var(--img-w-mobile, 40%); height: auto; aspect-ratio: unset; align-self: stretch; }
.custom-blog-card-v12-container[data-mobile-layout*="row"] .blog-card-v12-image img { width: 100%; height: 100%; object-fit: contain; max-height: 150px; }
/* --- Editor Panel Responsive Fixes --- */
.components-panel__body .components-panel__body-content {
display: flex;
flex-direction: column;
}
.custom-blog-card-v12-color-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
@supports (display: grid) {
.custom-blog-card-v12-color-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
}
@media (min-width:768px){
.blog-card-v12-link { flex-direction: var(--flex-direction-tablet, column); }
.blog-card-v12-title { -webkit-line-clamp: var(--title-lines-tablet, 2); font-size: 1.25rem; }
.blog-card-v12-excerpt { -webkit-line-clamp: var(--excerpt-lines-tablet, 3); }
.custom-blog-card-v12-container[data-tablet-layout*="column"] .blog-card-v12-image { width: 100%; aspect-ratio: var(--aspect-ratio-tablet, 16/9); }
.custom-blog-card-v12-container[data-tablet-layout*="column"] .blog-card-v12-image img { width: 100%; height: 100%; object-fit: contain; max-height: 100%;}
.custom-blog-card-v12-container[data-tablet-layout*="row"] .blog-card-v12-image { width: var(--img-w-tablet, 40%); height: auto; aspect-ratio: unset; align-self: stretch; }
.custom-blog-card-v12-container[data-tablet-layout*="row"] .blog-card-v12-image img { width: 100%; height: 100%; object-fit: contain; max-height: 180px; }
}
@media (min-width:1025px){
.blog-card-v12-link { flex-direction: var(--flex-direction-desktop, column); }
.blog-card-v12-title { -webkit-line-clamp: var(--title-lines-desktop, 2); }
.blog-card-v12-excerpt { -webkit-line-clamp: var(--excerpt-lines-desktop, 3); }
.custom-blog-card-v12-container[data-desktop-layout*="column"] .blog-card-v12-image { width: 100%; aspect-ratio: var(--aspect-ratio-desktop, 16/9); }
.custom-blog-card-v12-container[data-desktop-layout*="column"] .blog-card-v12-image img { width: 100%; height: 100%; object-fit: contain; max-height: 100%;}
.custom-blog-card-v12-container[data-desktop-layout*="row"] .blog-card-v12-image { width: var(--img-w-desktop, 40%); height: auto; aspect-ratio: unset; align-self: stretch; }
.custom-blog-card-v12-container[data-desktop-layout*="row"] .blog-card-v12-image img { width: 100%; height: 100%; object-fit: contain; max-height: 220px; }
}
