/* Categories hub + LIMKAR INSIGHTS. Builds on the theme (styles.css); brand red #ED2024. */
:root {
    --lk-red: #ED2024;
    --lk-ink: #1c1c1c;
    --lk-muted: #5f5f5f;
    --lk-line: #ececec;
    --lk-soft: #faf6f5;
}

.tf-page-title h1.heading { margin: 0; }
.lk-intro { max-width: 62ch; margin: 12px auto 0; color: var(--lk-muted); text-align: center; line-height: 1.6; }
.lk-section { padding-block: 48px 72px; }
.lk-section + .lk-section { padding-top: 0; }
.lk-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.lk-section-head h2 { font-size: 24px; margin: 0; text-wrap: balance; }
.lk-link { color: var(--lk-red); font-weight: 600; text-decoration: none; }
.lk-link:hover { text-decoration: underline; }

.lk-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lk-grid--products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Category cards */
.lk-cat-card { display: flex; flex-direction: column; border: 1px solid var(--lk-line); border-radius: 10px; overflow: hidden; background: #fff; color: var(--lk-ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.lk-cat-card:hover, .lk-cat-card:focus-visible { box-shadow: 0 10px 28px rgba(0, 0, 0, .08); transform: translateY(-2px); color: var(--lk-ink); }
.lk-cat-card:focus-visible { outline: 2px solid var(--lk-red); outline-offset: 3px; }
.lk-cat-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--lk-soft); overflow: hidden; }
.lk-cat-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.lk-cat-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lk-cat-card__body h2, .lk-cat-card__body h3 { font-size: 19px; margin: 0; }
.lk-cat-card__body p { margin: 0; color: var(--lk-muted); font-size: 14px; line-height: 1.5; }
.lk-cat-card__meta { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--lk-muted); font-variant-numeric: tabular-nums; }
.lk-cat-card__meta span:last-child { color: var(--lk-red); font-weight: 600; }

/* Insights section tiles */
.lk-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--lk-line); border-radius: 10px; background: #fff; color: var(--lk-ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.lk-tile:hover, .lk-tile:focus-visible { border-color: var(--lk-red); box-shadow: 0 8px 22px rgba(237, 32, 36, .08); color: var(--lk-ink); }
.lk-tile:focus-visible { outline: 2px solid var(--lk-red); outline-offset: 3px; }
.lk-tile__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--lk-soft); color: var(--lk-red); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.lk-tile h2, .lk-tile h3 { font-size: 18px; margin: 0 0 6px; }
.lk-tile p { margin: 0; color: var(--lk-muted); font-size: 14px; line-height: 1.5; }
.lk-tile__status { display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--lk-muted); }
.lk-tile__status--live { color: var(--lk-red); font-weight: 600; }

/* Article cards */
.lk-article { display: flex; flex-direction: column; border: 1px solid var(--lk-line); border-radius: 10px; overflow: hidden; background: #fff; }
.lk-article__media { aspect-ratio: 16 / 9; background: var(--lk-soft); }
.lk-article__media img { width: 100%; height: 100%; object-fit: cover; }
.lk-article__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.lk-article__eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lk-red); font-weight: 600; }
.lk-article__body h3 { font-size: 18px; margin: 0; }
.lk-article__body h3 a { color: var(--lk-ink); text-decoration: none; }
.lk-article__body p { margin: 0; color: var(--lk-muted); font-size: 14px; line-height: 1.5; }

/* Video cards: the Instagram embed loads only when the visitor asks for it */
.lk-video { border: 1px solid var(--lk-line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.lk-video__stage { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, #2b2b2b, #111); color: #fff; display: flex; align-items: center; justify-content: center; }
.lk-video__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; z-index: 2; }
.lk-video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.lk-video__play { position: relative; z-index: 1; }
.lk-video__play { display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; color: #fff; cursor: pointer; padding: 24px; text-align: center; font: inherit; }
.lk-video__play-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--lk-red); display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .2s ease; }
.lk-video__play:hover .lk-video__play-icon, .lk-video__play:focus-visible .lk-video__play-icon { transform: scale(1.08); }
.lk-video__play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.lk-video__play small { opacity: .8; }
.lk-video__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.lk-video__body h3 { font-size: 16px; margin: 0; }
.lk-video__source { font-size: 13px; color: var(--lk-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lk-video__source a { color: var(--lk-muted); }

/* Empty state for sections without content yet */
.lk-empty { border: 1px dashed #d9d9d9; border-radius: 10px; padding: 40px 24px; text-align: center; background: var(--lk-soft); }
.lk-empty h2 { font-size: 20px; margin: 0 0 8px; }
.lk-empty p { color: var(--lk-muted); margin: 0 auto 18px; max-width: 52ch; }
.lk-empty .lk-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Article page */
.lk-article-page { max-width: 760px; margin: 0 auto; }
.lk-article-page__hero { border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.lk-article-page__hero img { width: 100%; height: auto; }
.lk-article-page__meta { color: var(--lk-muted); font-size: 14px; margin-bottom: 20px; }
.lk-prose { font-size: 16px; line-height: 1.75; color: var(--lk-ink); }
.lk-prose p { margin: 0 0 1em; }

/* Compact product cards used on these pages */
.lk-product { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lk-product__media { display: block; aspect-ratio: 1 / 1; background: var(--lk-soft); border-radius: 10px; overflow: hidden; }
.lk-product__media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .25s ease; }
.lk-product__media:hover img { transform: scale(1.03); }
.lk-product__name { color: var(--lk-ink); font-size: 15px; line-height: 1.4; text-decoration: none; margin-top: 4px; }
.lk-product__name:hover { color: var(--lk-red); }
.lk-product__price { color: var(--lk-red); font-weight: 600; font-variant-numeric: tabular-nums; text-decoration: none; }

/* HTML sitemap */
.lk-sitemap { columns: 3 260px; column-gap: 40px; }
.lk-sitemap section { break-inside: avoid; margin-bottom: 28px; }
.lk-sitemap h2 { font-size: 18px; margin: 0 0 10px; }
.lk-sitemap ul { list-style: none; padding: 0; margin: 0; }
.lk-sitemap li { padding: 4px 0; }
.lk-sitemap ul ul { padding-left: 16px; border-left: 1px solid var(--lk-line); margin: 4px 0; }
.lk-sitemap a { color: var(--lk-ink); }

@media (max-width: 575px) {
    .lk-section { padding-block: 32px 48px; }
    .lk-grid { gap: 16px; }
    .lk-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .lk-cat-card, .lk-tile, .lk-video__play-icon { transition: none; }
}

/* Five categories fit one row on desktop; six Insights tiles sit 3 + 3 */
.lk-grid--cats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.lk-grid--tiles { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.lk-tile h2, .lk-cat-card__body h2, .lk-article__body h3, .lk-video__body h3 { line-height: 1.3; }
.lk-intro a { display: inline; }
.lk-cat-card__meta span { white-space: nowrap; }
@media (max-width: 575px) {
    .lk-grid--cats { grid-template-columns: 1fr; }
    .lk-cat-card__media { aspect-ratio: 16 / 9; }
}
