/* ============================================================
   TCB Bearing theme — SKF-style corporate design
   ============================================================ */
:root {
    --tcb-blue: #0072C6;
    --tcb-navy: #00102A;
    --tcb-sky: #7dd3fc;
    --tcb-text: #171717;
    --tcb-muted: #525252;
    --tcb-line: #e5e5e5;
    --tcb-bg: #f5f5f5;
    --tcb-wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--tcb-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--tcb-blue); text-decoration: none; }

.tcb-wrap { max-width: var(--tcb-wrap); margin: 0 auto; padding: 0 24px; }
.tcb-main { min-height: 40vh; }

/* ---------- Header ---------- */
.tcb-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
body.admin-bar .tcb-header { top: 32px; }
/* Utility bar removed 2026-10-22: merged into single masthead bar. */
.tcb-utility { display: none; }

/* Grid: logo | nav (dead center) | actions — side columns equal width (1fr)
   so the nav stays centered in the page regardless of logo/action widths. */
.tcb-masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.tcb-masthead > .tcb-brand { justify-self: start; }
.tcb-masthead > .tcb-masthead-actions { grid-area: 1 / 3; justify-self: end; }
.tcb-masthead > .tcb-masthead-tools { grid-area: 1 / 3; justify-self: end; }
.tcb-brand { display: flex; align-items: center; gap: 10px; }
.tcb-brand img { max-height: 44px; width: auto; }
.tcb-brand-mark { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: var(--tcb-blue); line-height: 1; }
.tcb-brand-sub { font-size: 14px; font-weight: 500; color: #737373; display: none; }
@media (min-width: 640px) { .tcb-brand-sub { display: inline; } }

.tcb-nav { display: none; }
@media (min-width: 1024px) { .tcb-nav { display: flex; justify-self: center; } }
.tcb-nav-list { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.tcb-nav-list a { font-size: 15px; font-weight: 500; color: #262626; }
.tcb-nav-list a:hover, .tcb-nav-list .current-menu-item > a { color: var(--tcb-blue); }

/* Right action zone: search icon, Online Order CTA, language switcher */
.tcb-masthead-actions { display: none; align-items: center; gap: 20px; }
@media (min-width: 1024px) { .tcb-masthead-actions { display: flex; } }
.tcb-masthead-actions .tcb-search-btn { color: #262626; padding: 8px; }
.tcb-masthead-actions .tcb-search-btn svg { width: 20px; height: 20px; }
.tcb-cta-order {
    display: inline-block; background: var(--tcb-blue); color: #fff;
    font-size: 14px; font-weight: 600; line-height: 1;
    padding: 11px 20px; border-radius: 6px; white-space: nowrap;
}
.tcb-cta-order:hover { background: var(--tcb-navy); color: #fff; }
.tcb-switcher--masthead a { font-size: 14px; text-transform: none; font-weight: 500; color: #262626; }
.tcb-switcher--masthead a:hover { color: var(--tcb-blue); }
.tcb-cta-order--mobile { margin: 4px 0 14px; }

.tcb-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.tcb-burger span { width: 22px; height: 2px; background: #262626; }
@media (min-width: 1024px) { .tcb-burger { display: none; } }
.tcb-nav-mobile { display: none; border-top: 1px solid var(--tcb-line); padding: 12px 24px 16px; }
.tcb-nav-mobile .tcb-nav-list { flex-direction: column; align-items: flex-start; gap: 12px; }
body.tcb-menu-open .tcb-nav-mobile { display: block; }

/* ---------- Heroes ---------- */
.tcb-hero { position: relative; }
.tcb-hero-img { width: 100%; height: 560px; object-fit: cover; }
.tcb-hero-img--short { height: 340px; }
.tcb-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,16,42,.9) 0%, rgba(0,16,42,.6) 45%, transparent 100%);
}
.tcb-hero-content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center;
}
.tcb-hero-eyebrow {
    margin: 0 0 12px; font-size: 13px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase; color: var(--tcb-sky);
}
.tcb-hero h1 { margin: 0; max-width: 640px; font-size: 38px; line-height: 1.15; font-weight: 700; color: #fff; }
@media (min-width: 768px) { .tcb-hero h1 { font-size: 58px; } }
.tcb-hero h1--short, .tcb-hero .tcb-hero-title--short { font-size: 36px; }
@media (min-width: 768px) { .tcb-hero .tcb-hero-title--short { font-size: 48px; } }
.tcb-hero-sub { margin: 20px 0 0; max-width: 560px; color: #e5e5e5; font-size: 16px; line-height: 1.7; }
@media (min-width: 768px) { .tcb-hero-sub { font-size: 18px; } }
.tcb-hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Buttons & links ---------- */
.tcb-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 24px; font-size: 14px; font-weight: 600; color: #fff;
    background: var(--tcb-blue); border: 0; cursor: pointer;
    transition: filter .15s;
}
.tcb-btn:hover { filter: brightness(1.15); color: #fff; }
.tcb-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.7); }
.tcb-btn--ghost:hover { background: rgba(255,255,255,.1); filter: none; }
.tcb-arrow-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--tcb-blue); }
.tcb-arrow-link::after { content: "→"; transition: transform .15s; }
.tcb-arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Sections ---------- */
.tcb-section { padding: 80px 0; }
.tcb-section--grey { background: var(--tcb-bg); }
.tcb-section--navy { background: var(--tcb-navy); color: #fff; }
.tcb-h2 { margin: 0; font-size: 28px; font-weight: 700; }
@media (min-width: 768px) { .tcb-h2 { font-size: 36px; } }
.tcb-h2--white { color: #fff; }
.tcb-lead { margin: 12px 0 0; max-width: 640px; color: var(--tcb-muted); }
.tcb-section--navy .tcb-lead { color: #d4d4d4; }
.tcb-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tcb-blue); }
.tcb-section--navy .tcb-eyebrow { color: var(--tcb-sky); }

/* ---------- Cards ---------- */
.tcb-grid { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 768px) { .tcb-grid--3 { grid-template-columns: repeat(3, 1fr); } .tcb-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tcb-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1023.98px) { .tcb-grid--4 { grid-template-columns: repeat(2, 1fr); } }

.tcb-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tcb-line); color: var(--tcb-text); transition: box-shadow .2s; }
.tcb-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.tcb-card-imgwrap { overflow: hidden; }
.tcb-card-img { width: 100%; height: 220px; object-fit: cover; transition: transform .5s; }
.tcb-card:hover .tcb-card-img { transform: scale(1.05); }
.tcb-card-img--sm { height: 160px; }
.tcb-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tcb-card-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--tcb-text); }
.tcb-card-title--sm { font-size: 15px; }
.tcb-card-text { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--tcb-muted); flex: 1; }
.tcb-card-meta { display: flex; gap: 16px; margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tcb-blue); }
.tcb-card-meta span:last-child { color: #737373; }
.tcb-card .tcb-arrow-link { margin-top: 16px; }

/* ---------- Split sections ---------- */
.tcb-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .tcb-split { grid-template-columns: 1fr 1fr; } }
.tcb-split-media { position: relative; }
.tcb-split-media .tcb-frame { width: 100%; border: 1px solid rgba(255,255,255,.1); }
.tcb-split-media .tcb-frame--light { border-color: var(--tcb-line); }
.tcb-split-float {
    display: none; position: absolute; bottom: -32px; left: -32px;
    width: 50%; border: 4px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,.35);
}
@media (min-width: 768px) { .tcb-split-float { display: block; } }
.tcb-split p { line-height: 1.75; }

/* ---------- Stats ---------- */
.tcb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.tcb-stat-num { font-size: 30px; font-weight: 900; color: var(--tcb-blue); }
@media (min-width: 768px) { .tcb-stat-num { font-size: 38px; } }
.tcb-stat-label { margin-top: 4px; font-size: 14px; color: #a3a3a3; }

/* ---------- Lists ---------- */
.tcb-checklist { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.tcb-checklist--2col { grid-template-columns: 1fr; }
@media (min-width: 640px) { .tcb-checklist--2col { grid-template-columns: 1fr 1fr; } }
.tcb-checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #404040; }
.tcb-checklist li::before { content: "›"; color: var(--tcb-blue); font-weight: 700; font-size: 18px; line-height: 1.2; }
.tcb-section--navy .tcb-checklist li { color: #e5e5e5; }

/* ---------- Photo tiles ---------- */
.tcb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tcb-tiles img { width: 100%; height: 176px; object-fit: cover; }
.tcb-tiles .tcb-tiles-wide { grid-column: span 2; height: 224px; }
.tcb-gallery { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .tcb-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tcb-gallery { grid-template-columns: repeat(3, 1fr); } }
.tcb-gallery img { width: 100%; height: 256px; object-fit: cover; }

/* ---------- Timeline ---------- */
.tcb-timeline { margin-top: 40px; }
.tcb-timeline-item { position: relative; border-left: 2px solid var(--tcb-blue); padding: 0 0 40px 32px; }
.tcb-timeline-item:last-child { padding-bottom: 0; }
.tcb-timeline-item::before {
    content: ""; position: absolute; left: -9px; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--tcb-navy); border: 4px solid var(--tcb-blue);
}
.tcb-timeline-year { font-size: 24px; font-weight: 900; color: #fff; }
.tcb-timeline-text { margin: 6px 0 0; max-width: 560px; font-size: 14px; line-height: 1.7; color: #d4d4d4; }

/* ---------- Values ---------- */
.tcb-value { background: #fff; border: 1px solid var(--tcb-line); padding: 24px; }
.tcb-value-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 4px; background: rgba(0,114,198,.1); color: var(--tcb-blue); font-size: 22px; }
.tcb-value h3 { margin: 16px 0 0; font-size: 18px; }
.tcb-value p { margin: 8px 0 0; font-size: 14px; line-height: 1.65; color: var(--tcb-muted); }

/* ---------- CTA band ---------- */
.tcb-cta { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; justify-content: space-between; }
@media (min-width: 768px) { .tcb-cta { flex-direction: row; align-items: center; } }
.tcb-cta h2 { margin: 0; font-size: 24px; font-weight: 700; }
@media (min-width: 768px) { .tcb-cta h2 { font-size: 28px; } }
.tcb-section--navy .tcb-cta h2 { color: #fff; }
.tcb-cta p { margin: 8px 0 0; color: var(--tcb-muted); }
.tcb-section--navy .tcb-cta p { color: #d4d4d4; }

/* ---------- Contact ---------- */
.tcb-channels { display: grid; gap: 24px; }
@media (min-width: 768px) { .tcb-channels { grid-template-columns: repeat(3, 1fr); } }
.tcb-channel { border: 1px solid var(--tcb-line); padding: 24px; }
.tcb-channel h3 { margin: 16px 0 6px; font-size: 18px; }
.tcb-channel p { margin: 4px 0 0; font-size: 14px; color: var(--tcb-muted); }

.tcb-form { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .tcb-form { grid-template-columns: 1fr 1fr; } .tcb-form .tcb-form-full { grid-column: span 2; } }
.tcb-field label { display: block; font-size: 14px; font-weight: 600; }
.tcb-field input, .tcb-field select, .tcb-field textarea {
    margin-top: 6px; width: 100%; padding: 11px 12px;
    border: 1px solid #d4d4d4; background: #fff; font-size: 14px; font-family: inherit;
    outline: none;
}
.tcb-field input:focus, .tcb-field select:focus, .tcb-field textarea:focus { border-color: var(--tcb-blue); }
.tcb-form-note { border: 1px solid #86efac; background: #f0fdf4; padding: 24px; margin-top: 32px; }
.tcb-form-note h3 { margin: 0; color: #166534; }
.tcb-form-note p { margin: 8px 0 0; font-size: 14px; color: #15803d; }
.tcb-form-error { border-color: #fca5a5; background: #fef2f2; }
.tcb-form-error h3 { color: #991b1b; }
.tcb-form-error p { color: #b91c1c; }

.tcb-aside-photo { position: relative; min-height: 320px; height: 100%; overflow: hidden; }
.tcb-aside-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcb-aside-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,16,42,.8), rgba(0,16,42,.9)); }
.tcb-aside-photo-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 32px; min-height: 320px; }
.tcb-aside-photo-text h3 { margin: 0; font-size: 24px; color: #fff; }
.tcb-aside-photo-text p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: #d4d4d4; }

/* ---------- News / posts ---------- */
.tcb-featured { display: grid; border: 1px solid var(--tcb-line); overflow: hidden; color: var(--tcb-text); transition: box-shadow .2s; }
@media (min-width: 1024px) { .tcb-featured { grid-template-columns: 1fr 1fr; } }
.tcb-featured:hover { box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.tcb-featured-img { width: 100%; height: 288px; object-fit: cover; }
@media (min-width: 1024px) { .tcb-featured-img { height: 100%; } }
.tcb-featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .tcb-featured-body { padding: 48px; } }
.tcb-featured-title { margin: 16px 0 0; font-size: 24px; font-weight: 700; line-height: 1.35; color: var(--tcb-text); }
@media (min-width: 768px) { .tcb-featured-title { font-size: 28px; } }
.tcb-featured-excerpt { margin: 16px 0 0; color: var(--tcb-muted); line-height: 1.7; }

/* ---------- Footer ---------- */
.tcb-footer { background: var(--tcb-navy); }
.tcb-footer-grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 640px) { .tcb-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tcb-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.tcb-footer h4 { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.tcb-footer ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.tcb-footer a { font-size: 14px; color: #a3a3a3; }
.tcb-footer a:hover { color: #fff; }
.tcb-footer-bar { border-top: 1px solid rgba(255,255,255,.1); }
.tcb-footer-bar-inner {
    display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: space-between;
    padding-top: 24px; padding-bottom: 24px;
    font-size: 12px; color: #737373; text-align: center;
}
@media (min-width: 640px) { .tcb-footer-bar-inner { flex-direction: row; text-align: left; } }
.tcb-footer-bar-inner .tcb-brand-mark { font-size: 18px; }
.tcb-footer-bar-inner p { margin: 0; }

/* ---------- WordPress content ---------- */
.tcb-content { max-width: 760px; margin: 0 auto; padding: 80px 24px; line-height: 1.8; }
.tcb-content h1, .tcb-content h2, .tcb-content h3 { line-height: 1.3; }
.tcb-content img { height: auto; }
.tcb-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.tcb-pagination .page-numbers {
    padding: 8px 14px; border: 1px solid var(--tcb-line); color: var(--tcb-text); font-size: 14px;
}
.tcb-pagination .page-numbers.current { background: var(--tcb-blue); border-color: var(--tcb-blue); color: #fff; }

/* Polylang language switcher */
.tcb-switcher ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tcb-switcher li { display: inline-flex; }
.tcb-switcher a { color: var(--tcb-muted); font-size: 12px; text-transform: uppercase; text-decoration: none; }
.tcb-switcher a:hover { color: var(--tcb-blue); }
.tcb-switcher .current-lang a { color: var(--tcb-blue); font-weight: 700; }
.tcb-switcher--footer a { color: #737373; }
.tcb-switcher--footer a:hover,
.tcb-switcher--footer .current-lang a { color: #fff; }
