/**
 * FCC Leadership Directory — Frontend Styles
 * ────────────────────────────────────────────
 * Playfair Display serif + Source Sans 3 sans-serif,
 * navy/sky/gold palette matching FCC public site.
 * Grayscale → color photo reveal retained.
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ═══════════════════════════════════════════════
   Variables
   ═══════════════════════════════════════════════ */
.fcc-leadership-page-bg {
    --fcc-navy: #0f1d29;
    --fcc-deep-blue: #14304f;
    --fcc-sky: #5391de;
    --fcc-sky-light: #7baeed;
    --fcc-gold: #c9a227;
    --fcc-cream: #f6f1eb;
    --fcc-warm-white: #faf8f5;
    --fcc-ice: #e8f3f8;
    --fcc-slate: #454F5E;

    --fcc-accent: var(--fcc-sky);
    --fcc-bg: var(--fcc-warm-white);
    --fcc-card-bg: #ffffff;
    --fcc-text: var(--fcc-navy);
    --fcc-text-muted: var(--fcc-slate);
    --fcc-border: #e0ddd6;
    --fcc-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --fcc-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fcc-radius: 12px;
    --fcc-transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════════════════════════════
   Page Background Wrapper
   ═══════════════════════════════════════════════ */
.fcc-leadership-page-bg {
    background-color: var(--fcc-bg);
    padding: 0 0 60px;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════
   Base Wrapper
   ═══════════════════════════════════════════════ */
.fcc-leadership-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: var(--fcc-sans);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    color: var(--fcc-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fcc-leadership-wrap *,
.fcc-leadership-wrap *::before,
.fcc-leadership-wrap *::after {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════
   Hero Section — Dark Navy Banner (full-bleed)
   ═══════════════════════════════════════════════ */
.fcc-leadership-hero {
    background: var(--fcc-navy);
    color: #ffffff;
    text-align: center;
    padding: 80px 40px 64px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    /* Break out of max-width wrapper */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.fcc-leadership-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(83,145,222,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,162,39,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.fcc-hero-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--fcc-gold);
    margin-bottom: 16px;
    font-weight: 600;
    font-style: normal;
    font-family: var(--fcc-sans);
    position: relative;
    opacity: 0;
    transform: translateY(8px);
    animation: fcc-fadeUp 0.6s ease forwards;
}

.fcc-hero-title {
    font-family: var(--fcc-serif) !important;
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin: 0 0 20px;
    color: #ffffff;
    letter-spacing: -0.01em;
    position: relative;
    opacity: 0;
    transform: translateY(16px);
    animation: fcc-fadeUp 0.6s 0.1s ease forwards;
}

.fcc-hero-subtitle {
    font-family: var(--fcc-sans);
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    animation: fcc-fadeUp 0.6s 0.2s ease forwards;
}

/* Staff hero — inline, not full-bleed */
.fcc-staff-hero {
    background: transparent;
    color: var(--fcc-text);
    padding: 10px 20px 0;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    max-width: 720px;
    margin: 0 auto 40px;
}

.fcc-staff-hero::before { display: none; }

.fcc-staff-hero .fcc-hero-eyebrow {
    color: var(--fcc-sky);
    font-family: var(--fcc-sans);
    font-style: normal;
}

.fcc-staff-hero .fcc-hero-title {
    color: var(--fcc-text);
}

.fcc-staff-hero .fcc-hero-subtitle {
    color: var(--fcc-text-muted);
}

@keyframes fcc-fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   Story Section
   ═══════════════════════════════════════════════ */
.fcc-story-section {
    margin-bottom: 72px;
    padding: 0 4px;
}

.fcc-story-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.fcc-story-images {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fcc-story-figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--fcc-radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.fcc-story-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--fcc-radius);
    transition: transform 0.6s ease;
}

.fcc-story-figure:hover img { transform: scale(1.02); }

.fcc-story-figure figcaption {
    font-family: var(--fcc-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--fcc-text-muted);
    margin-top: 10px;
    padding-left: 4px;
}

.fcc-story-figure-2 { margin-left: 32px; }

.fcc-story-text { padding-top: 8px; }

.fcc-story-accent-bar {
    width: 40px;
    height: 3px;
    background: var(--fcc-gold);
    border-radius: 2px;
    margin-bottom: 28px;
}

.fcc-story-text p {
    font-family: var(--fcc-sans);
    font-size: 17px;
    line-height: 1.9;
    color: var(--fcc-slate);
    margin: 0 0 20px;
}

.fcc-story-text p:last-child { margin-bottom: 0; }
.fcc-story-text strong { font-weight: 600; color: var(--fcc-text); }
.fcc-story-text em { color: var(--fcc-sky); }

.fcc-story-text a {
    color: var(--fcc-sky);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.fcc-story-text a:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════
   View Toggle
   ═══════════════════════════════════════════════ */
.fcc-view-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--fcc-cream);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.fcc-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--fcc-text-muted);
    font-family: var(--fcc-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.fcc-toggle-btn:hover { color: var(--fcc-text); }

.fcc-toggle-btn.active {
    background: #fff;
    color: var(--fcc-sky);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* SVG Reset */
.fcc-leadership-wrap svg {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
    vertical-align: middle;
    width: auto; height: auto;
    max-width: 100%; max-height: 100%;
}

.fcc-toggle-btn svg { flex-shrink: 0; }

/* View Switching */
.fcc-view { display: none; }
.fcc-view.active { display: block; animation: fcc-fadeIn 0.4s ease; }
@keyframes fcc-fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════
   Grid View
   ═══════════════════════════════════════════════ */
.fcc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 36px;
}

.fcc-grid .fcc-card {
    opacity: 0;
    transform: translateY(24px);
    animation: fcc-cardIn 0.5s ease forwards;
}

.fcc-grid .fcc-card:nth-child(1)  { animation-delay: 0.05s; }
.fcc-grid .fcc-card:nth-child(2)  { animation-delay: 0.10s; }
.fcc-grid .fcc-card:nth-child(3)  { animation-delay: 0.15s; }
.fcc-grid .fcc-card:nth-child(4)  { animation-delay: 0.20s; }
.fcc-grid .fcc-card:nth-child(5)  { animation-delay: 0.25s; }
.fcc-grid .fcc-card:nth-child(6)  { animation-delay: 0.30s; }
.fcc-grid .fcc-card:nth-child(7)  { animation-delay: 0.35s; }
.fcc-grid .fcc-card:nth-child(8)  { animation-delay: 0.40s; }
.fcc-grid .fcc-card:nth-child(9)  { animation-delay: 0.45s; }
.fcc-grid .fcc-card:nth-child(10) { animation-delay: 0.50s; }
.fcc-grid .fcc-card:nth-child(11) { animation-delay: 0.55s; }
.fcc-grid .fcc-card:nth-child(12) { animation-delay: 0.60s; }

@keyframes fcc-cardIn { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════
   Card — Shared
   ═══════════════════════════════════════════════ */
.fcc-card { position: relative; outline: none; }

.fcc-card:focus-visible .fcc-card-photo {
    outline: 3px solid var(--fcc-sky);
    outline-offset: 4px;
}

.fcc-card-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--fcc-radius);
    background: var(--fcc-cream);
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.fcc-card-photo img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.05);
    transition: filter 0.7s ease, transform 0.7s ease;
}

.fcc-card:hover .fcc-card-photo img,
.fcc-card:focus .fcc-card-photo img,
.fcc-card.is-active .fcc-card-photo img {
    filter: grayscale(0%);
    transform: scale(1);
}

.fcc-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,29,41,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--fcc-transition);
    pointer-events: none;
    border-radius: var(--fcc-radius);
}

.fcc-card:hover .fcc-card-gradient,
.fcc-card:focus .fcc-card-gradient,
.fcc-card.is-active .fcc-card-gradient { opacity: 1; }

.fcc-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: var(--fcc-cream);
    border-radius: var(--fcc-radius);
}

.fcc-card-placeholder span {
    font-family: var(--fcc-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--fcc-sky);
    opacity: 0.35;
}

/* Email Button */
.fcc-card-email-btn {
    position: absolute;
    bottom: 16px; right: 16px;
    z-index: 3;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fcc-sky);
    text-decoration: none;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.fcc-card-email-btn:hover {
    background: var(--fcc-sky);
    color: #fff;
    transform: translateY(0) scale(1.08);
}

.fcc-card:hover .fcc-card-email-btn,
.fcc-card:focus .fcc-card-email-btn,
.fcc-card.is-active .fcc-card-email-btn {
    opacity: 1; transform: translateY(0);
}

/* Card Body */
.fcc-card-body { padding: 0 2px; }

.fcc-card-name {
    font-family: var(--fcc-serif) !important;
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    font-weight: 400;
    margin: 0 0 4px;
    line-height: 1.2;
    color: var(--fcc-text);
}

.fcc-card-role {
    font-family: var(--fcc-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--fcc-sky);
    margin: 0 0 12px;
    font-weight: 400;
}

.fcc-card-rule {
    height: 2px;
    width: 40px;
    background: var(--fcc-gold);
    opacity: 0.5;
    margin-bottom: 12px;
    transition: width 0.7s ease, opacity 0.7s ease;
    border-radius: 1px;
}

.fcc-card:hover .fcc-card-rule,
.fcc-card:focus .fcc-card-rule,
.fcc-card.is-active .fcc-card-rule {
    width: 100%; opacity: 1;
}

.fcc-card-bio {
    font-family: var(--fcc-sans);
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--fcc-text-muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════
   Carousel View
   ═══════════════════════════════════════════════ */
.fcc-carousel-track-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.fcc-carousel-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
}

.fcc-carousel-track::-webkit-scrollbar { display: none; }

.fcc-carousel-slide {
    scroll-snap-align: start;
    flex: 0 0 340px;
    min-width: 0;
    transition: transform 0.4s ease;
}

.fcc-carousel-slide .fcc-card-photo { aspect-ratio: 4 / 5; }

.fcc-carousel-slide.is-center .fcc-card-photo img { filter: grayscale(0%); transform: scale(1); }
.fcc-carousel-slide.is-center .fcc-card-gradient { opacity: 1; }
.fcc-carousel-slide.is-center .fcc-card-email-btn { opacity: 1; transform: translateY(0); }
.fcc-carousel-slide.is-center .fcc-card-rule { width: 100%; opacity: 1; }
.fcc-carousel-slide.is-center { transform: scale(1.02); }

.fcc-carousel-arrow {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--fcc-border);
    background: #fff;
    color: var(--fcc-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
    padding: 0;
}

/* Pure CSS chevron */
.fcc-chevron {
    display: block;
    width: 10px; height: 10px;
    border-top: 2.5px solid currentColor;
    border-right: 2.5px solid currentColor;
    pointer-events: none;
}

.fcc-chevron-left  { transform: rotate(-135deg); margin-left: 3px; }
.fcc-chevron-right { transform: rotate(45deg);   margin-right: 3px; }

.fcc-carousel-arrow:hover {
    border-color: var(--fcc-sky);
    color: var(--fcc-sky);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.fcc-carousel-arrow:disabled { opacity: 0.3; cursor: default; }

.fcc-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

.fcc-carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--fcc-border);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.fcc-carousel-dot.active { background: var(--fcc-sky); transform: scale(1.3); }

/* ═══════════════════════════════════════════════
   Music Staff Section
   ═══════════════════════════════════════════════ */
.fcc-staff-section { margin-top: 80px; }

.fcc-section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    padding: 0 20px;
}

.fcc-section-divider span { flex: 1; height: 1px; background: var(--fcc-border); }

.fcc-section-divider svg {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.fcc-card-email-btn svg {
    fill: none !important;
    stroke: currentColor;
    stroke-width: 2;
    width: 18px; height: 18px;
    pointer-events: none;
}

.fcc-staff-hero { margin-bottom: 40px; }

.fcc-staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 36px;
    max-width: 780px;
    margin: 0 auto;
}

.fcc-staff-grid .fcc-card {
    opacity: 0;
    transform: translateY(24px);
    animation: fcc-cardIn 0.5s ease forwards;
}

.fcc-staff-grid .fcc-card:nth-child(1) { animation-delay: 0.1s; }
.fcc-staff-grid .fcc-card:nth-child(2) { animation-delay: 0.2s; }
.fcc-staff-grid .fcc-card:nth-child(3) { animation-delay: 0.3s; }
.fcc-staff-grid .fcc-card:nth-child(4) { animation-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   Mobile Touch
   ═══════════════════════════════════════════════ */
@media (hover: none) {
    .fcc-card-photo img { transition: filter 0.5s ease, transform 0.5s ease; }
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .fcc-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
}

@media (max-width: 768px) {
    .fcc-leadership-page-bg { padding: 0 0 48px; }
    .fcc-leadership-wrap { padding: 0 16px; }
    .fcc-leadership-hero { padding: 60px 24px 50px; margin-bottom: 36px; }
    .fcc-hero-title { font-size: 2.2rem; }
    .fcc-hero-subtitle { font-size: 0.95rem; }

    .fcc-story-layout { grid-template-columns: 1fr; gap: 32px; }
    .fcc-story-figure-2 { margin-left: 0; }
    .fcc-story-images { order: -1; }

    .fcc-grid { grid-template-columns: 1fr; gap: 36px; max-width: 400px; margin: 0 auto; }
    .fcc-staff-grid { grid-template-columns: 1fr; max-width: 400px; }

    .fcc-carousel-slide { flex: 0 0 280px; }
    .fcc-carousel-arrow { display: none; }
    .fcc-toggle-btn span { display: none; }
    .fcc-toggle-btn { padding: 10px 16px; }
    .fcc-staff-section { margin-top: 56px; }
}

@media (max-width: 480px) {
    .fcc-carousel-slide { flex: 0 0 260px; }
    .fcc-grid { max-width: 100%; }
    .fcc-staff-grid { max-width: 100%; }
    .fcc-card-name { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════
   Empty / Print
   ═══════════════════════════════════════════════ */
.fcc-leadership-empty {
    text-align: center;
    font-family: var(--fcc-sans);
    color: var(--fcc-text-muted);
    padding: 60px 20px;
    font-size: 1rem;
}

@media print {
    .fcc-card-photo img { filter: none !important; }
    .fcc-view-toggle, .fcc-carousel-arrow,
    .fcc-carousel-dots, .fcc-card-email-btn { display: none !important; }
    .fcc-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .fcc-story-figure img { break-inside: avoid; }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT DIRECTORY — [fcc_leadership_contacts]
   ═══════════════════════════════════════════════════════════════ */

.fcc-contacts-page-bg {
    --fcc-ct-accent: #5391de;
    --fcc-ct-bg: #faf8f5;
    --fcc-ct-card-bg: #f6f1eb;
    --fcc-ct-text: #0f1d29;
    --fcc-ct-text-muted: #454F5E;
    --fcc-ct-border: #e0ddd6;
    background-color: var(--fcc-ct-bg);
    padding: 0 0 60px;
    overflow: hidden;
}

.fcc-contacts-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Source Sans 3', -apple-system, sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: var(--fcc-ct-text);
    -webkit-font-smoothing: antialiased;
}

.fcc-contacts-wrap *,
.fcc-contacts-wrap *::before,
.fcc-contacts-wrap *::after { box-sizing: border-box; }

/* Hero — Dark Navy Banner (full-bleed) */
.fcc-contacts-hero {
    background: #0f1d29;
    color: #ffffff;
    text-align: center;
    padding: 64px 40px 52px;
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    margin-bottom: 48px;
}

.fcc-contacts-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(83,145,222,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,162,39,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.fcc-contacts-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0 0 14px;
    color: #ffffff;
    position: relative;
    opacity: 0; transform: translateY(14px);
    animation: fcc-fadeUp 0.6s ease forwards;
}

.fcc-contacts-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    animation: fcc-fadeUp 0.6s 0.1s ease forwards;
}

/* Toggle */
.fcc-ct-view-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 36px;
    background: var(--fcc-ct-card-bg);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.fcc-ct-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--fcc-ct-text-muted);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.fcc-ct-toggle-btn:hover { color: var(--fcc-ct-text); }

.fcc-ct-toggle-btn.active {
    background: #fff;
    color: var(--fcc-ct-accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* CSS icons for cards/table toggle */
.fcc-ct-icon-cards,
.fcc-ct-icon-table {
    display: inline-block;
    width: 16px; height: 14px;
    position: relative;
    flex-shrink: 0;
}

.fcc-ct-icon-cards::before,
.fcc-ct-icon-cards::after {
    content: '';
    position: absolute;
    border: 1.5px solid currentColor;
    border-radius: 2px;
}

.fcc-ct-icon-cards::before { top: 0; left: 0; width: 7px; height: 100%; }
.fcc-ct-icon-cards::after  { top: 0; right: 0; width: 7px; height: 100%; }

.fcc-ct-icon-table::before,
.fcc-ct-icon-table::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
}

.fcc-ct-icon-table::before { top: 2px; box-shadow: 0 5px 0 currentColor; }
.fcc-ct-icon-table::after  { bottom: 1px; }

/* View switching */
.fcc-ct-view { display: none; }
.fcc-ct-view.active { display: block; animation: fcc-fadeIn 0.4s ease; }

/* Cards View */
.fcc-ct-cards-track-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.fcc-ct-cards-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 4px 16px;
}

.fcc-ct-cards-track::-webkit-scrollbar { display: none; }

.fcc-ct-card-slide {
    scroll-snap-align: center;
    flex: 0 0 320px;
    transition: transform 0.4s ease;
}

.fcc-ct-card-slide.is-center { transform: scale(1.03); }

.fcc-ct-contact-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.4s ease;
}

.fcc-ct-card-slide.is-center .fcc-ct-contact-card {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.fcc-ct-card-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--fcc-ct-card-bg);
}

.fcc-ct-card-photo img {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.05);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.fcc-ct-card-slide.is-center .fcc-ct-card-photo img,
.fcc-ct-contact-card:hover .fcc-ct-card-photo img {
    filter: grayscale(0%);
    transform: scale(1);
}

.fcc-ct-card-info { padding: 20px 22px 24px; }

.fcc-ct-card-name {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 2px;
    line-height: 1.2;
    color: var(--fcc-ct-text);
}

.fcc-ct-card-role {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--fcc-ct-accent);
    margin: 0 0 14px;
}

.fcc-ct-card-contact-for {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--fcc-ct-text);
    margin-bottom: 14px;
    padding: 10px 14px;
    background: var(--fcc-ct-card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--fcc-ct-accent);
}

.fcc-ct-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--fcc-ct-accent);
    display: block;
    margin-bottom: 2px;
}

/* CSS envelope icon */
.fcc-ct-email-icon {
    display: inline-block;
    width: 14px; height: 11px;
    border: 1.5px solid currentColor;
    border-radius: 1.5px;
    position: relative;
    top: 1px;
    margin-right: 6px;
    flex-shrink: 0;
}

.fcc-ct-email-icon::before {
    content: '';
    position: absolute;
    top: -1px; left: 1px; right: 1px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg) scale(0.55);
    transform-origin: top center;
}

.fcc-ct-email-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
    color: var(--fcc-ct-accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.fcc-ct-email-link:hover { opacity: 0.7; }

/* Carousel arrows */
.fcc-ct-arrow {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--fcc-ct-border);
    background: #fff;
    color: var(--fcc-ct-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
    padding: 0;
}

.fcc-ct-arrow:hover { border-color: var(--fcc-ct-accent); color: var(--fcc-ct-accent); }
.fcc-ct-arrow:disabled { opacity: 0.3; cursor: default; }

.fcc-ct-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

.fcc-ct-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--fcc-ct-border);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.fcc-ct-dot.active { background: var(--fcc-ct-accent); transform: scale(1.3); }

/* Table View */
.fcc-ct-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--fcc-ct-border);
    background: #fff;
}

.fcc-ct-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.fcc-ct-table thead { background: var(--fcc-ct-card-bg); }

.fcc-ct-table th {
    text-align: left;
    padding: 14px 18px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fcc-ct-text-muted);
    border-bottom: 1px solid var(--fcc-ct-border);
}

.fcc-ct-table td {
    padding: 14px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--fcc-ct-border);
    color: var(--fcc-ct-text);
}

.fcc-ct-table tbody tr:last-child td { border-bottom: none; }
.fcc-ct-table tbody tr { transition: background 0.2s ease; }
.fcc-ct-table tbody tr:hover { background: rgba(83, 145, 222, 0.04); }

.fcc-ct-th-photo { width: 56px; }
.fcc-ct-th-action { width: 120px; text-align: center; }

.fcc-ct-td-photo img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.fcc-ct-table-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--fcc-ct-card-bg);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--fcc-ct-accent);
    font-weight: 400;
}

.fcc-ct-td-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
}

.fcc-ct-td-role {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--fcc-ct-accent);
}

.fcc-ct-td-contact { font-size: 0.88rem; color: var(--fcc-ct-text); }

.fcc-ct-table-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--fcc-ct-accent);
    background: rgba(83, 145, 222, 0.08);
    text-decoration: none;
    transition: all 0.2s ease;
}

.fcc-ct-table-email-btn:hover { background: var(--fcc-ct-accent); color: #fff; }
.fcc-ct-td-action { text-align: center; }

/* Footer Message */
.fcc-ct-footer {
    margin-top: 56px;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    padding: 32px 28px;
    background: var(--fcc-ct-card-bg);
    border-radius: 12px;
    border: 1px solid var(--fcc-ct-border);
}

.fcc-ct-footer p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--fcc-ct-text);
    margin: 0 0 12px;
}

.fcc-ct-footer p:first-child {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--fcc-ct-accent);
    margin-bottom: 14px;
}

.fcc-ct-footer p:last-child { margin-bottom: 0; }
.fcc-ct-footer strong { font-weight: 600; color: var(--fcc-ct-text); }

.fcc-ct-footer a {
    color: var(--fcc-ct-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .fcc-contacts-page-bg { padding: 0 0 48px; }
    .fcc-contacts-wrap { padding: 0 16px; }
    .fcc-contacts-hero { padding: 50px 24px 40px; }
    .fcc-contacts-title { font-size: 2rem; }
    .fcc-ct-card-slide { flex: 0 0 280px; }
    .fcc-ct-arrow { display: none; }
    .fcc-ct-toggle-btn span:last-child { display: none; }
    .fcc-ct-toggle-btn { padding: 10px 16px; }

    .fcc-ct-table thead { display: none; }
    .fcc-ct-table, .fcc-ct-table tbody,
    .fcc-ct-table tr, .fcc-ct-table td { display: block; }

    .fcc-ct-table tr {
        padding: 16px 18px;
        border-bottom: 1px solid var(--fcc-ct-border);
        position: relative;
    }

    .fcc-ct-table td { padding: 2px 0; border-bottom: none; }
    .fcc-ct-td-photo { float: left; margin-right: 14px; padding-top: 0; }
    .fcc-ct-td-name { font-size: 1.15rem; }
    .fcc-ct-td-contact { margin-top: 6px; }
    .fcc-ct-td-action { text-align: left; margin-top: 8px; clear: both; }
}
