/* express-boarding.css – Calais-Dover-Ferry.de */
:root {
    --primary-color: #0056b3;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --express-gold: #FFD700;
    --speed-blue: #0099ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: var(--light-bg);
}

.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--primary-color); color: white;
    padding: 8px; text-decoration: none; z-index: 100;
    border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* Navigation */
.navbar {
    background-color: #fff !important;
    border-bottom: 3px solid var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-brand { color: var(--primary-color) !important; font-weight: 700; font-size: 1.1rem; }
.nav-link { color: var(--dark-color) !important; font-weight: 500; transition: all 0.3s ease; padding: 0.5rem 0.75rem !important; }
.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; background: var(--light-bg); border-radius: 5px; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--speed-blue) 0%, var(--primary-color) 100%);
    color: white; padding: 2rem 0; margin-bottom: 2rem;
    position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; right: -20px; top: 50%;
    transform: translateY(-50%); font-size: 150px; opacity: 0.1;
}
.page-header h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; position: relative; z-index: 1; }
.page-header .lead { font-size: 1rem; opacity: 0.95; position: relative; z-index: 1; }
.breadcrumb { background: transparent; padding: 0; margin-bottom: 1rem; font-size: 0.85rem; }
.breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb-item.active { color: white; }

/* Stand Badge */
.stand-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.6rem;
}

/* Hero CTA Row */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}
.btn-hero-primary {
    background-color: var(--express-gold);
    color: var(--dark-color);
    border: 2px solid var(--express-gold);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.btn-outline-light {
    background-color: rgba(255,255,255,0.08);
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Brexit Banner */
.brexit-banner {
    background: #fff3cd;
    border-left: 4px solid #dc3545;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.brexit-banner h4 {
    color: #842029;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.brexit-banner ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}
.brexit-banner li { margin-bottom: 0.4rem; font-size: 0.95rem; }
.brexit-banner a { color: #842029; text-decoration: underline; font-weight: 600; }

/* CTA Buttons Row */
.cta-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.btn-cta-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.btn-cta-secondary:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.cta-alt-hint {
    margin-top: 1.25rem;
    margin-bottom: 0;
    font-size: 0.88rem;
    opacity: 0.95;
}
.cta-alt-link {
    color: var(--express-gold);
    font-weight: 600;
    text-decoration: underline;
}
.cta-alt-link:hover { color: #fff; }

/* Content */
.content-wrapper { display: block; }

.article-content {
    background: white; border-radius: 15px; padding: 1.5rem;
    margin-bottom: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.article-content h2 {
    color: var(--primary-color); font-size: 1.5rem;
    margin: 2rem 0 1rem 0; display: flex; align-items: center; gap: 0.5rem;
    border-bottom: 2px solid var(--light-bg); padding-bottom: 0.5rem;
}
.article-content h3 { color: var(--dark-color); font-size: 1.2rem; margin: 1.5rem 0 1rem 0; font-weight: 600; }

/* TOC */
.toc {
    background: var(--light-bg); border-left: 4px solid var(--primary-color);
    border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem 0;
}
.toc h2 { font-size: 1.1rem; margin: 0 0 0.75rem 0 !important; color: var(--primary-color); border: none !important; padding: 0 !important; }
.toc ol { padding-left: 1.25rem; margin: 0; }
.toc li { margin-bottom: 0.35rem; }
.toc a { color: var(--dark-color); text-decoration: none; transition: color 0.2s; }
.toc a:hover { color: var(--primary-color); text-decoration: underline; }

/* Hero Image */
.hero-image {
    width: 100%; height: auto; border-radius: 12px; margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Quick Summary */
.quick-summary {
    background: linear-gradient(135deg, var(--express-gold) 0%, var(--accent-color) 100%);
    border-radius: 15px; padding: 1.5rem; margin-bottom: 2rem;
    color: var(--dark-color); box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}
.quick-summary h2 { font-size: 1.25rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; border: none !important; padding: 0 !important; color: var(--dark-color) !important; }
.summary-items { display: grid; gap: 0.75rem; }
.summary-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }

/* Trick Cards */
.trick-card {
    background: white; border: 2px solid var(--border-color);
    border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.trick-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0,86,179,0.15);
    transform: translateY(-2px);
}
.trick-number {
    position: absolute; top: 10px; right: 10px;
    background: var(--primary-color); color: white;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.2rem;
}
.trick-card h3 {
    color: var(--primary-color); font-size: 1.25rem;
    margin-bottom: 1rem; padding-right: 50px;
    display: flex; align-items: center; gap: 0.5rem;
}
.time-saved {
    display: inline-block; background: var(--success-color); color: white;
    padding: 0.25rem 0.75rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600; margin-left: 0.5rem;
}
.cost-badge {
    display: inline-block; background: var(--accent-color); color: var(--dark-color);
    padding: 0.25rem 0.75rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600; margin-left: 0.5rem;
}

/* Info Boxes */
.info-box {
    background: var(--light-bg); border-left: 4px solid var(--primary-color);
    padding: 1rem; margin: 1.5rem 0; border-radius: 0 8px 8px 0;
}
.info-box.warning { background: #fff3cd; border-left-color: var(--accent-color); }
.info-box.success { background: #d4edda; border-left-color: var(--success-color); }
.info-box h4 { font-size: 1rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }

/* Comparison Table */
.comparison-table { overflow-x: auto; margin: 2rem 0; }
.comparison-table table {
    width: 100%; min-width: 500px; border-collapse: collapse;
    background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px; overflow: hidden;
}
.comparison-table th {
    background: var(--primary-color); color: white;
    padding: 1rem; text-align: left; font-weight: 600;
}
.comparison-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: var(--light-bg); }

/* Content Image */
.content-image {
    width: 100%; height: auto; border-radius: 12px;
    margin: 1.5rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.image-credit {
    font-size: 0.75rem; color: #6c757d; text-align: right;
    margin-top: -1rem; margin-bottom: 1.5rem;
}

/* Map */
#map {
    height: 350px; border-radius: 12px; margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 1;
}

/* Sidebar */
.sidebar { margin-top: 2rem; }
.sidebar-card {
    background: white; border-radius: 12px; padding: 1.5rem;
    margin-bottom: 1.5rem; box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}
.sidebar-card h3 {
    font-size: 1.1rem; color: var(--primary-color); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { margin-bottom: 0.75rem; }
.sidebar-links a {
    color: var(--dark-color); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease; font-size: 0.95rem;
}
.sidebar-links a:hover { color: var(--primary-color); transform: translateX(5px); }

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white; padding: 2rem; border-radius: 15px;
    text-align: center; margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0,86,179,0.3);
}
.cta-section h2 { font-size: 1.5rem; margin-bottom: 1rem; border: none !important; padding: 0 !important; color: white !important; }
.cta-section p { margin-bottom: 1.5rem; opacity: 0.95; }
.btn-cta {
    background: white; color: var(--primary-color);
    padding: 0.75rem 2rem; border-radius: 50px;
    text-decoration: none; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s ease; box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); color: var(--primary-color); }

/* Footer */
footer {
    background: var(--dark-color); color: white;
    padding: 3rem 0 1rem; margin-top: 4rem;
}
footer h4 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--accent-color); }
footer ul { list-style: none; padding: 0; }
footer li { margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: white; }

/* Responsive */
@media (min-width: 768px) {
    .page-header h1 { font-size: 2.25rem; }
    .article-content { padding: 2.5rem; }
    .summary-items { grid-template-columns: repeat(2, 1fr); }
    .trick-card { padding: 2rem; }
}
@media (min-width: 992px) {
    .content-wrapper { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; }
    .page-header h1 { font-size: 2.5rem; }
    .sidebar { margin-top: 0; position: sticky; top: 80px; height: fit-content; }
}

/* Print */
@media print {
    .navbar, footer, .sidebar, .cta-section, .skip-link { display: none; }
    .article-content { box-shadow: none; border: 1px solid #000; }
    .trick-card { page-break-inside: avoid; }
}
