/**
 * 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;
}
