/*
Theme Name: Let's Binge It — Cinema
Theme URI: https://letsbingeit.com/
Description: A lightweight streaming-guide design for the Kadence theme.
Author: Let's Binge It
Template: kadence
Version: 1.0.6
Text Domain: lbi-cinema-child
*/

:root {
	--lbi-ink: #11142d;
	--lbi-deep: #090b20;
	--lbi-deep-2: #171b39;
	--lbi-paper: #f6f6f8;
	--lbi-white: #fff;
	--lbi-muted: #a9aec4;
	--lbi-coral: #ff705f;
	--lbi-cyan: #69e4e5;
	--lbi-line: #e1e3eb;
	--lbi-body: #30344a;
	--lbi-radius: 14px;
}

body,
button,
input,
select,
textarea {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { background: var(--lbi-paper); color: var(--lbi-ink); }
a { text-underline-offset: .2em; }
a:hover { color: #a83f33; }

/* Keep the Kadence header and footer, but bring their colors into the new system. */
#masthead,
.site-header-row-container-inner,
.site-header-row-container,
.site-bottom-header-wrap,
.site-top-header-wrap { background: var(--lbi-deep) !important; }
#masthead { border-bottom: 1px solid #252a47; }
#masthead .site-title a,
#masthead .site-title,
#masthead .site-branding a,
#masthead .header-navigation .header-menu-container > ul > li > a,
#masthead .header-button a { color: #f7f8fc; }
#masthead .header-navigation .header-menu-container > ul > li > a:hover,
#masthead .header-navigation .header-menu-container > ul > li.current-menu-item > a { color: var(--lbi-cyan); }
#masthead .header-button a { border: 1px solid #4a506b; border-radius: 999px; }
#masthead .site-logo img { max-height: 44px; width: auto; }
/* The supplied logo already contains the brand name, so avoid repeating the site title beside it. */
#masthead .site-branding .site-title { display: none; }
#colophon,
.site-footer-row-container-inner,
.site-footer-row-container { background: var(--lbi-deep) !important; color: #dfe2ef; }
#colophon a { color: #c8cee1; }
.lbi-footer { padding: 24px 0 14px; }
.lbi-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.lbi-footer__links a { color: #dfe2ef; font-size: .88rem; text-underline-offset: .2em; }
.lbi-footer__links a:hover { color: var(--lbi-cyan); }
.lbi-footer__copy { margin: 20px 0 0; color: #a9aec4; font-size: .78rem; }

.lbi-wrap { width: min(1240px, calc(100% - 52px)); margin-inline: auto; }
.lbi-kicker { margin: 0; color: #686b91; font-size: .75rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.lbi-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--lbi-coral); color: #171426 !important; font-weight: 800; line-height: 1.2; text-decoration: none; }
.lbi-button:hover { background: #ff897b; color: #171426 !important; }
.lbi-button--outline { border: 1px solid #6a7089; background: transparent; color: #fff !important; }
.lbi-button--outline:hover { background: #252a47; }

/* Home */
.lbi-home-hero { overflow: hidden; color: #fff; background: radial-gradient(ellipse at 82% 5%, #333660 0, transparent 35%), linear-gradient(125deg, #0b0d24, #171b39 65%, #0d1029); }
.lbi-home-hero__inner { display: grid; min-height: 430px; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 50px; padding-block: 66px; }
.lbi-home-hero .lbi-kicker { color: var(--lbi-cyan); }
.lbi-home-hero h1 { max-width: 670px; margin: 12px 0 18px; color: #fff; font-size: clamp(2.7rem, 6vw, 4.35rem); font-weight: 850; letter-spacing: -.055em; line-height: 1.03; }
.lbi-home-hero__copy { max-width: 580px; margin-bottom: 25px; color: #d0d3e2; font-size: 1.1rem; }
.lbi-home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lbi-hero-feature { display: block; overflow: hidden; border: 1px solid #ffffff24; border-radius: 16px; background: #11142d; box-shadow: 0 24px 60px #0005; color: #fff; text-decoration: none; }
.lbi-hero-feature img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; }
.lbi-hero-feature__caption { display: block; padding: 15px 18px 17px; }
.lbi-hero-feature__caption small { display: block; margin-bottom: 5px; color: var(--lbi-cyan); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.lbi-hero-feature__caption strong { display: block; color: #fff; font-size: 1rem; line-height: 1.35; }
.lbi-hero-feature:hover img { filter: brightness(1.06); }
.lbi-hero-feature:focus-visible { outline: 3px solid var(--lbi-coral); outline-offset: 4px; }
.lbi-shelf { padding: 30px 0 42px; background: var(--lbi-deep); color: #fff; }
.lbi-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.lbi-section-head h2 { margin: 0; color: inherit; font-size: 1.55rem; letter-spacing: -.035em; }
.lbi-section-head > a { color: var(--lbi-cyan); font-size: .86rem; font-weight: 750; text-decoration: none; }
.lbi-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lbi-category-card { display: flex; min-height: 112px; align-items: stretch; overflow: hidden; border: 1px solid #2c3150; border-radius: 10px; background: #151932; color: #fff; text-decoration: none; }
.lbi-category-card__art { position: relative; width: 40%; flex: 0 0 40%; overflow: hidden; background: #11142d; }
.lbi-category-card__art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform .25s ease; }
.lbi-category-card:hover .lbi-category-card__art img { transform: scale(1.025); }
.lbi-category-card__copy { padding: 13px; }
.lbi-category-card__copy small { color: var(--lbi-cyan); font-size: .64rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.lbi-category-card__copy strong { display: block; margin-top: 5px; font-size: .9rem; line-height: 1.25; }
.lbi-home-section { padding-block: 50px; }
.lbi-home-section .lbi-section-head { color: var(--lbi-ink); }
.lbi-home-section .lbi-kicker { margin-bottom: 6px; }
.lbi-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lbi-story-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--lbi-line); border-radius: var(--lbi-radius); background: #fff; }
.lbi-story-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #594469, #d78968 58%, #253b55); }
.lbi-story-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lbi-story-card:hover .lbi-story-card__image img { transform: scale(1.025); }
.lbi-story-card__body { display: flex; flex: 1; flex-direction: column; padding: 17px; }
.lbi-story-card__meta { color: #686b91; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.lbi-story-card h2,.lbi-story-card h3 { margin: 7px 0; font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.28; }
.lbi-story-card h2 a,.lbi-story-card h3 a { color: var(--lbi-ink); text-decoration: none; }
.lbi-story-card__excerpt { display: -webkit-box; margin: 0; overflow: hidden; color: #51566a; font-size: .9rem; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

/* Archive, blog, category, search */
.lbi-archive { padding-block: 46px 72px; }
.lbi-breadcrumbs { margin-bottom: 16px; color: #66708a; font-size: .82rem; }
.lbi-breadcrumbs a { color: #4c5573; }
.lbi-archive h1 { max-width: 900px; margin: 0 0 10px; color: var(--lbi-ink); font-size: clamp(2.15rem, 4vw, 2.9rem); letter-spacing: -.045em; line-height: 1.12; }
.lbi-archive__intro { max-width: 760px; margin-bottom: 26px; color: #555c73; }
.lbi-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lbi-story-card__read { display: inline-block; margin-top: auto; padding-top: 13px; color: #32395d; font-size: .83rem; font-weight: 800; }
.lbi-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.lbi-pagination .page-numbers { padding: 8px 12px; border: 1px solid #d7dae4; border-radius: 6px; background: #fff; text-decoration: none; }
.lbi-pagination .current { background: var(--lbi-ink); color: #fff; }
.lbi-empty { padding: 30px; border: 1px solid var(--lbi-line); border-radius: 12px; background: #fff; }

/* Article */
.lbi-article { padding-block: 30px 72px; }
.lbi-article__head { max-width: 850px; margin: 0 auto 24px; }
.lbi-article__head h1 { margin: 8px 0 13px; color: var(--lbi-ink); font-size: clamp(2.15rem, 5vw, 3.4rem); letter-spacing: -.047em; line-height: 1.08; }
.lbi-article__dek { margin-bottom: 14px; color: #52586c; font-size: 1.18rem; line-height: 1.5; }
.lbi-article__byline { color: #73798b; font-size: .82rem; }
.lbi-article__hero { max-width: 1000px; margin: 0 auto 28px; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: #e4e6ec; }
.lbi-article__hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lbi-article__layout { display: grid; max-width: 1000px; grid-template-columns: minmax(0, 720px) 230px; gap: 38px; margin: auto; }
.lbi-article__content { color: #34394e; font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.lbi-article__content a,
.lbi-page-content a { color: #3f486a !important; text-decoration-color: #8d94ab; text-decoration-thickness: 1px; }
.lbi-article__content a:hover,
.lbi-page-content a:hover { color: #a83f33 !important; text-decoration-color: currentColor; }
.lbi-article__content a:focus-visible,
.lbi-page-content a:focus-visible { outline: 3px solid #b74639; outline-offset: 3px; }
.lbi-article__content h2 { margin: 36px 0 12px; color: var(--lbi-ink); font-size: 1.75rem; letter-spacing: -.03em; line-height: 1.22; }
.lbi-article__content h3 { margin: 26px 0 10px; color: var(--lbi-ink); font-size: 1.3rem; line-height: 1.3; }
.lbi-article__content img { max-width: 100%; height: auto; }
.lbi-article__content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.lbi-article__content th,.lbi-article__content td { padding: 10px; border: 1px solid var(--lbi-line); }
.lbi-article__toc { position: sticky; top: 95px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding: 16px; border: 1px solid var(--lbi-line); border-radius: 10px; background: #fff; }
.lbi-article__toc strong { font-size: .82rem; }
.lbi-article__toc a { display: block; padding: 7px 0; color: #4c5268; font-size: .82rem; text-decoration: none; }
.lbi-article__toc a.lbi-article__toc-link--level-3 { padding-left: 12px; color: #73798b; }
.lbi-related { max-width: 1000px; margin: 42px auto 0; padding: 24px; border: 1px solid var(--lbi-line); border-radius: 12px; background: #fff; }
.lbi-related h2 { margin: 0 0 14px; color: var(--lbi-ink); font-size: 1.35rem; }
.lbi-related ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 22px; margin: 0; padding-left: 20px; }
.lbi-related a { color: #3f486a; font-weight: 700; }
.lbi-related a:hover { color: #a83f33; }
.lbi-article__content .wp-block-image figcaption { color: #6c7183; font-size: .8rem; text-align: center; }
.lbi-article__content .wp-block-quote { margin: 1.5em 0; padding: .5em 1em; border-left: 4px solid var(--lbi-coral); background: #fff4f1; }
.lbi-page { min-height: 55vh; padding-block: 34px 72px; }
.lbi-page-content { max-width: 850px; margin-inline: auto; color: #34394e; font-size: 1.02rem; line-height: 1.8; overflow-wrap: anywhere; }
.lbi-page-content h2,.lbi-page-content h3 { color: var(--lbi-ink); }
.lbi-page-content img { max-width: 100%; height: auto; }
.lbi-archive__header .search-form { display: flex; max-width: 560px; gap: 8px; margin: 18px 0 28px; }
.lbi-archive__header .search-field { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid var(--lbi-line); border-radius: 8px; background: #fff; }
.lbi-archive__header .search-submit { padding: 10px 16px; border: 0; border-radius: 8px; background: var(--lbi-ink); color: #fff; font-weight: 750; }

@media (max-width: 900px) {
	.lbi-home-hero__inner { grid-template-columns: 1fr; gap: 24px; padding-block: 52px 36px; }
	.lbi-hero-feature { width: min(100%, 620px); margin: auto; }
	.lbi-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lbi-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lbi-article__layout { grid-template-columns: 1fr; }
	.lbi-article__toc { position: static; grid-row: 1; }
	.lbi-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.lbi-wrap { width: min(100% - 36px, 1240px); }
	#masthead .site-logo img { max-height: 36px; }
	.lbi-home-hero__inner { min-height: auto; padding-block: 44px 30px; }
	.lbi-home-hero h1 { font-size: clamp(2.55rem, 12vw, 3rem); }
	.lbi-home-hero__copy { font-size: 1rem; }
	.lbi-hero-feature__caption { padding: 12px 14px; }
	.lbi-hero-feature__caption strong { font-size: .92rem; }
	.lbi-shelf { padding: 24px 0 30px; }
	.lbi-section-head h2 { font-size: 1.2rem; }
	.lbi-category-grid { gap: 9px; }
	.lbi-category-card { min-height: 102px; }
	.lbi-category-card { flex-direction: column; min-height: 0; }
	.lbi-category-card__art { width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 16 / 9; }
	.lbi-category-card__art img { width: 100%; height: 100%; }
	.lbi-category-card__copy { padding: 9px; }
	.lbi-category-card__copy small { font-size: .57rem; }
	.lbi-category-card__copy strong { font-size: .78rem; }
	.lbi-home-section,.lbi-archive { padding-block: 34px 46px; }
	.lbi-card-grid,.lbi-post-grid { grid-template-columns: 1fr; }
	.lbi-article { padding-top: 20px; }
	.lbi-article__head h1 { font-size: 2.2rem; }
	.lbi-article__dek { font-size: 1.05rem; }
	.lbi-article__content { font-size: 1rem; }
	.lbi-article__content h2 { font-size: 1.5rem; }
	.lbi-related { padding: 18px; }
	.lbi-related ul { grid-template-columns: 1fr; }
	.lbi-footer__links { gap: 9px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
