/*
 * Storefront core helpers & SectionRegistry tokens.
 * Theme styles live in public/client-assets/css/theme.css.
 */

:root {
    --client-ink: #172033;
    --client-muted: #526078;
    --client-line: #e6eaf0;
    --client-accent: #2f5596;
    --client-shell: 1170px;
}

/* Persisted semantic heading overrides. These classes intentionally beat an
 * imported theme's utility size so changing H1/H2/etc. is visible as well as
 * correct in the DOM. "Default" removes them and returns to the theme. */
.client-content-heading-h1 {
    font-size: 2.5rem !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
}
.client-content-heading-h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    font-weight: 750 !important;
}
.client-content-heading-h3 {
    font-size: 1.625rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}
.client-content-heading-h4 {
    font-size: 1.375rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}
.client-content-heading-h5 {
    font-size: 1.125rem !important;
    line-height: 1.4 !important;
    font-weight: 650 !important;
}
.client-content-heading-h6 {
    font-size: 1rem !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
}
.client-content-format-p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}
.client-content-list-ul,
.client-content-list-ol {
    display: block !important;
    margin: 0.75rem 0 !important;
    padding-inline-start: 1.75rem !important;
}
.client-content-list-ul {
    list-style: disc outside !important;
}
.client-content-list-ol {
    list-style: decimal outside !important;
}
.client-content-list-ul > li,
.client-content-list-ol > li {
    display: list-item !important;
}

.client-empty {
    padding: 48px 0;
    text-align: center;
    color: var(--client-muted);
}

/* Editable regions -------------------------------------------------------- */

/* Rendered only for an admin: a region emptied on purpose still needs a
   handle, or it can never be restored. */
.client-block-empty {
    min-height: 20px;
    min-width: 60px;
    display: inline-block;
}

/*
 * Section appearance tokens.
 *
 * `App\Support\SectionRegistry` maps a stored token to one of these classes, and
 * the database only ever holds the token. Repainting a token is therefore a
 * change here and nowhere else — no UPDATE across the rows that chose it.
 *
 * Every class the registry can emit must exist below. There is no build step on
 * the client side to notice a missing one, so SectionSettingsTest asserts it.
 */
.client-section--bg-light {
    background: #fff;
}
.client-section--bg-muted {
    background: #f6f8fc;
}
.client-section--bg-dark {
    background: var(--client-ink);
    color: #fff;
}
/* Reads the accent through the variable so a per-section colour, when one is
   picked, repaints this without a second rule. */
.client-section--bg-primary {
    background: var(--client-accent);
    color: #fff;
}
.client-section--bg-dark a,
.client-section--bg-primary a {
    color: #fff;
}

.client-section--align-left {
    text-align: left;
}
.client-section--align-center {
    text-align: center;
}
.client-section--align-right {
    text-align: right;
}

.client-section--pad-none {
    padding-block: 0;
}
.client-section--pad-sm {
    padding-block: 16px;
}
.client-section--pad-md {
    padding-block: 32px;
}
.client-section--pad-lg {
    padding-block: 64px;
}

/*
 * A colour the editor picked, arriving as an inline custom property because no
 * stylesheet can hold a rule for a value invented at pick time. Redefining the
 * theme's own variable inside the section is what makes links and the primary
 * background follow along without a rule per component.
 */
.client-section--accent {
    --client-accent: var(--client-section-accent, #2f5596);
}

/*
 * A section an editor hid. Only ever rendered for an editor — a visitor gets no
 * element at all — so this is editor chrome and may say so loudly.
 */
.client-section--hidden {
    opacity: 0.42;
    outline: 1px dashed #97a4b8;
    outline-offset: 2px;
}

/* Rich content (CMS pages, posts): the theme wraps bodies in .prose but ships no typography for it,
   so headings rendered at body size and lists without markers. Unlayered, so it wins over the
   Tailwind preflight in theme.css. */
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.75rem 0 .75rem; font-size: 1.375rem; line-height: 1.35; font-weight: 700; color: #222; }
.prose h3 { margin: 1.4rem 0 .5rem; font-size: 1.125rem; line-height: 1.4; font-weight: 700; color: #222; }
.prose p { margin: 0 0 .9rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.4rem; list-style: disc; }
.prose ol { margin: 0 0 1rem; padding-left: 1.6rem; list-style: decimal; }
.prose li { margin: .3rem 0; }
.prose a { color: var(--color-primary, #2f5596); text-decoration: underline; }
.prose figure { margin: 1.25rem 0; text-align: center; }
.prose figure img { display: inline-block; max-width: 100%; height: auto; border-radius: 6px; }
.prose figcaption { margin-top: .5rem; font-size: 13px; font-style: italic; color: #666; }
.prose table { width: 100%; margin: 0 0 1rem; border-collapse: collapse; }
.prose th, .prose td { padding: .5rem .75rem; border: 1px solid #e5e5e5; text-align: left; vertical-align: top; }

/* Card grid used by the about / services page bodies. */
.prose .ltp-motto { margin: 0 0 1.25rem; font-size: 1.05rem; text-align: center; color: var(--color-primary, #2f5596); }
.prose .ltp-cards { display: grid; gap: 1rem; margin: 1rem 0 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .prose .ltp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .prose .ltp-cards:not(.ltp-cards--two) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.prose .ltp-card { padding: 1.25rem; border: 1px solid #eee; border-top: 3px solid var(--color-primary, #2f5596); border-radius: 8px; background: #fff; }
.prose .ltp-card > h2, .prose .ltp-card > h3 { margin-top: 0; }
.prose .ltp-card > p:last-child { margin-bottom: 0; }

/* About page ("Giới thiệu") — full-width CMS page body: the page HTML carries .page-title-banner,
   so client.pages.show renders it without its own banner/white box. */
.ltp-wrap { max-width: 1170px; margin: 0 auto; padding: 0 16px; }
.ltp-accent { color: var(--color-primary, #2f5596); }
.ltp-eyebrow { margin: 0 0 .35rem; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-primary, #2f5596); }
.ltp-eyebrow::before { content: "/ "; }
.ltp-h2 { margin: 0 0 1.25rem; font-size: 26px; line-height: 1.25; font-weight: 800; color: #1c2430; }
.ltp-icon { width: 44px; height: 44px; flex: none; color: var(--color-primary, #2f5596); }
.ltp-sec { padding: 48px 0; }

.page-title-banner.ltp-hero { display: block; text-align: left; min-height: 0; padding: 56px 0 60px; overflow: hidden; background: #1c2430; }
.page-title-banner.ltp-hero::before { background: linear-gradient(90deg, rgba(10, 16, 26, .92) 0%, rgba(10, 16, 26, .7) 45%, rgba(10, 16, 26, .15) 100%); }
.ltp-hero .ltp-hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.ltp-hero__crumb { margin-bottom: 14px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.ltp-hero__crumb a { color: #fff; }
.ltp-hero__crumb span { margin: 0 4px; }
.ltp-hero__title { max-width: 620px; margin: 0 0 14px; font-size: 34px; line-height: 1.25; font-weight: 800; color: #fff; }
.ltp-hero__lead { max-width: 560px; margin: 0; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .88); }

.ltp-intro__grid { display: grid; gap: 32px; align-items: center; }
.ltp-intro__text p { margin: 0 0 14px; font-size: 15px; line-height: 1.75; color: #3a4350; }
.ltp-intro__media { position: relative; }
.ltp-intro__media > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.ltp-intro__card { display: flex; gap: 14px; max-width: 360px; margin: -60px 0 0 auto; position: relative; padding: 18px; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(20, 30, 50, .14); }
.ltp-intro__card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #1c2430; }
.ltp-intro__card p { margin: 0; font-size: 13px; line-height: 1.6; color: #5b6573; }

.ltp-products { background: #f2f5f9; }
.ltp-prod-grid { display: grid; gap: 12px; }
.ltp-prod { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e6ebf1; border-radius: 10px; background: #fff; color: #1c2430; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.ltp-prod:hover { border-color: var(--color-primary, #2f5596); box-shadow: 0 8px 20px rgba(47, 85, 150, .12); }
.ltp-prod__no { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 2px solid var(--color-primary, #2f5596); border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--color-primary, #2f5596); }
.ltp-prod > img, .ltp-prod__icon { flex: none; width: 64px; height: 64px; object-fit: contain; }
.ltp-prod__icon { padding: 8px; color: #6b7480; }
.ltp-prod__txt { flex: 1; min-width: 0; }
.ltp-prod__txt strong { display: block; font-size: 14px; line-height: 1.35; }
.ltp-prod__txt small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: #6b7480; }
.ltp-prod__go { flex: none; font-size: 22px; line-height: 1; color: var(--color-primary, #2f5596); }

.ltp-vision__grid { display: grid; gap: 20px; }
.ltp-vcard { display: flex; gap: 18px; padding: 24px; border-radius: 12px; }
.ltp-vcard--warm { background: #eaf0f9; }
.ltp-vcard--cool { background: #eef3fb; }
.ltp-vcard--cool .ltp-icon { color: #1f5fbf; }
.ltp-vcard h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #1c2430; }
.ltp-vcard p { margin: 0; font-size: 14.5px; line-height: 1.7; color: #4a5260; }

.ltp-values { padding-top: 8px; }
.ltp-values__head { display: grid; gap: 8px; align-items: end; margin-bottom: 20px; }
.ltp-values__head .ltp-h2 { margin-bottom: 0; }
.ltp-values__motto { margin: 0; text-align: center; color: var(--color-primary, #2f5596); }
.ltp-values__motto strong { display: block; font-size: 15px; letter-spacing: .02em; }
.ltp-values__motto span { display: block; font-size: 14px; }
.ltp-values__grid { display: grid; gap: 14px; }
.ltp-value { padding: 20px; border: 1px solid #e6ebf1; border-radius: 10px; background: #fff; }
.ltp-value .ltp-icon { width: 40px; height: 40px; margin-bottom: 10px; }
.ltp-value h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #1c2430; }
.ltp-value p { margin: 0; font-size: 13.5px; line-height: 1.65; color: #5b6573; }

.ltp-stats { padding: 26px 0; background: #eaf0f9; }
.ltp-stats__grid { display: grid; gap: 18px; }
.ltp-stat { display: flex; align-items: center; gap: 14px; }
.ltp-stat small { display: block; font-size: 12.5px; font-weight: 600; color: #1c2430; }
.ltp-stat strong { display: block; font-size: 26px; line-height: 1.15; font-weight: 800; color: var(--color-primary, #2f5596); }
.ltp-stat span { display: block; font-size: 12.5px; color: #5b6573; }

@media (min-width: 640px) {
    .ltp-prod-grid, .ltp-values__grid, .ltp-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .ltp-hero__title { font-size: 40px; }
    .ltp-h2 { font-size: 30px; }
    .ltp-intro__grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
    .ltp-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ltp-vision__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ltp-values__head { grid-template-columns: auto 1fr; gap: 40px; }
    .ltp-values__grid, .ltp-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ltp-stat + .ltp-stat { padding-left: 18px; border-left: 1px solid rgba(28, 36, 48, .12); }
}

/* Services page ("Dịch vụ") — reuses the about page's .ltp-* hero, headings and stats. */
.ltp-center { text-align: center; }
.ltp-eyebrow.ltp-center::before { content: "/ "; }
.ltp-hero__title--xl { font-size: 40px; text-transform: uppercase; letter-spacing: .02em; }
.ltp-hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; padding: 0; list-style: none; }
.ltp-hero__badges li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #fff; }
.ltp-hero__badges svg { width: 30px; height: 30px; padding: 6px; border: 1.5px solid var(--color-primary, #2f5596); border-radius: 50%; color: var(--color-primary, #2f5596); }

.ltp-svc-head { display: grid; gap: 12px; margin-bottom: 24px; }
.ltp-svc-head > p { margin: 0; font-size: 14.5px; line-height: 1.75; color: #4a5260; }
.ltp-svc-grid { display: grid; gap: 18px; }
.ltp-svc { display: grid; overflow: hidden; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(20, 30, 50, .05); }
.ltp-svc__body { display: flex; flex-direction: column; padding: 20px; }
.ltp-svc__title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ltp-svc__title h3 { margin: 0; font-size: 19px; font-weight: 800; color: #1c2430; }
.ltp-svc__no { padding: 3px 10px; border-radius: 999px; background: var(--color-primary, #2f5596); font-size: 14px; font-weight: 700; color: #fff; }
.ltp-svc__row { display: flex; gap: 14px; }
.ltp-svc__row .ltp-icon { width: 38px; height: 38px; }
.ltp-svc__row p { margin: 0; font-size: 13.5px; line-height: 1.7; color: #4a5260; }
.ltp-svc__more { align-self: flex-start; margin: 14px 0 0 52px; font-size: 13.5px; font-weight: 700; color: var(--color-primary, #2f5596); text-decoration: none; }
.ltp-svc__more:hover span { margin-left: 4px; }
.ltp-svc__img { display: block; width: 100%; height: 200px; object-fit: cover; }
.ltp-svc__img--contain { object-fit: contain; background: #fff; }

.ltp-process { background: #f2f5f9; }
.ltp-steps { display: grid; gap: 14px; margin: 0; padding: 20px; list-style: none; border-radius: 12px; background: #fff; }
.ltp-step { text-align: center; position: relative; }
.ltp-step__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 10px; border-radius: 50%; background: #eaf0f9; color: var(--color-primary, #2f5596); }
.ltp-step:first-child .ltp-step__icon { background: var(--color-primary, #2f5596); color: #fff; }
.ltp-step__icon svg { width: 28px; height: 28px; }
.ltp-step h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #1c2430; }
.ltp-step h3 span { color: var(--color-primary, #2f5596); }
.ltp-step p { margin: 0; font-size: 13px; line-height: 1.6; color: #5b6573; }

.ltp-why__grid { display: grid; gap: 14px; }
.ltp-why__item { display: flex; gap: 14px; padding: 18px; border: 1px solid #e6ebf1; border-radius: 10px; background: #fff; }
.ltp-why__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: #eaf0f9; color: var(--color-primary, #2f5596); }
.ltp-why__icon svg { width: 26px; height: 26px; }
.ltp-why__item h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #1c2430; }
.ltp-why__item p { margin: 0; font-size: 13px; line-height: 1.6; color: #5b6573; }

.ltp-stats--dark { padding: 34px 0 90px; background: #1c2430; }
.ltp-stats--dark .ltp-stat strong { color: #fff; }
.ltp-stats--dark .ltp-stat small { color: #fff; }
.ltp-stats--dark .ltp-stat span { color: rgba(255, 255, 255, .7); }
.ltp-stats--dark .ltp-stat + .ltp-stat { border-color: rgba(255, 255, 255, .15); }
.ltp-cta-wrap { margin-top: -62px; padding-bottom: 40px; position: relative; }
.ltp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 22px 24px; border-radius: 14px; background: linear-gradient(90deg, #2f5596, #8db4f5); color: #fff; box-shadow: 0 14px 30px rgba(47, 85, 150, .28); }
.ltp-cta .ltp-icon { color: #fff; }
.ltp-cta__text { flex: 1 1 280px; }
.ltp-cta__text h2 { margin: 0 0 4px; font-size: 19px; line-height: 1.35; font-weight: 600; color: #fff; }
.ltp-cta__text strong { font-weight: 800; }
.ltp-cta__text p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.ltp-cta__btn { padding: 11px 20px; border: 1.5px solid #fff; border-radius: 8px; font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; }
.ltp-cta__btn--solid { background: #fff; color: var(--color-primary, #2f5596); }

@media (min-width: 640px) {
    .ltp-why__grid, .ltp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .ltp-hero__title--xl { font-size: 52px; }
    .ltp-svc-head { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: end; }
    .ltp-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ltp-svc { grid-template-columns: 1.7fr 1fr; }
    .ltp-svc__img { height: 100%; min-height: 230px; }
    .ltp-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 28px 20px; }
    .ltp-step + .ltp-step::before { content: "›"; position: absolute; top: 18px; left: -10px; font-size: 22px; color: #b8c0cb; }
    .ltp-why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* News pages (blog/category, blog-card, blog-sidebar). */
.ltp-news-hero { position: relative; padding: 64px 0; background-color: #1c2430; background-size: cover; background-position: 70% 55%; overflow: hidden; }
.ltp-news-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 16, 26, .94) 0%, rgba(10, 16, 26, .75) 50%, rgba(10, 16, 26, .25) 100%); }
.ltp-news-hero::after { content: ""; position: absolute; left: -150px; bottom: -40px; width: 170px; height: 260px; background: var(--color-primary, #2f5596); transform: skewX(-38deg); opacity: .85; }
.ltp-news-hero > * { position: relative; z-index: 1; }
.ltp-news-hero__title { margin: 0 0 10px; font-size: 32px; line-height: 1.2; font-weight: 800; text-transform: uppercase; color: #fff; }
.ltp-news-hero__lead { max-width: 640px; margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); }

.ltp-news { padding: 0 0 48px; }
.ltp-news__crumb { padding: 14px 0 18px; font-size: 13px; color: #6b7480; }
.ltp-news__crumb a { color: #6b7480; text-decoration: none; }
.ltp-news__crumb a:hover { color: var(--color-primary, #2f5596); }
.ltp-news__crumb span { margin: 0 4px; }
.ltp-news__layout { display: flex; flex-direction: column; gap: 28px; }
.ltp-news__main { flex: 1; min-width: 0; }
.ltp-news__result { margin: 0 0 14px; font-size: 14px; color: #4a5260; }
.ltp-news__empty { padding: 40px; border: 1px solid #e6ebf1; border-radius: 10px; background: #fff; text-align: center; }

.ltp-news-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.ltp-news-tabs__item { padding: 9px 18px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: #1c2430; text-decoration: none; transition: background .2s, color .2s; }
.ltp-news-tabs__item:hover { color: var(--color-primary, #2f5596); }
.ltp-news-tabs__item.is-active { background: var(--color-primary, #2f5596); color: #fff; }

.ltp-news-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.ltp-news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6ebf1; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px rgba(20, 30, 50, .04); transition: box-shadow .2s, transform .2s; }
.ltp-news-card:hover { box-shadow: 0 12px 26px rgba(20, 30, 50, .1); transform: translateY(-2px); }
.ltp-news-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #f4f5f7; }
.ltp-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ltp-news-card:hover .ltp-news-card__media img { transform: scale(1.04); }
.ltp-news-card__badge { position: absolute; left: 14px; bottom: 10px; padding: 4px 10px; border-radius: 4px; background: var(--color-primary, #2f5596); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.ltp-news-card__body { display: flex; flex: 1; flex-direction: column; padding: 14px 16px 16px; }
.ltp-news-card__date { align-self: flex-end; margin-bottom: 6px; font-size: 12px; color: #8a929d; }
.ltp-news-card__title { margin: 0 0 8px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.ltp-news-card__title a { color: #1c2430; text-decoration: none; }
.ltp-news-card__title a:hover { color: var(--color-primary, #2f5596); }
.ltp-news-card__excerpt { display: -webkit-box; margin: 0 0 12px; overflow: hidden; font-size: 13.5px; line-height: 1.6; color: #5b6573; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.ltp-news-card__more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--color-primary, #2f5596); text-decoration: none; }

.ltp-news-side { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.ltp-news-side__box { padding: 18px; border: 1px solid #e6ebf1; border-radius: 10px; background: #fff; }
.ltp-news-side__title { margin: 0 0 14px; font-size: 15px; font-weight: 800; text-transform: uppercase; color: #1c2430; }
.ltp-news-search { display: flex; }
.ltp-news-search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #dfe4ea; border-right: 0; border-radius: 6px 0 0 6px; font-size: 13.5px; outline: none; }
.ltp-news-search input:focus { border-color: var(--color-primary, #2f5596); }
.ltp-news-search button { display: grid; place-items: center; width: 44px; height: 40px; border: 0; border-radius: 0 6px 6px 0; background: var(--color-primary, #2f5596); color: #fff; cursor: pointer; }
.ltp-news-search button svg { width: 18px; height: 18px; }
.ltp-news-recent { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ltp-news-recent li { display: flex; gap: 12px; }
.ltp-news-recent__thumb { flex: none; width: 80px; height: 56px; overflow: hidden; border-radius: 6px; background: #f4f5f7; }
.ltp-news-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ltp-news-recent__title { display: -webkit-box; overflow: hidden; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: #1c2430; text-decoration: none; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ltp-news-recent__title:hover { color: var(--color-primary, #2f5596); }
.ltp-news-recent time { display: block; margin-top: 3px; font-size: 12px; color: var(--color-primary, #2f5596); }
.ltp-news-cats { margin: 0; padding: 0; list-style: none; }
.ltp-news-cats li + li { border-top: 1px solid #eef1f5; }
.ltp-news-cats a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; color: #1c2430; text-decoration: none; }
.ltp-news-cats a:hover span { color: var(--color-primary, #2f5596); }
.ltp-news-cats svg { flex: none; width: 20px; height: 20px; color: var(--color-primary, #2f5596); }
.ltp-news-cats span { flex: 1; }
.ltp-news-cats small { font-size: 13px; color: #8a929d; }

@media (min-width: 640px) {
    .ltp-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .ltp-news-hero { padding: 80px 0; }
    .ltp-news-hero__title { font-size: 44px; }
    .ltp-news__layout { flex-direction: row; align-items: flex-start; }
    .ltp-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ltp-news-side { flex: none; width: 290px; }
}

/* Contact page (pages/contact). Reuses .ltp-why / .ltp-eyebrow / .ltp-h2 from the about pages. */
.ltp-contact-hero { position: relative; padding: 56px 0; overflow: hidden; background-color: #1c2430; background-size: cover; background-position: 60% 40%; }
.ltp-contact-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 16, 26, .94) 0%, rgba(10, 16, 26, .72) 55%, rgba(10, 16, 26, .3) 100%); }
.ltp-contact-hero::after { content: ""; position: absolute; left: -150px; bottom: -40px; width: 170px; height: 220px; background: var(--color-primary, #2f5596); transform: skewX(-38deg); opacity: .85; }
.ltp-contact-hero__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ltp-contact-hero__title { margin: 0 0 10px; font-size: 34px; line-height: 1.15; font-weight: 800; text-transform: uppercase; color: #fff; }
.ltp-contact-hero__lead { max-width: 520px; margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.ltp-contact-hero__crumb { font-size: 13px; color: rgba(255, 255, 255, .75); }
.ltp-contact-hero__crumb a { color: #fff; text-decoration: none; }
.ltp-contact-hero__crumb span { margin: 0 4px; }
.ltp-contact-hero__icons { display: none; position: relative; width: 220px; height: 160px; flex: none; }
.ltp-contact-hero__icons span { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(4px); }
.ltp-contact-hero__icons svg { width: 45%; height: 45%; }
.ltp-contact-hero__icons .is-phone { top: 0; left: 70px; width: 76px; height: 76px; }
.ltp-contact-hero__icons .is-mail { top: 70px; left: 0; width: 58px; height: 58px; }
.ltp-contact-hero__icons .is-pin { top: 96px; left: 130px; width: 58px; height: 58px; }

.ltp-contact { padding: 32px 0 40px; }
.ltp-contact-top { display: grid; gap: 20px; margin-bottom: 24px; }
.ltp-contact-map { min-height: 320px; overflow: hidden; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; }
.ltp-contact-map iframe { display: block; min-height: 320px; }
.ltp-contact-info { padding: 24px; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; }
.ltp-contact-info__logo { display: block; width: auto; height: 40px; margin-bottom: 10px; }
.ltp-contact-info__company { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #4a5260; }
.ltp-contact-info ul { margin: 0; padding: 0; list-style: none; }
.ltp-contact-info li { display: flex; gap: 14px; padding: 14px 0; }
.ltp-contact-info li + li { border-top: 1px solid #eef1f5; }
.ltp-contact-info__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #eaf0f9; color: var(--color-primary, #2f5596); }
.ltp-contact-info__icon svg { width: 22px; height: 22px; }
.ltp-contact-info strong { display: block; margin-bottom: 2px; font-size: 14.5px; color: #1c2430; }
.ltp-contact-info li span, .ltp-contact-info li a { font-size: 14px; line-height: 1.5; color: #4a5260; text-decoration: none; word-break: break-word; }
.ltp-contact-info li a.ltp-accent { font-weight: 700; color: var(--color-primary, #2f5596); }

.ltp-contact-form-card { display: grid; gap: 24px; padding: 24px; border: 1px solid #e6ebf1; border-radius: 12px; background: #fff; }
.ltp-contact-form-card__text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: #4a5260; }
.ltp-contact-form-card__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.ltp-contact-form { padding: 20px; border: 1px solid #eef1f5; border-radius: 10px; }
.ltp-contact-form__row { display: grid; gap: 6px; margin-bottom: 14px; }
.ltp-contact-form__row label { font-size: 14px; font-weight: 500; color: #1c2430; }
.ltp-contact-form input, .ltp-contact-form select, .ltp-contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #dfe4ea; border-radius: 6px; background: #fff; font-size: 14px; color: #1c2430; outline: none; }
.ltp-contact-form input:focus, .ltp-contact-form select:focus, .ltp-contact-form textarea:focus { border-color: var(--color-primary, #2f5596); }
.ltp-contact-form textarea { resize: vertical; }
.ltp-contact-form__submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border: 0; border-radius: 6px; background: var(--color-primary, #2f5596); font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; transition: filter .2s; }
.ltp-contact-form__submit:hover { filter: brightness(.95); }
.ltp-contact-form__submit svg { width: 20px; height: 20px; }

.ltp-contact-cta { padding: 26px 0; background: #1c2430; }
.ltp-contact-cta__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.ltp-contact-cta__icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--color-primary, #2f5596); color: #fff; }
.ltp-contact-cta__icon svg { width: 28px; height: 28px; }
.ltp-contact-cta__text { flex: 1 1 260px; }
.ltp-contact-cta__text h2 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: #fff; }
.ltp-contact-cta__text p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .8); }
.ltp-contact-cta__btn { padding: 13px 28px; border-radius: 8px; background: var(--color-primary, #2f5596); font-size: 20px; font-weight: 800; color: #fff; text-decoration: none; white-space: nowrap; }

@media (min-width: 1024px) {
    .ltp-contact-hero { padding: 64px 0; }
    .ltp-contact-hero__title { font-size: 46px; }
    .ltp-contact-hero__icons { display: block; }
    .ltp-contact-top { grid-template-columns: 1.75fr 1fr; }
    .ltp-contact-map, .ltp-contact-map iframe { min-height: 380px; }
    .ltp-contact-form-card { grid-template-columns: 1fr 1.1fr; gap: 32px; padding: 28px; }
    .ltp-contact-form__row { grid-template-columns: 130px 1fr; align-items: center; }
    .ltp-contact-form__row--top { align-items: start; }
    .ltp-contact-form__row--top label { padding-top: 10px; }
}

/* Product card: real product photo fades in over the catalog cut on hover (component product-card). */
.product-card__photo { position: relative; display: block; }
.product-card__image .product-card__real-photo { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.product-card__real-tag { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 4px; background: rgba(28, 36, 48, .78); font-size: 11px; font-weight: 600; color: #fff; opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.product-card:hover .product-card__real-photo, .product-card:focus-within .product-card__real-photo,
.product-card:hover .product-card__real-tag, .product-card:focus-within .product-card__real-tag { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .product-card__real-photo, .product-card__real-tag { transition: none; } }

/* Header logo: the theme's h-[34px] utility is not in the built theme.css, so the logo only looked right
   while the image itself was 34px tall. Size it here for any uploaded logo. */
#logo img { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
@media (min-width: 1024px) { #logo img { height: 48px; } }
.ltp-vision__grid--single { grid-template-columns: 1fr !important; }

/* Primary nav: product dropdown (level 1 of navigation-branch) — icon, label, chevron rows in a card. */
.client-nav-level-0 > .has-dropdown > .nav-dropdown.client-nav-level-1 { top: calc(100% + 10px); min-width: 320px; padding: 8px; border-radius: 12px; box-shadow: 0 18px 40px rgba(20, 30, 50, .16); }
.client-nav-level-0 > .has-dropdown > .nav-dropdown.client-nav-level-1::before { content: ""; position: absolute; z-index: 1; top: -7px; left: 72px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.client-nav-level-0 > .has-dropdown > .nav-dropdown.client-nav-level-1::after { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; } /* hover bridge over the gap */
.client-nav-level-1 > li + li { border-top: 1px solid #eef1f5; }
.client-nav-level-1 > li:hover, .client-nav-level-1 > li:hover + li { border-top-color: transparent; }
.nav-dropdown .nav-sub-link { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 8px; font-size: 16px; font-weight: 500; color: #1c2430; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav-dropdown .nav-sub-link:hover, .nav-dropdown .nav-sub-link:focus-visible, .nav-dropdown .nav-sub-link[aria-current="page"] { background: #eaf0f9; color: var(--color-primary, #2f5596); }
.nav-sub-link .nav-ico { flex: none; width: 34px; height: 34px; color: #1c2430; }
.nav-sub-link .nav-ico .nav-ico-a { stroke: var(--color-primary, #2f5596); }
.nav-sub-link .nav-ico .nav-ico-fill { fill: var(--color-primary, #2f5596); }
.nav-sub-link:hover .nav-ico, .nav-sub-link:focus-visible .nav-ico, .nav-sub-link[aria-current="page"] .nav-ico { color: var(--color-primary, #2f5596); }
.nav-sub-link__label { flex: 1; }
.nav-sub-link__chevron { flex: none; width: 18px; height: 18px; color: #9aa2ad; transition: transform .2s, color .2s; }
.nav-sub-link:hover .nav-sub-link__chevron, .nav-sub-link:focus-visible .nav-sub-link__chevron { color: var(--color-primary, #2f5596); transform: translateX(2px); }

/* Shop sidebar: collapsible category branches (shop-sidebar + initCategoryAccordion in components.js). */
#shop-sidebar li.cat-parent { position: relative; }
#shop-sidebar li.cat-parent > .cat-item__link { padding-right: 40px; }
#shop-sidebar .cat-item__toggle { position: absolute; top: 7px; right: 4px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #94a3b8; cursor: pointer; transition: background-color .2s, color .2s; }
#shop-sidebar .cat-item__toggle:hover, #shop-sidebar .cat-item__toggle:focus-visible { background: #eaf0f9; color: var(--color-primary, #2f5596); }
#shop-sidebar .cat-item__toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
#shop-sidebar li.cat-parent.is-open > .cat-item__toggle svg { transform: rotate(90deg); }
#shop-sidebar .product-categories.is-accordion li.cat-parent:not(.is-open) > .cat-children { display: none; }
#shop-sidebar .widget ul.product-categories.is-accordion { max-height: none; overflow: visible; }

/* Brand colour on dark banners: the logo blue is too dark on the navy overlays, use its light tint. */
.ltp-hero .ltp-accent, .ltp-hero__crumb .ltp-accent { color: #8db4f5; }
.ltp-hero__badges svg { color: #8db4f5; border-color: #8db4f5; }
.ltp-stats--dark .ltp-stat .ltp-icon, .ltp-contact-cta__text h2 strong { color: #8db4f5; }
.page-title-banner.ltp-hero::after, .ltp-news-hero::after, .ltp-contact-hero::after { background: #4d75bd; }

/* Home vertical category box: device icons (navigation-icon) instead of the demo flame, thin scrollbar
   when the list is longer than the banner block (initVmenuFit). */
.vmenu .nav-ico { width: 24px; height: 24px; margin-right: 10px; flex: none; color: #1c2430; }
.vmenu .nav-ico .nav-ico-a { stroke: var(--color-primary, #2f5596); }
.vmenu .nav-ico .nav-ico-fill { fill: var(--color-primary, #2f5596); }
.vmenu nav { scrollbar-width: thin; }

/* Home brand strip: logo when the brand has one, else its name (pages/home). */
.home-brand-tile { display: flex; align-items: center; justify-content: center; height: 100px; padding: 0 12px; border: 1px solid #eef1f5; border-radius: 8px; background: #fff; color: #1c2430; font-size: 14px; font-weight: 700; letter-spacing: .03em; text-align: center; text-transform: uppercase; text-decoration: none; transition: border-color .2s, color .2s; }
.home-brand-tile:hover { border-color: var(--color-primary, #2f5596); color: var(--color-primary, #2f5596); }
.home-brand-tile img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* Footer headings are authored in natural case (editable regions); the design shows them in capitals. */
.mbws-footer-heading, .mbws-newsletter__title { text-transform: uppercase; }
.mbws-newsletter__perks .client-list-item, .mbws-newsletter__perks > div { display: inline-flex; align-items: center; gap: 4px; }
.pd-consult-banner__btn { text-transform: uppercase; }

/* Home category box: a long label wraps onto a second line inside its row instead of overlapping the next. */
.vmenu .vmenu-list > li > a,
.vmenu .vmenu-list > li > span { height: auto !important; min-height: 40px; padding-top: 8px; padding-bottom: 8px; line-height: 1.35; }
.vmenu nav { overscroll-behavior: contain; }

/* Home brand strip: continuous drift (same motion as the category/product brand strips), paused on hover. */
.home-brands-marquee { position: relative; overflow: hidden; padding: 0 15px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 97%, transparent 100%); }
.home-brands-track { display: flex; align-items: center; width: max-content; animation: homeBrandMarquee 45s linear infinite; will-change: transform; }
.home-brands-marquee:hover .home-brands-track, .home-brands-marquee:focus-within .home-brands-track { animation-play-state: paused; }
.home-brands-track .home-brand-tile { flex: 0 0 185px; width: 185px; margin-right: 15px; }
@keyframes homeBrandMarquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .home-brands-track { animation: none; } .home-brands-marquee { overflow-x: auto; } }
