:root{--lq-brand-gradient:linear-gradient(120deg,#2B5BE8 0%,#3BBFA0 100%);--lq-fs-3xs:0.6875rem;--lq-fs-2xs:0.75rem;--lq-fs-xs:0.8125rem;--lq-fs-sm:0.875rem;--lq-fs-ui:0.9375rem;--lq-fs-md:1rem;--lq-fs-body:1.0625rem;--lq-fs-lg:1.125rem;--lq-fs-xl:1.375rem;--lq-fs-2xl:clamp(1.5rem,1.15rem + 1.2vw,2rem);--lq-fs-3xl:clamp(2rem,1.45rem + 2.2vw,3rem);--lq-fs-4xl:clamp(2.5rem,1.6rem + 3.6vw,4rem);--lq-caps-spacing:0.07em}/* Things theme.json can't express. Colors come from theme.json presets. */
.wp-site-blocks > header { position: sticky; top: 0; z-index: 20; background: var(--wp--preset--color--base); border-bottom: 1px solid var(--wp--preset--color--line); }

/* Typographic covers (used when a post has no featured image) */
.lingq-cover { margin: 0; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; display: flex; }
.lingq-cover a, .lingq-cover > .lingq-cover__text { flex: 1; display: flex; align-items: center; justify-content: center; text-decoration: none; color: inherit; }
.lingq-cover__text { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: var(--lq-fs-3xl); padding: 1rem; text-align: center; }
.lingq-cover--hero { aspect-ratio: 4 / 3; border-radius: 20px; }
.lingq-cover--hero .lingq-cover__text { font-size: clamp(3rem, 8vw, 7.5rem); }
.lingq-cover--blue   { background: #D7E3FC; color: #1E3A8A; }
.lingq-cover--yellow { background: #FFE9A8; color: #7C4A03; }
.lingq-cover--coral  { background: #FAD9CF; color: #9A3412; }
.lingq-cover--teal   { background: #D5ECE7; color: #115E59; }
.lingq-cover--violet { background: #E6E0F8; color: #4C1D95; }
.lingq-cover.lingq-cover--hero { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--highlight); }
.wp-block-post-featured-image img { border-radius: 14px; }

/* Card titles */
.wp-block-post-title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.wp-block-post-title a:hover { color: var(--wp--preset--color--accent); }

/* Chips */
.wp-block-categories.is-style-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-categories.is-style-chips li { margin: 0; }
.wp-block-categories.is-style-chips a, .wp-block-post-terms.is-style-chips a {
	min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #D0D5DD; display: inline-flex; align-items: center;
	font-weight: 500; font-size: var(--lq-fs-ui); color: var(--wp--preset--color--ink); text-decoration: none; text-transform: none; letter-spacing: 0; }
.wp-block-categories.is-style-chips a:hover, .wp-block-post-terms.is-style-chips a:hover { border-color: var(--wp--preset--color--ink); }
.wp-block-post-terms.is-style-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-post-terms.is-style-chips .wp-block-post-terms__separator { display: none; }

/* TL;DR + CTA box styles */
.is-style-tldr { background: var(--wp--preset--color--subtle); border-radius: 16px; padding: 24px 28px; font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-body); line-height: 1.6; }
.is-style-tldr::before { content: "Key takeaways"; display: block; font-weight: 700; font-size: var(--lq-fs-xs); letter-spacing: 0.08em; color: var(--wp--preset--color--accent); margin-bottom: 8px; }
.is-style-tldr p { margin: 0; }
.is-style-cta-dark { background: var(--wp--preset--color--ink); border-radius: 16px; padding: 28px; font-family: var(--wp--preset--font-family--ui); }
.is-style-cta-dark h3 { color: #fff; margin: 0; font-size: var(--lq-fs-xl); }
.is-style-cta-dark p { color: #C9D2E0; margin: 0; font-size: var(--lq-fs-ui); }
.is-style-cta-dark .wp-block-button__link { background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); }

/* Article layout: TOC | content | CTA */

.lingq-toc { font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-sm); }
.lingq-toc__title { font-weight: 600; text-transform: uppercase; letter-spacing: var(--lq-caps-spacing); font-size: var(--lq-fs-2xs); color: var(--wp--preset--color--muted); margin: 0 0 12px; }
.lingq-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lingq-toc a { color: var(--wp--preset--color--muted); text-decoration: none; }
.lingq-toc a:hover { color: var(--wp--preset--color--ink); }
.wp-block-post-content h2 { margin-top: 2.5rem; scroll-margin-top: 96px; }
.lingq-reading-time { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }

/* Dark band */
.lingq-band-dark .wp-block-post-title a { color: #fff; }
.lingq-band-dark .wp-block-post-terms a { color: var(--wp--preset--color--highlight); text-decoration: none; }
.lingq-band-dark .wp-block-post-template > li { background: var(--wp--preset--color--ink-soft); border-radius: 14px; padding: 22px; }

/* Promotions */
.lingq-promo { font-family: var(--wp--preset--font-family--ui); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.lingq-promo p { margin: 0; }
.lingq-promo__eyebrow { font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; }
.lingq-promo__headline { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.375rem; line-height: 1.15; }
.lingq-promo__body { font-size: 0.95rem; line-height: 1.5; margin-top: 6px !important; }
.lingq-promo__copy { flex: 1 1 280px; }
.lingq-promo__button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.lingq-promo--yellow { background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); }
.lingq-promo--yellow .lingq-promo__button { background: var(--wp--preset--color--ink); color: #fff; }
.lingq-promo--dark { background: var(--wp--preset--color--ink); color: #fff; }
.lingq-promo--dark .lingq-promo__eyebrow { color: var(--wp--preset--color--highlight); }
.lingq-promo--dark .lingq-promo__body { color: #C9D2E0; }
.lingq-promo--dark .lingq-promo__button { background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); }
.lingq-promo--blue { background: var(--wp--preset--color--accent); color: #fff; }
.lingq-promo--blue .lingq-promo__button { background: #fff; color: var(--wp--preset--color--accent); }
.lingq-promo--sidebar, .lingq-promo--inline { border-radius: 16px; padding: 24px 28px; }
.lingq-promo--sidebar { flex-direction: column; align-items: stretch; }
.lingq-promo--sidebar .lingq-promo__button { justify-content: center; }
.lingq-promo--inline { margin: 2rem 0; }
.lingq-promo--band { border-radius: 24px; padding: 48px; }
.lingq-promo--band .lingq-promo__headline { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
.lingq-promo--band .lingq-promo__body { font-size: 1.0625rem; }
.lingq-promo--topbar { justify-content: center; padding: 10px 24px; gap: 8px 16px; text-align: center; }
.lingq-promo--topbar .lingq-promo__copy { flex: 0 1 auto; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; justify-content: center; }
.lingq-promo--topbar .lingq-promo__headline { font-family: var(--wp--preset--font-family--ui); font-size: 0.9375rem; font-weight: 600; }
.lingq-promo--topbar .lingq-promo__button { min-height: 36px; padding: 0 16px; font-size: 0.875rem; }

/* Promotion images */
.lingq-promo { overflow: hidden; }
.lingq-promo__image { display: block; object-fit: cover; border-radius: 10px; }
.lingq-promo--sidebar .lingq-promo__image { width: calc(100% + 48px); max-width: none; margin: -24px -24px 4px; height: 150px; border-radius: 0; }
.lingq-promo--inline.has-image .lingq-promo__image { width: 140px; height: 140px; flex: 0 0 140px; }
.lingq-promo--band.has-image .lingq-promo__image { width: 260px; height: 200px; flex: 0 0 260px; }
@media (max-width: 640px) {
	.lingq-promo--inline.has-image .lingq-promo__image, .lingq-promo--band.has-image .lingq-promo__image { width: 100%; flex-basis: 100%; height: 160px; }
}

/* ---------- Thunder top bar with countdown (Figma: Top banner / Countdown, Final version 25092026) ---------- */
.lingq-promo--thunder {
	--thunder-lime: #D9FF04;
	background-color: #101113;
	color: #fff;
	font-family: "DM Sans", var(--wp--preset--font-family--ui);
}
.lingq-promo--topbar.lingq-promo--thunder { display: grid; grid-template-columns: auto auto auto; justify-content: center; align-items: center; column-gap: 75px; min-height: 72px; padding: 10px 24px; text-align: left; }
.lingq-promo--thunder .lingq-promo__copy { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
.lingq-promo--thunder .lingq-promo__eyebrow,
.lingq-promo--thunder .lingq-promo__headline { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--thunder-lime); }
.lingq-promo--thunder .lingq-promo__eyebrow::after { content: ":"; }
.lingq-promo--thunder .lingq-promo__button {
	background: var(--thunder-lime); color: #0E1313; min-width: 220px; min-height: 38px; padding: 6px 60px; justify-content: center; border-radius: 30px;
	font-family: "Rubik", sans-serif; font-weight: 600; font-size: var(--lq-fs-lg); letter-spacing: 0.02em; line-height: 1.44;
	filter: drop-shadow(0 0 10.5px rgba(217, 255, 4, 0.7));
}
.lingq-countdown { display: flex; gap: 4px; align-items: flex-start; }
.lingq-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lingq-countdown__value { width: 54px; height: 34px; border-radius: 8px; background: #F0F7FF; color: #0F1313; display: flex; align-items: center; justify-content: center; font-family: "Rubik", sans-serif; font-weight: 600; font-size: 18px; line-height: 22px; font-variant-numeric: tabular-nums; }
.lingq-countdown__label { font-size: 11px; line-height: 14px; color: rgba(255, 255, 255, 0.82); }
.lingq-countdown__sep { width: 10px; padding-top: 5px; text-align: center; font-family: "Rubik", sans-serif; font-weight: 600; font-size: 18px; line-height: 24px; color: var(--thunder-lime); }

/* Mobile (Figma: Top banner / Mobile / Balanced) */
@media (max-width: 700px) {
	.lingq-promo--topbar.lingq-promo--thunder { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy cta" "count cta"; column-gap: 12px; row-gap: 8px; min-height: 112px; padding: 14px 16px; }
	.lingq-promo--thunder .lingq-promo__copy { grid-area: copy; flex-direction: column; align-items: flex-start; }
	.lingq-promo--thunder .lingq-countdown { grid-area: count; }
	.lingq-promo--thunder .lingq-promo__button { grid-area: cta; min-width: 126px; min-height: 44px; padding: 0 16px; border-radius: 22px; font-family: "DM Sans", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: 0; filter: none; }
	.lingq-promo--thunder .lingq-promo__eyebrow { font-weight: 500; font-size: 13px; line-height: 14px; color: #F0F6FE; }
	.lingq-promo--thunder .lingq-promo__eyebrow::after { content: none; }
	.lingq-promo--thunder .lingq-promo__headline { font-weight: 800; font-size: 22px; line-height: 25px; color: #D7F24C; }
	.lingq-promo--thunder .lingq-countdown { gap: 4px; }
	.lingq-promo--thunder .lingq-countdown__unit { gap: 3px; width: 30px; }
	.lingq-promo--thunder .lingq-countdown__value { width: 30px; height: 21px; border-radius: 6px; background: #353739; color: #fff; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 14px; line-height: 18px; }
	.lingq-promo--thunder .lingq-countdown__label { font-size: 8.5px; line-height: 10px; color: #9A9CA3; }
	.lingq-promo--thunder .lingq-countdown__sep { width: 5px; padding-top: 0; font-family: "DM Sans", sans-serif; font-weight: 400; font-size: 13px; line-height: 20px; color: #9A9CA3; }
}
/* Admin preview: narrow stage shows the mobile layout via container width */

/* ---------- Article (Flowlu-style two columns) ---------- */
.lingq-article-cols { display: grid; grid-template-columns: minmax(0, 776px) 276px; gap: 120px; justify-content: center; margin-top: 32px; }
.lingq-article-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.lingq-article-main > * { margin: 0 !important; }
.lingq-article-main .wp-block-post-title { font-size: var(--lq-fs-3xl); line-height: 1.05; }
.lingq-article-side { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.lingq-article-side .lingq-toc { border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 22px; }
@media (max-width: 1100px) {
	.lingq-article-cols { grid-template-columns: minmax(0, 776px); gap: 0; }
	.lingq-article-side { display: none; }
}

.lingq-share { display: flex; gap: 8px; }
.lingq-share a { width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--wp--preset--color--line); display: inline-flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-2xs); font-weight: 700; color: var(--wp--preset--color--muted); text-decoration: none; }
.lingq-share a:hover { border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--ink); }
.lingq-prose h3 { font-size: var(--lq-fs-xl); margin-top: 1.75rem; }
.lingq-prose table { width: 100%; border-collapse: collapse; font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-ui); }
.lingq-prose .wp-block-table { overflow-x: auto; }
.lingq-prose th { text-align: left; background: var(--wp--preset--color--subtle); padding: 12px 14px; }
.lingq-prose td { padding: 12px 14px; border-bottom: 1px solid var(--wp--preset--color--line); }
.lingq-prose blockquote { border-left: 4px solid var(--wp--preset--color--highlight); margin: 1.5rem 0; padding: 4px 0 4px 20px; font-style: italic; }
.lingq-prose blockquote cite { display: block; font-style: normal; font-size: var(--lq-fs-sm); color: var(--wp--preset--color--muted); margin-top: 8px; }
.lingq-prose .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--line); padding: 18px 0; font-family: var(--wp--preset--font-family--ui); }
.lingq-prose .wp-block-details summary { cursor: pointer; font-weight: 600; font-size: var(--wp--preset--font-size--reading); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.lingq-prose .wp-block-details summary::after { content: "+"; color: var(--wp--preset--color--muted); }
.lingq-prose .wp-block-details[open] summary::after { content: "−"; }
.lingq-prose .wp-block-details summary::-webkit-details-marker { display: none; }
.lingq-prose .wp-block-details p { margin: 12px 0 0; font-size: var(--wp--preset--font-size--reading); }
/* FAQ sections (inc/faq.php): the Details accordion in a light box, one question per row. */
.lingq-prose .lingq-faq { background: var(--wp--preset--color--subtle); border-radius: 16px; padding: 4px 28px; margin: 16px 0 32px; }
.lingq-prose .lingq-faq .wp-block-details:last-child { border-bottom: 0; }
.lingq-prose .lingq-faq summary { min-height: 28px; align-items: center; line-height: 1.4; }
.lingq-prose .lingq-faq summary:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 4px; border-radius: 4px; }
.lingq-prose .lingq-faq summary::after { flex: none; font-size: var(--lq-fs-lg); line-height: 1; }
.lingq-faq__a > :first-child { margin-top: 12px; }
.lingq-faq__a ul, .lingq-faq__a ol { margin: 10px 0 0; font-size: var(--wp--preset--font-size--reading); }
@media (max-width: 600px) { .lingq-prose .lingq-faq { padding: 2px 18px; } }
.lingq-tldr { position: relative; border: 1px solid #D3E2E0; border-radius: 16px; padding: 24px 28px; margin-bottom: 8px; font-family: var(--wp--preset--font-family--ui); background: radial-gradient(90% 140% at 0% 0%, #D6F0D0 0%, rgba(214,240,208,0) 70%), radial-gradient(90% 140% at 100% 100%, #C9DCFA 0%, rgba(201,220,250,0) 70%), #F4F8F7; }
.lingq-tldr__title { display: flex; align-items: center; gap: 10px; font-size: var(--lq-fs-xs) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: var(--lq-caps-spacing) !important; color: var(--wp--preset--color--ink); margin: 0 0 14px !important; }
.lingq-tldr__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--lq-brand-gradient); color: #fff; }
.lingq-tldr__icon svg { width: 16px; height: 16px; }
.lingq-tldr p { margin: 0; font-size: var(--wp--preset--font-size--reading); line-height: 1.6; color: var(--wp--preset--color--text); }
.lingq-tldr p + p, .lingq-tldr p + ul, .lingq-tldr ul + p { margin-top: 10px; }
.lingq-tldr ul { margin: 0; padding-left: 1.2em; font-size: var(--wp--preset--font-size--reading); line-height: 1.6; color: var(--wp--preset--color--text); }
.lingq-tldr li + li { margin-top: 4px; }
.is-style-tip { background: #FFF6D6; border-radius: 14px; padding: 18px 22px; font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-md); line-height: 1.55; }
.is-style-tip p { margin: 0; }

/* Author box + updated date */
.lingq-author-box { border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 24px; }
.lingq-author-box .wp-block-post-author { gap: 16px; align-items: flex-start; }
.lingq-author-box .wp-block-post-author__byline { font-size: var(--lq-fs-xs); color: var(--wp--preset--color--muted); margin: 0; }
.lingq-author-box .wp-block-post-author__name { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: var(--lq-fs-lg); }
.lingq-author-box .wp-block-post-author__bio { font-size: var(--lq-fs-ui); color: var(--wp--preset--color--text); margin-top: 6px; }
.lingq-author-box:not(:has(.wp-block-post-author__bio)) { display: none; }
.lingq-updated { margin-left: 8px; }
.lingq-updated::before { content: "· "; }
.wp-block-post-author__avatar img { border-radius: 50%; }

/* ---------- Header layout fixes ---------- */
.wp-site-blocks > header .wp-block-group { flex-wrap: nowrap; }
.wp-site-blocks > header .wp-block-site-title { white-space: nowrap; margin: 0; }
.wp-site-blocks > header .wp-block-site-title + p { white-space: nowrap; margin: 0; }
.wp-site-blocks > header .wp-block-navigation { flex: 1 1 auto; min-width: 0; justify-content: flex-end; margin-right: 8px; }
.wp-site-blocks > header .wp-block-navigation__container { justify-content: flex-end; }
.wp-site-blocks > header .wp-block-navigation__container { flex-wrap: nowrap; white-space: nowrap; }
.wp-site-blocks > header .wp-block-button__link { white-space: nowrap; }
.wp-site-blocks > header > .wp-block-group > .wp-block-group > .wp-block-group:first-child { flex-shrink: 0; }

/* Search: a round icon button that expands into a field */
.wp-site-blocks > header .wp-block-search { margin: 0; }
.wp-site-blocks > header .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: 6px; border: 0; padding: 0; }
.wp-site-blocks > header .wp-block-search__button {
	width: 44px; height: 44px; min-width: 44px; padding: 0; margin: 0; border-radius: 22px;
	border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink);
	display: inline-flex; align-items: center; justify-content: center;
}
.wp-site-blocks > header .wp-block-search__button:hover { border-color: var(--wp--preset--color--ink); background: var(--wp--preset--color--base); }
.wp-site-blocks > header .wp-block-search__button svg { width: 20px; height: 20px; fill: currentColor; }
.wp-site-blocks > header .wp-block-search__input {
	height: 44px; width: 220px; padding: 0 18px; border-radius: 22px; border: 1px solid var(--wp--preset--color--line);
	font: inherit; font-size: var(--lq-fs-ui); background: var(--wp--preset--color--base); color: var(--wp--preset--color--ink);
}
.wp-site-blocks > header .wp-block-search__input:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.wp-site-blocks > header .wp-block-search.wp-block-search__searchfield-hidden .wp-block-search__input { width: 0; padding: 0; border-width: 0; }

/* Below 1100px: hide the nav labels behind the menu button so nothing wraps */
@media (max-width: 1100px) {
	.wp-site-blocks > header .wp-block-search__input { width: 160px; }
}

/* Homepage */

.lingq-popular-row .wp-block-post-terms a { text-decoration: none; }
.lingq-see-all a { font-weight: 600; text-decoration: none; color: var(--wp--preset--color--accent); white-space: nowrap; }

.lingq-band-dark .wp-block-embed iframe { border-radius: 14px; }

/* Language picker */

/* Header Languages dropdown: two columns so 16 languages fit */
@media (min-width: 600px) {
	.lingq-lang-menu > .wp-block-navigation__submenu-container { display: grid !important; grid-template-columns: repeat(2, minmax(150px, 1fr)); padding: 10px !important; border-radius: 14px; border: 1px solid var(--wp--preset--color--line) !important; box-shadow: 0 16px 40px rgba(14,26,43,.14); }
	.lingq-lang-menu .wp-block-navigation-item__content { padding: 8px 12px !important; border-radius: 8px; }
	.lingq-lang-menu .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--subtle); }
	.lingq-cat-menu > .wp-block-navigation__submenu-container { min-width: 220px !important; padding: 10px !important; border-radius: 14px; border: 1px solid var(--wp--preset--color--line) !important; box-shadow: 0 16px 40px rgba(14,26,43,.14); }
	.lingq-cat-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 12px !important; border-radius: 8px; }
	.lingq-cat-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--subtle); }
}

/* Photos inside articles (Unsplash credit in the caption) */
.lingq-photo img { border-radius: 16px; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lingq-photo figcaption { font-size: var(--lq-fs-xs); color: var(--wp--preset--color--muted); text-align: left; }
.lingq-photo figcaption a { color: inherit; }

/* Watch with Steve */
.lingq-band-dark .wp-block-embed { margin: 0; }
.lingq-band-dark .wp-block-embed iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; }

.lingq-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--ink-soft); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lingq-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Small phones: keep the header on one line */
@media (max-width: 480px) {
	header .wp-block-site-title + p { display: none; }
	header .wp-block-button__link { padding: 9px 14px; font-size: var(--lq-fs-sm); white-space: nowrap; }
	header .wp-block-group { gap: 8px; }
}

/* Watch with Steve: live feed (newest video + two more) */

/* Edition (language) switcher in the header */

/* Byline: author on the left, date · reading time · share on the right */
.lingq-byline { gap: 16px 24px; margin-block: 20px 28px; }
.lingq-byline .wp-block-post-author { align-items: center; gap: 14px; }
.lingq-byline .wp-block-post-author__avatar { margin: 0; }
.lingq-byline .wp-block-post-author__avatar img { border-radius: 50%; display: block; }
.lingq-byline .wp-block-post-author__content { display: flex; flex-direction: column-reverse; gap: 2px; }
.lingq-byline .wp-block-post-author__name { font-weight: 600; font-size: var(--lq-fs-md); color: var(--wp--preset--color--ink); }
.lingq-byline .wp-block-post-author__byline { margin: 0; font-size: var(--lq-fs-xs); color: var(--wp--preset--color--accent); }
.lingq-byline__meta { gap: 12px 28px; font-size: var(--lq-fs-ui); color: var(--wp--preset--color--muted); }
.lingq-byline__meta .lingq-reading-time { display: inline-flex; align-items: center; gap: 8px; }
.lingq-byline__meta .lingq-reading-time::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 600px) { .lingq-byline__meta { width: 100%; justify-content: space-between; } }

/* Round share button + menu */
.lingq-share-btn { position: relative; }
.lingq-share-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--wp--preset--color--ink); background: transparent; color: var(--wp--preset--color--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.lingq-share-toggle:hover, .lingq-share-toggle[aria-expanded="true"] { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); }
.lingq-share-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 190px; margin: 0; padding: 8px; list-style: none; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(14,26,43,.14); }
.lingq-share-menu a, .lingq-share-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: var(--lq-fs-sm); font-weight: 500; color: var(--wp--preset--color--ink); text-decoration: none; text-align: left; cursor: pointer; }
.lingq-share-menu a:hover, .lingq-share-menu button:hover { background: var(--wp--preset--color--subtle); }
.lingq-share-menu li:last-child { border-top: 1px solid var(--wp--preset--color--line); margin-top: 6px; padding-top: 6px; }
.lingq-share-menu .lingq-icon { width: 16px; height: 16px; }

/* Previous / next */
.lingq-prev-next { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--wp--preset--color--line); }
.lingq-pn { display: flex; align-items: flex-start; gap: 12px; max-width: 46%; color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-pn--next { margin-left: auto; text-align: right; }
.lingq-pn .lingq-icon { flex: none; margin-top: 1px; transition: transform .15s; }
.lingq-pn--prev:hover .lingq-icon { transform: translateX(-4px); }
.lingq-pn--next:hover .lingq-icon { transform: translateX(4px); }
.lingq-pn__text { display: flex; flex-direction: column; gap: 8px; }
.lingq-pn__label { font-weight: 700; font-size: var(--lq-fs-ui); }
.lingq-pn__title { font-size: var(--lq-fs-ui); line-height: 1.45; color: var(--wp--preset--color--muted); }
.lingq-pn:hover .lingq-pn__title { color: var(--wp--preset--color--accent); }
@media (max-width: 600px) { .lingq-pn { max-width: none; } .lingq-pn__title { display: none; } }

/* Related articles */
.lingq-related { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--wp--preset--color--line); }
.lingq-related__heading { text-align: center; margin: 0 0 36px; font-size: var(--wp--preset--font-size--x-large); }
.lingq-related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.lingq-related__card { display: flex; flex-direction: column; color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-related__img { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--subtle); }
.lingq-related__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.lingq-related__card:hover .lingq-related__img img { transform: scale(1.04); }
.lingq-related__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: var(--lq-fs-xs); color: var(--wp--preset--color--muted); }
.lingq-related__title { margin-top: 8px; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: var(--lq-fs-lg); line-height: 1.25; }
.lingq-related__card:hover .lingq-related__title { color: var(--wp--preset--color--accent); }
.lingq-related__text { margin-top: 8px; font-size: var(--lq-fs-ui); line-height: 1.5; color: var(--wp--preset--color--text); }

/* Footer */
.lingq-footer { margin-top: 0; font-size: var(--lq-fs-ui); }
.lingq-footer a { color: #C9D2E0; text-decoration: none; transition: color .15s; }
.lingq-footer a:hover, .lingq-footer a:focus-visible { color: #fff; }
.lingq-footer__logo { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.lingq-footer__logo a { color: #fff; }
.lingq-footer__tagline { margin: 10px 0 28px; color: #C9D2E0; max-width: 260px; }
.lingq-footer__label { margin: 0 0 10px; font-size: var(--lq-fs-xs); font-weight: 600; letter-spacing: var(--lq-caps-spacing); text-transform: uppercase; color: var(--wp--preset--color--highlight); }
.lingq-footer__apps { gap: 10px; }
.lingq-footer .lingq-app .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: transparent; color: #fff; font-size: var(--lq-fs-sm); font-weight: 600; }
.lingq-footer .lingq-app .wp-block-button__link::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--lingq-app-icon) center / contain no-repeat; mask: var(--lingq-app-icon) center / contain no-repeat; }
.lingq-app--ios { --lingq-app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.1-1.7-2.9-1.9-3.5-1.9-1.5-.2-2.9.9-3.7.9-.8 0-1.9-.9-3.2-.8-1.6 0-3.1 1-4 2.4-1.7 3-.4 7.3 1.2 9.7.8 1.2 1.8 2.5 3 2.4 1.2 0 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8 0 0-2.5-1-2.5-3.8zM14 5.4c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1 .1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E"); }
.lingq-app--android { --lingq-app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.6v18.8c0 .4.4.6.7.4l10.6-9.4c.2-.2.2-.6 0-.8L4.7 2.2C4.4 2 4 2.2 4 2.6zm12.9 7.1L6.6 2.5l10.9 6.2-.6 1zm0 4.6l.6 1L6.6 21.5l10.3-7.2zm1.8-4.9l2.8 1.6c.6.4.6 1.2 0 1.6l-2.8 1.6-2.3-2.4 2.3-2.4z'/%3E%3C/svg%3E"); }
.lingq-footer .lingq-app .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.lingq-footer__social { margin-top: 24px; gap: 14px; }
.lingq-footer__social .wp-social-link { opacity: .8; transition: opacity .15s; }
.lingq-footer__social .wp-social-link:hover { opacity: 1; }
.lingq-footer__title { margin: 0 0 18px; font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-xs); font-weight: 700; letter-spacing: var(--lq-caps-spacing); text-transform: uppercase; color: #fff; }
.lingq-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.lingq-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); gap: 12px 32px; font-size: var(--lq-fs-xs); color: #8E9BB0; }
.lingq-footer__legal { margin: 0; max-width: 720px; }
.lingq-footer__legal a { color: #C9D2E0; }
.lingq-footer__policies { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 781px) {
	.lingq-footer__top { display: grid !important; grid-template-columns: 1fr 1fr; }
	.lingq-footer__brand { grid-column: 1 / -1; }
}

/* Home hero: greeting, headline, search */
.lingq-hero, .lingq-archive-head { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(75% 110% at 0% 0%, #E2F4DE 0%, rgba(226,244,222,0) 62%), radial-gradient(80% 120% at 100% 100%, #D5E5FB 0%, rgba(213,229,251,0) 60%), linear-gradient(180deg, #F8FBF8 0%, #F5F8FD 100%); }
.lingq-hero::after, .lingq-archive-head::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0) 35%, #fff 100%); }
.lingq-hero__title { font-size: var(--lq-fs-4xl); line-height: 1.05; letter-spacing: -0.03em; margin: 0; }
.lingq-roll { display: block; }
.lingq-hero .lingq-topics { margin-top: 48px; }
.lingq-roll .lingq-scribble { white-space: normal; max-width: 100%; }
.lingq-roll__w[hidden] { display: none; }
.lingq-roll__w.is-in { display: inline-block; animation: lingq-roll-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes lingq-roll-in { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
.lingq-scribble { position: relative; background: none; color: inherit; white-space: nowrap; }
.lingq-scribble::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -0.12em; height: 0.32em; z-index: -1; background: var(--wp--preset--color--highlight); border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; transform: rotate(-1.5deg); }
.lingq-search { display: flex; align-items: stretch; max-width: 760px; margin: 0 auto; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); border-radius: 999px; box-shadow: 0 10px 30px rgba(14,26,43,.08); overflow: hidden; }
.lingq-search:focus-within { border-color: var(--wp--preset--color--accent); box-shadow: 0 10px 30px rgba(29,78,216,.15); }
.lingq-search__q { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 8px 0 22px; color: var(--wp--preset--color--muted); }
.lingq-search__q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: var(--lq-fs-md); padding: 16px 0; color: var(--wp--preset--color--ink); }
.lingq-search__sel { position: relative; display: flex; border-left: 1px solid var(--wp--preset--color--line); }
.lingq-search__sel select { appearance: none; border: 0; outline: 0; background: transparent; font: inherit; font-size: var(--lq-fs-ui); color: var(--wp--preset--color--ink); padding: 0 40px 0 18px; cursor: pointer; max-width: 190px; }
.lingq-search__sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; color: var(--wp--preset--color--muted); }
.lingq-search__go { border: 0; margin: 6px; padding: 0 22px; border-radius: 999px; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--base); font: inherit; font-weight: 600; cursor: pointer; }
.lingq-search__go:hover { background: var(--wp--preset--color--accent); }
@media (max-width: 700px) {
	.lingq-search { flex-wrap: wrap; border-radius: 20px; }
	.lingq-search__q { flex-basis: 100%; border-bottom: 1px solid var(--wp--preset--color--line); }
	.lingq-search__sel { flex: 1; border-left: 0; }
	.lingq-search__sel + .lingq-search__sel { border-left: 1px solid var(--wp--preset--color--line); }
	.lingq-search__sel select { width: 100%; max-width: none; padding-block: 14px; }
	.lingq-search__go { flex-basis: calc(100% - 12px); padding: 12px; }
}

/* Featured article card */
.lingq-feature { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 48px; border: 1px solid var(--wp--preset--color--line); border-radius: 24px; overflow: hidden; background: var(--wp--preset--color--base); box-shadow: 0 20px 50px rgba(14,26,43,.07); }
.lingq-feature__media { display: block; min-height: 340px; background: var(--wp--preset--color--subtle); overflow: hidden; }
.lingq-feature__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lingq-feature:hover .lingq-feature__img { transform: scale(1.03); }
.lingq-feature__body { display: flex; flex-direction: column; padding: 40px 44px; }
.lingq-feature__tags { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: var(--lq-fs-sm); font-weight: 600; color: var(--wp--preset--color--accent); }
.lingq-feature__badge { padding: 4px 10px; border-radius: 999px; background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); font-size: var(--lq-fs-2xs); font-weight: 700; letter-spacing: var(--lq-caps-spacing); text-transform: uppercase; }
.lingq-feature__title { margin: 0; font-size: var(--lq-fs-2xl); line-height: 1.15; letter-spacing: -0.02em; }
.lingq-feature__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-feature__title a:hover { color: var(--wp--preset--color--accent); }
.lingq-feature__excerpt { margin: 16px 0 28px; font-size: var(--lq-fs-body); line-height: 1.55; color: var(--wp--preset--color--text); }
.lingq-feature__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lingq-feature__author { display: flex; align-items: center; gap: 12px; }
.lingq-feature__avatar { border-radius: 50%; display: block; }
.lingq-feature__author > span { display: flex; flex-direction: column; gap: 2px; }
.lingq-feature__name { font-weight: 600; color: var(--wp--preset--color--ink); }
.lingq-feature__role { font-size: var(--lq-fs-xs); color: var(--wp--preset--color--accent); opacity: .85; }
.lingq-feature__read { font-size: var(--lq-fs-sm); color: var(--wp--preset--color--muted); white-space: nowrap; }
@media (max-width: 860px) { .lingq-feature { grid-template-columns: 1fr; } .lingq-feature__media { min-height: 0; aspect-ratio: 16 / 9; } .lingq-feature__body { padding: 28px 24px; } }

@media (prefers-reduced-motion: reduce) {
		.lingq-feature__img, .lingq-related__img img { transition: none; }
}
.lingq-search--results .lingq-search { margin: 0; }

/* Search results header */
.lingq-results-head { padding: 8px 0 40px; margin-bottom: 40px; border-bottom: 1px solid var(--wp--preset--color--line); }
.lingq-results-head__title { margin: 0 0 24px; font-size: var(--lq-fs-3xl); letter-spacing: -0.03em; }
.lingq-search--results .lingq-search { margin: 0 auto; }
.lingq-results-summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 20px 0 0; font-size: var(--lq-fs-ui); color: var(--wp--preset--color--muted); }
.lingq-chip { padding: 4px 12px; border-radius: 999px; background: var(--wp--preset--color--subtle); color: var(--wp--preset--color--ink); font-size: var(--lq-fs-xs); font-weight: 600; }
.lingq-results-clear { margin-left: 6px; font-size: var(--lq-fs-sm); color: var(--wp--preset--color--accent); }

/* Colored category pills (inc/term-pills.php) */
.lingq-pill { --pill-bg: #FFF2BF; --pill-fg: #7A5600; display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--pill-bg); color: var(--pill-fg) !important; font-family: var(--wp--preset--font-family--ui); font-size: var(--lq-fs-2xs); font-weight: 700; line-height: 1.4; letter-spacing: var(--lq-caps-spacing); text-transform: uppercase; text-decoration: none !important; white-space: nowrap; transition: filter .15s; }
.lingq-pill--lang { --pill-bg: #E4EBFF; --pill-fg: #1D4ED8; }
.lingq-pill--story { --pill-bg: #FFE1EC; --pill-fg: #B4235A; }
.lingq-pill--update { --pill-bg: #D9F5E3; --pill-fg: #157347; }
.lingq-pill--topic { --pill-bg: #FFF2BF; --pill-fg: #7A5600; }
.lingq-pill--netflix { --pill-bg: #FDE4E6; --pill-fg: #B20710; }
a.lingq-pill:hover { filter: brightness(.95) saturate(1.2); }
.lingq-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lingq-pills .wp-block-post-terms__separator { display: none; }
.lingq-band-dark .lingq-pill { --pill-bg: rgba(255,255,255,.1); --pill-fg: var(--wp--preset--color--highlight); }
.lingq-related__meta { align-items: center; }
.lingq-feature__tags .lingq-pill { font-size: var(--lq-fs-2xs); }

/* Section header: Heading ——— More in Spanish › */
.lingq-section-head { gap: 20px; margin-bottom: 28px; }
.lingq-section-head > .wp-block-heading { flex: none; margin: 0; }
.lingq-section-head::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--wp--preset--color--line); }
.lingq-section-head > .lingq-see-all { order: 2; flex: none; margin: 0; }
.lingq-section-head + .lingq-section-lede { margin: -16px 0 28px; }
.lingq-see-all a { display: inline-flex; align-items: center; gap: 6px; font-size: var(--lq-fs-ui); font-weight: 500; color: var(--wp--preset--color--muted); text-decoration: none; white-space: nowrap; }
.lingq-see-all a::after { content: "›"; font-size: var(--lq-fs-lg); line-height: 1; transition: transform .15s; }
.lingq-see-all a:hover { color: var(--wp--preset--color--ink); }
.lingq-see-all a:hover::after { transform: translateX(3px); }
@media (max-width: 600px) { .lingq-section-head::after { display: none; } .lingq-section-head { justify-content: space-between; } }

/* Post card */
.lingq-card { display: flex; flex-direction: column; height: 100%; }
.lingq-card__img { margin: 0; border-radius: 14px; overflow: hidden; }
.lingq-card__img img { transition: transform .35s ease; }
.lingq-card:hover .lingq-card__img img { transform: scale(1.04); }
.lingq-card__meta { gap: 10px; margin-top: 18px; font-size: var(--lq-fs-xs); color: var(--wp--preset--color--muted); }
.lingq-card__meta .wp-block-post-terms { margin: 0; }
.lingq-card__title { margin: 12px 0 8px; font-size: var(--lq-fs-lg); line-height: 1.3; }
.lingq-card__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-card:hover .lingq-card__title a { color: var(--wp--preset--color--accent); }
.lingq-card__excerpt { margin: 0; font-size: var(--lq-fs-ui); line-height: 1.5; color: var(--wp--preset--color--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lingq-card__excerpt p { margin: 0; }
.lingq-card__foot { margin-top: auto; padding-top: 20px; gap: 12px; }
.lingq-card__author { gap: 10px; }
.lingq-card__author .wp-block-avatar { margin: 0; }
.lingq-card__author .wp-block-avatar img { border-radius: 50%; display: block; }
.lingq-card__who { display: flex; flex-direction: column; gap: 0; line-height: 1.3; }
.lingq-card__who > * { margin: 0 !important; }
.lingq-card__who .wp-block-post-author-name { font-size: var(--lq-fs-sm); font-weight: 600; color: var(--wp--preset--color--ink); }
.lingq-card__who .wp-block-post-date { font-size: var(--lq-fs-2xs); color: var(--wp--preset--color--muted); }
.lingq-card__read { display: inline-flex; align-items: center; gap: 4px; font-size: var(--lq-fs-sm); font-weight: 600; color: var(--wp--preset--color--ink); text-decoration: none; white-space: nowrap; }
.lingq-card__read::after { content: "›"; font-size: var(--lq-fs-lg); line-height: 1; transition: transform .15s; }
.lingq-card:hover .lingq-card__read { color: var(--wp--preset--color--accent); }
.lingq-card:hover .lingq-card__read::after { transform: translateX(3px); }
.lingq-band-dark .lingq-card__title a, .lingq-band-dark .lingq-card__who .wp-block-post-author-name, .lingq-band-dark .lingq-card__read { color: #fff; }

/* Breadcrumb: LINGQ / BLOG / SPANISH */
.lingq-crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: var(--lq-fs-2xs); font-weight: 700; letter-spacing: var(--lq-caps-spacing); text-transform: uppercase; color: var(--wp--preset--color--muted); }
.lingq-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.lingq-crumbs a { color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-crumbs a:hover { color: var(--wp--preset--color--accent); }
.lingq-crumbs [aria-current] { color: var(--wp--preset--color--muted); }
.lingq-crumbs--left .lingq-crumbs ol { justify-content: flex-start; }

/* Category / tag page header */
.lingq-archive-head { padding-bottom: 48px !important; }
.wp-site-blocks > main:has(> .lingq-archive-head:first-child) { margin-block-start: 0; }
.lingq-archive-head__title { margin: 0; font-size: var(--lq-fs-3xl); letter-spacing: -0.03em; }
.lingq-archive-head__desc { margin: 14px auto 0; max-width: 620px; font-size: var(--lq-fs-lg); color: var(--wp--preset--color--muted); }
.lingq-archive-head .lingq-slot-search, .lingq-archive-head .lingq-search { margin-top: 28px; }

/* Pre-footer "Try LingQ free" banner: grid of language tiles */
.lingq-prefooter { padding-block: 72px 0; background: var(--wp--preset--color--base); }
.lingq-prefooter__board { position: relative; isolation: isolate; aspect-ratio: 36 / 10; min-height: 340px; display: grid; place-items: center; border: 1px solid var(--wp--preset--color--line); border-bottom: 0; border-radius: 20px 20px 0 0; overflow: hidden;
	background-color: #FBFBFD;
	background-image: linear-gradient(var(--wp--preset--color--line) 1px, transparent 1px), linear-gradient(90deg, var(--wp--preset--color--line) 1px, transparent 1px);
	background-size: calc(100% / 36) 10%; }
.lingq-prefooter__content { padding: 24px; text-align: center; }
.lingq-prefooter__title { margin: 0 0 28px; line-height: 1.12; letter-spacing: -0.02em; }
.lingq-prefooter__title span { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: var(--lq-fs-3xl); color: var(--wp--preset--color--ink); }
.lingq-prefooter__title em { display: block; font-family: var(--wp--preset--font-family--reading); font-style: normal; font-weight: 400; letter-spacing: -0.03em; font-size: var(--lq-fs-2xl); color: var(--wp--preset--color--text); }
.lingq-prefooter__buttons { gap: 12px; }
.lingq-btn-primary .wp-block-button__link { background: var(--wp--preset--color--accent); color: #fff; border-radius: 12px; padding: 14px 22px; font-weight: 600; box-shadow: 0 6px 18px rgba(29,78,216,.28), inset 0 -2px 0 rgba(0,0,0,.15); }
.lingq-btn-primary .wp-block-button__link:hover { background: #1A43BF; }
.lingq-btn-ghost .wp-block-button__link { background: #fff; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--line); border-radius: 12px; padding: 13px 22px; font-weight: 600; }
.lingq-btn-ghost .wp-block-button__link:hover { border-color: var(--wp--preset--color--ink); }
@media (max-width: 781px) {
	.lingq-prefooter { padding-top: 48px; }
	.lingq-prefooter__board { aspect-ratio: auto; min-height: 380px; border-radius: 16px 16px 0 0; background-size: 34px 34px; }
}

/* Boxed cards (Flowlu-style): photo flush at the top, padded body */
.lingq-card { border: 1px solid var(--wp--preset--color--line); border-radius: 18px; background: var(--wp--preset--color--base); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.lingq-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 14px 34px rgba(14,26,43,.10); }
.lingq-card__img { border-radius: 0; }
.lingq-card > :not(.lingq-card__img) { margin-left: 24px !important; margin-right: 24px !important; }
.lingq-card__meta { margin-top: 20px; }
.lingq-card__foot { padding: 18px 0 22px; border-top: 1px solid var(--wp--preset--color--line); margin-top: auto; }
.lingq-card__excerpt { margin-bottom: 18px !important; }
.has-subtle-background-color .lingq-card { border-color: rgba(14,26,43,.06); }
.wp-block-post-template:has(.lingq-card) > li { display: flex; }
.wp-block-post-template:has(.lingq-card) > li > .lingq-card { width: 100%; }

/* Most popular: compact boxes with a flame */
.lingq-pop-grid { gap: 20px; }
.lingq-pop-grid > li { display: flex; }
.lingq-pop { display: flex; flex-direction: column; width: 100%; padding: 22px 22px 22px; border: 1px solid var(--wp--preset--color--line); border-radius: 18px; background: var(--wp--preset--color--base); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.lingq-pop:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 14px 34px rgba(14,26,43,.10); }
.lingq-pop__top { gap: 12px; }
.lingq-pop__top .wp-block-post-terms { margin: 0; }
.lingq-pop__title { margin: 14px 0 8px; font-size: var(--lq-fs-lg); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lingq-pop__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-pop:hover .lingq-pop__title a { color: var(--wp--preset--color--accent); }
.lingq-pop__meta { gap: 6px; font-size: var(--lq-fs-xs); color: var(--wp--preset--color--muted); }
.lingq-pop__meta > * { margin: 0; }
.lingq-pop__meta .lingq-reading-time::before { content: "·"; margin-right: 6px; }
.lingq-pop__img { margin: 18px 0 0; margin-top: auto !important; padding-top: 18px; }
.lingq-pop__img img, .lingq-pop__img a { border-radius: 12px; overflow: hidden; display: block; }

/* Related articles in the same boxes */
.lingq-related__card { border: 1px solid var(--wp--preset--color--line); border-radius: 18px; overflow: hidden; background: var(--wp--preset--color--base); padding-bottom: 24px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.lingq-related__card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 14px 34px rgba(14,26,43,.10); }
.lingq-related__img { border-radius: 0; }
.lingq-related__card > :not(.lingq-related__img) { margin-left: 24px; margin-right: 24px; }
.lingq-related__meta { margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .lingq-card, .lingq-pop, .lingq-related__card { transition: none; } .lingq-card:hover, .lingq-pop:hover, .lingq-related__card:hover { transform: none; } }

/* Language coin: LingQ symbol that flips to the post's flag (inc/lang-badge.php) */ .lingq-coin{flex:none;display:inline-block;width:23px;height:23px;perspective:400px}.lingq-coin__inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.34,1.4,.5,1)}.lingq-coin__face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.lingq-coin__front{background:#E4EBFF;color:var(--wp--preset--color--accent);box-shadow:inset 0 0 0 1px rgba(29,78,216,.12)}.lingq-coin__front svg{width:10px;height:auto}.lingq-coin__back{transform:rotateY(180deg);box-shadow:0 0 0 2px var(--wp--preset--color--base),0 4px 12px rgba(14,26,43,.18)}.lingq-coin__back img{width:100%;height:100%;object-fit:cover;display:block}.lingq-pop:hover .lingq-coin.has-flag .lingq-coin__inner,.lingq-pop:focus-within .lingq-coin.has-flag .lingq-coin__inner{transform:rotateY(180deg)}.lingq-pop:hover .lingq-coin:not(.has-flag) .lingq-coin__inner{animation:lingq-coin-wiggle .6s ease}@keyframes lingq-coin-wiggle{25%{transform:rotate(-14deg)}60%{transform:rotate(10deg)}}@media (prefers-reduced-motion:reduce){.lingq-coin__inner{transition:none}.lingq-pop:hover .lingq-coin:not(.has-flag) .lingq-coin__inner{animation:none}}/* Photos inside boxed cards:square corners,the box's own radius rounds the top */
.lingq-card .lingq-card__img, .lingq-card .lingq-card__img a, .lingq-card .lingq-card__img img,
.lingq-related__img, .lingq-related__img img { border-radius: 0 !important; }

/* Pre-footer: standalone card with space around it; word tiles span 1–3 cells */
.lingq-prefooter { padding-block: 80px 80px; }
.lingq-prefooter__board { border-bottom: 1px solid var(--wp--preset--color--line); border-radius: 24px; }
.lingq-prefooter__title em { letter-spacing: -0.01em; }
@media (max-width: 781px) {
	.lingq-prefooter { padding-block: 48px 48px; }
	.lingq-prefooter__board { border-radius: 18px; }
}

/* Pre-footer v2: copy + mini LingQ reader */
.lingq-prefooter__board { aspect-ratio: auto !important; min-height: 0 !important; display: flex !important; place-items: initial; margin: 0; padding: 56px; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 28px !important; overflow: visible;
	background: radial-gradient(600px 300px at 85% 20%, #E4EBFF 0%, rgba(228,235,255,0) 70%), radial-gradient(500px 260px at 10% 100%, #FFF6D6 0%, rgba(255,246,214,0) 70%), #FBFBFD !important; }
.lingq-prefooter__content { text-align: left; padding: 0; }
.lingq-prefooter__eyebrow { margin: 0 0 14px; font-size: var(--lq-fs-xs); font-weight: 700; letter-spacing: var(--lq-caps-spacing); text-transform: uppercase; color: var(--wp--preset--color--accent); }
.lingq-prefooter__title { margin: 0; text-align: left; }
.lingq-prefooter__title span { font-size: var(--lq-fs-2xl); }
.lingq-prefooter__title em { font-size: var(--lq-fs-xl); color: var(--wp--preset--color--muted); margin-top: 6px; }
.lingq-prefooter__lede { margin: 18px 0 28px; max-width: 440px; font-size: var(--lq-fs-body); line-height: 1.55; color: var(--wp--preset--color--text); }
.lingq-prefooter__buttons { justify-content: flex-start; }

@media (max-width: 781px) {
	.lingq-prefooter__board { padding: 28px 20px; border-radius: 20px !important; }
}

/* Watch with Steve (Flowlu-style): big player + video list */
.lingq-steve { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.lingq-steve__player { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--wp--preset--color--ink); box-shadow: 0 24px 50px -20px rgba(14,26,43,.35); }
.lingq-steve__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lingq-steve__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.lingq-steve__poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lingq-steve__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,43,0) 45%, rgba(14,26,43,.75) 100%); }
.lingq-steve__poster:hover img { transform: scale(1.03); }
.lingq-steve__play { position: absolute; left: 28px; bottom: 28px; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--accent); color: #fff; box-shadow: 0 8px 24px rgba(29,78,216,.45); transition: transform .2s ease; }
.lingq-steve__play svg { width: 26px; height: 26px; margin-left: 3px; }
.lingq-steve__poster:hover .lingq-steve__play, .lingq-steve__poster:focus-visible .lingq-steve__play { transform: scale(1.1); }
.lingq-steve__caption { position: absolute; left: 104px; right: 28px; bottom: 34px; z-index: 1; color: #fff; font-weight: 700; font-size: var(--lq-fs-lg); line-height: 1.25; text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.lingq-steve__side { display: flex; flex-direction: column; }
.lingq-steve__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.lingq-steve__list li { border-bottom: 1px solid var(--wp--preset--color--line); }
.lingq-steve__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 4px; color: var(--wp--preset--color--ink); text-decoration: none; }
.lingq-steve__text { display: flex; flex-direction: column; gap: 8px; }
.lingq-steve__title { font-weight: 600; font-size: var(--lq-fs-md); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lingq-steve__meta { font-size: var(--lq-fs-xs); color: var(--wp--preset--color--muted); }
.lingq-steve__icon { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); transition: all .15s; }
.lingq-steve__icon svg { width: 13px; height: 13px; margin-left: 2px; }
.lingq-steve__item:hover .lingq-steve__title { color: var(--wp--preset--color--accent); }
.lingq-steve__item:hover .lingq-steve__icon, .lingq-steve__item.is-active .lingq-steve__icon { background: var(--wp--preset--color--accent); color: #fff; }
.lingq-steve__item.is-active .lingq-steve__title { color: var(--wp--preset--color--accent); }
.lingq-steve__all { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; background: var(--wp--preset--color--accent); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px rgba(29,78,216,.28); }
.lingq-steve__all svg { width: 18px; height: 18px; }
.lingq-steve__all:hover { background: #1A43BF; }
@media (max-width: 900px) {
	.lingq-steve { grid-template-columns: 1fr; gap: 24px; }
	.lingq-steve__caption { display: none; }
	.lingq-steve__play { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
	.lingq-steve__poster:hover .lingq-steve__play { transform: translate(-50%, -50%) scale(1.1); }
}
.wp-block-post-terms:has(.lingq-pill) .wp-block-post-terms__separator { display: none; }

/* Newsletter + community (Flowlu-style) */
.lingq-signup { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 24px; }
.lingq-signup__news { position: relative; overflow: hidden; padding: 48px; border-radius: 22px;
	background: radial-gradient(520px 260px at 0% 0%, #FFF3C4 0%, rgba(255,243,196,0) 70%), radial-gradient(600px 320px at 100% 100%, #D9E4FF 0%, rgba(217,228,255,0) 70%), #F3F6FD; }
.lingq-signup__news::after { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.45); pointer-events: none; }
.lingq-signup__news > * { position: relative; z-index: 1; }
.lingq-signup__title { margin: 0; font-size: var(--wp--preset--font-size--x-large); }
.lingq-signup__lede { margin: 12px 0 28px; font-size: var(--lq-fs-body); color: var(--wp--preset--color--text); }
.lingq-signup__form { display: flex; gap: 10px; max-width: 620px; }
.lingq-signup__form input { flex: 1; min-width: 0; padding: 15px 18px; border: 1px solid var(--wp--preset--color--line); border-radius: 12px; background: #fff; font: inherit; font-size: var(--lq-fs-md); color: var(--wp--preset--color--ink); }
.lingq-signup__form input:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; border-color: transparent; }
.lingq-signup__form button { flex: none; width: 54px; border: 0; border-radius: 12px; background: var(--wp--preset--color--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(29,78,216,.28); transition: background .15s, transform .15s; }
.lingq-signup__form button:hover { background: #1A43BF; transform: translateX(2px); }
.lingq-signup__status { margin: 10px 0 0; font-size: var(--lq-fs-sm); font-weight: 600; color: var(--wp--preset--color--accent); }
.lingq-signup__legal { margin: 16px 0 0; max-width: 620px; font-size: var(--lq-fs-xs); line-height: 1.5; color: var(--wp--preset--color--muted); }
.lingq-signup__legal a { color: var(--wp--preset--color--accent); }
.lingq-signup__community { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 32px; border-radius: 22px; background: #E8EEFF; text-align: center; }
.lingq-signup__icon { position: relative; display: inline-block; width: 64px; height: 64px; margin-bottom: 20px; }
.lingq-signup__mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--accent); color: #fff; box-shadow: 0 10px 24px rgba(29,78,216,.3); }
.lingq-signup__mark svg { width: 26px; height: auto; }
.lingq-signup__badge { position: absolute; right: -6px; bottom: -4px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--highlight); color: var(--wp--preset--color--ink); border: 3px solid #E8EEFF; }
.lingq-signup__spark { position: absolute; left: -10px; top: -8px; font-size: var(--lq-fs-xl); font-weight: 700; line-height: 1; color: var(--wp--preset--color--accent); }
.lingq-signup__ctitle { margin: 0; font-size: var(--lq-fs-lg); }
.lingq-signup__ctext { margin: 10px 0 18px; max-width: 280px; font-size: var(--lq-fs-md); line-height: 1.5; color: var(--wp--preset--color--text); }
.lingq-signup__clink { margin: 0; }
.lingq-signup__clink a { font-weight: 700; color: var(--wp--preset--color--accent); text-decoration: none; }
.lingq-signup__clink a::after { content: " ›"; }
.lingq-signup__clink a:hover { text-decoration: underline; }
.lingq-article-main .lingq-signup { grid-template-columns: 1fr; }
@media (max-width: 860px) { .lingq-signup { grid-template-columns: 1fr; } .lingq-signup__news { padding: 32px 24px; } }

/* Language cards: the flag fades in at the top-right corner on hover */

/* Image sizes closer to Flowlu: smaller photos, tighter grids */
.wp-block-post-template:has(.lingq-card), .lingq-related__list { max-width: 1176px; margin-left: auto; margin-right: auto; }
.lingq-card__title { font-size: var(--lq-fs-lg); }
.lingq-related__img { aspect-ratio: 16 / 9; }
.lingq-related__title { font-size: var(--lq-fs-lg); }
.lingq-pop__img img { height: 130px !important; width: 100%; object-fit: cover; aspect-ratio: auto !important; }
.lingq-pop__img { aspect-ratio: auto !important; }
.lingq-feature { grid-template-columns: 1fr 1fr; max-width: 1176px; margin-left: auto; margin-right: auto; }
.lingq-feature__media { min-height: 0; position: relative; }
.lingq-feature__img { position: absolute; inset: 0; }
.lingq-feature__title { font-size: var(--lq-fs-2xl); }
@media (max-width: 860px) { .lingq-feature__media { aspect-ratio: 16 / 9; } }
.lingq-pop-grid, .lingq-popular-row > .wp-block-heading, .lingq-section-head, .lingq-section-lede { max-width: 1176px; margin-left: auto !important; margin-right: auto !important; }

/* No lift or image zoom on hover (shadow/colour changes stay) */
.lingq-card:hover, .lingq-pop:hover, .lingq-related__card:hover { transform: none !important; }
.lingq-card:hover .lingq-card__img img, .lingq-related__card:hover .lingq-related__img img, .lingq-feature:hover .lingq-feature__img, .lingq-steve__poster:hover img { transform: none !important; }

/* LingQ logo (assets/img/lingq-logo.svg, colored with currentColor) */
.lingq-logo { display: inline-flex; align-items: center; color: var(--wp--preset--color--ink); line-height: 0; }
.lingq-logo__svg { height: 26px; width: auto; display: block; }
.lingq-logo:hover { color: var(--wp--preset--color--accent); }
header .lingq-slot-logo + p { margin: 0 0 1px; line-height: 1; }
.lingq-footer .lingq-logo { color: #fff; }
.lingq-footer .lingq-logo__svg { height: 30px; }
.lingq-footer .lingq-logo:hover { color: var(--wp--preset--color--highlight); }

/* Mini LingQ reader — values from the LingQ Reader Figma (PageMode, TextHighlight, MeaningPopUp, LingQStatusButton) */
.lingq-reader { --lq-green: #42A564; --lq-green-100: #DDF0D7; --lq-green-dark: #155429; --lq-blue: #2E75CD; --lq-blue-50: #F1F7FE; --lq-border: #F1F3F4; --lq-fg: #0A0A0A;
	position: relative; background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -24px rgba(14,26,43,.28), 0 0 0 1px rgba(14,26,43,.06); font-family: var(--wp--preset--font-family--ui); color: var(--lq-fg); }
.lingq-reader__header { display: flex; align-items: center; gap: 12px; padding: 16px; }
.lingq-reader__exit { display: grid; place-items: center; width: 40px; height: 40px; flex: none; }
.lingq-reader__progress { --p: 12%; position: relative; flex: 1; height: 4px; border-radius: 999px; background: var(--lq-border); }
.lingq-reader__progress-fg { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 999px; background: var(--lq-green); transition: width .5s ease; }
.lingq-reader__thumb { position: absolute; top: 50%; left: calc(var(--p) - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--lq-green); transform: translateY(-50%); box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: left .5s ease; }
.lingq-reader__stats { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; }
.lingq-reader__tabs { display: flex; gap: 8px; padding: 0 16px 4px; }
.lingq-reader__tab { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border: 1px solid var(--lq-border); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: #6B7280; cursor: pointer; }
.lingq-reader__tab img { width: 20px; height: 20px; border-radius: 50%; display: block; }
.lingq-reader__tab[aria-selected="true"] { border-color: var(--lq-green); background: var(--lq-green-100); color: var(--lq-green-dark); }
.lingq-reader__body { position: relative; padding: 8px 16px 20px; min-height: 210px; }
.lingq-reader__text { margin: 0; font-size: 20px; font-weight: 500; line-height: 44px; font-variation-settings: "opsz" 14; transition: opacity .25s ease; }
.lingq-reader.is-turning .lingq-reader__text:not([hidden]) { opacity: 0; }
/* Text highlights */
.lingq-w { display: inline; margin: 0; padding: 4px 2px; border: 1px solid transparent; border-radius: 6px; background: transparent; font: inherit; line-height: inherit; color: inherit; cursor: pointer; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color .25s ease, border-color .25s ease, box-shadow .15s ease; }
.lingq-w[data-status="new"] { background: var(--lq-blue-50); border-color: var(--lq-blue); }
.lingq-w[data-status="1"] { background: var(--lq-green-100); border-color: var(--lq-green); }
.lingq-w[data-status="2"] { background: rgba(221,240,215,.5); border-color: var(--lq-green); }
.lingq-w[data-status="3"] { background: rgba(244,252,239,.25); border-color: var(--lq-green); }
.lingq-w[data-status="4"] { border-color: var(--lq-green); }
.lingq-w[data-status="known"] { cursor: default; }
.lingq-w.is-focus { box-shadow: 0 0 0 1px currentColor; }
.lingq-w.is-focus[data-status="new"] { box-shadow: 0 0 0 1px var(--lq-blue); }
.lingq-w.is-focus:not([data-status="new"]) { box-shadow: 0 0 0 1px var(--lq-green); }
.lingq-w:focus-visible { outline: 2px solid var(--lq-blue); outline-offset: 2px; }
/* Meaning popup */
.lingq-reader__pop { position: absolute; z-index: 5; display: flex; align-items: center; gap: 4px; padding: 8px; background: #fff; border: .5px solid var(--lq-border); border-radius: 6px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.15); transform: translateY(calc(-100% - 6px)); white-space: nowrap; animation: lingq-reader-pop .15s ease; }
@keyframes lingq-reader-pop { from { opacity: 0; transform: translateY(calc(-100% - 2px)); } }
.lingq-reader__meaning { margin-left: 4px; font-size: 16px; font-weight: 400; line-height: 20px; }
.lingq-reader__chev { display: grid; place-items: center; width: 34px; height: 34px; }
.lingq-status { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--lq-green); border-radius: 50%; background: var(--lq-green-100); color: var(--lq-green-dark); font: inherit; font-size: 16px; font-weight: 500; line-height: 20px; cursor: pointer; transition: background-color .2s ease, transform .15s ease; }
.lingq-status:hover { transform: scale(1.08); }
.lingq-status[data-status="2"] { background: rgba(221,240,215,.5); }
.lingq-status[data-status="3"] { background: rgba(221,240,215,.25); }
.lingq-status[data-status="4"] { background: transparent; }
.lingq-status[data-status="known"] { background: #FBFCFD; border-color: var(--lq-border); }
.lingq-status__check { display: none; }
.lingq-status[data-status="known"] .lingq-status__check { display: grid; }
.lingq-status[data-status="known"] .lingq-status__n { display: none; }
/* Footer */
.lingq-reader__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--lq-border); font-size: 13px; color: #6B7280; }
.lingq-reader__hint { font-style: italic; }
.lingq-reader__known { position: relative; display: inline-flex; align-items: baseline; gap: 6px; }
.lingq-reader__known strong { font-size: 18px; color: var(--lq-fg); font-variant-numeric: tabular-nums; }
.lingq-reader__known.is-bump strong { animation: lingq-reader-bump .4s ease; }
@keyframes lingq-reader-bump { 40% { transform: scale(1.25); color: var(--lq-green); } }
.lingq-reader__plus { position: absolute; right: 0; top: -4px; font-weight: 700; color: var(--lq-green); opacity: 0; pointer-events: none; }
.lingq-reader__plus.is-on { animation: lingq-reader-plus .9s ease; }
@keyframes lingq-reader-plus { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
@media (max-width: 781px) { .lingq-reader__text { font-size: 18px; line-height: 40px; } }
@media (prefers-reduced-motion: reduce) { .lingq-reader *, .lingq-reader__pop { animation: none !important; transition: none !important; } }

/* All articles: language tabs + Load more */
.lingq-all { max-width: 1176px; margin: 0 auto; }
.lingq-tabs { position: relative; /* keeps the tabs' screen-reader text inside the scroller (else the page scrolls sideways on phones) */ display:flex;align-items:center;gap:4px;margin:0 0 32px;padding-bottom:14px;border-bottom:1px solid var(--wp--preset--color--line);overflow-x:auto;scrollbar-width:none}.lingq-tabs::-webkit-scrollbar{display:none}.lingq-tabs__tab,.lingq-tabs__more summary{display:inline-flex;align-items:center;gap:8px;flex:none;padding:8px 14px;border-radius:10px;font-size:var(--lq-fs-ui);font-weight:500;color:var(--wp--preset--color--muted);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .15s,color .15s}.lingq-tabs__tab img{width:18px;height:18px;border-radius:50%;display:block}.lingq-tabs__tab:hover,.lingq-tabs__more summary:hover{color:var(--wp--preset--color--ink);background:var(--wp--preset--color--subtle)}.lingq-tabs__tab[aria-current="true"],.lingq-tabs__more.has-selected summary{background:#E4EBFF;color:var(--wp--preset--color--accent)}.lingq-tabs__more{position:relative;flex:none}.lingq-tabs__more summary{list-style:none}.lingq-tabs__more summary::-webkit-details-marker{display:none}.lingq-tabs__more summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}.lingq-tabs__more ul{position:fixed;z-index:60;margin:8px 0 0;padding:8px;list-style:none;min-width:200px;max-height:320px;overflow:auto;background:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--line);border-radius:14px;box-shadow:0 16px 40px rgba(14,26,43,.14)}.lingq-tabs__more ul .lingq-tabs__tab{width:100%}.lingq-all__grid{transition:opacity .2s ease}.lingq-all__grid.is-loading{opacity:.4;pointer-events:none}.lingq-all__more{margin:40px 0 0;text-align:center}.lingq-all__load{padding:12px 28px;border:1px solid var(--wp--preset--color--line);border-radius:12px;background:var(--wp--preset--color--base);font:inherit;font-weight:600;color:var(--wp--preset--color--ink);cursor:pointer}.lingq-all__load:hover{border-color:var(--wp--preset--color--ink)}.lingq-all__load.is-loading{opacity:.5;cursor:progress}.lingq-lang-grid--compact{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;margin:20px 0 0}.lingq-lang-toggle__more::after{content:" ▾"}.lingq-lang-toggle__less{display:none}.lingq-all__filter{display:flex;align-items:center;gap:10px;margin:28px 0 0;font-size:var(--lq-fs-ui);color:var(--wp--preset--color--muted)}.lingq-all__filter[hidden]{display:none}.lingq-all__filter-label{font-weight:700;color:var(--wp--preset--color--ink)}.lingq-all__clear{padding:4px 12px;border:1px solid var(--wp--preset--color--line);border-radius:999px;background:none;font:inherit;font-size:var(--lq-fs-xs);color:var(--wp--preset--color--accent);cursor:pointer}.lingq-all__clear:hover{border-color:var(--wp--preset--color--accent)}.lingq-all__grid{margin-top:32px}@media (max-width:900px){.lingq-lang-grid--compact{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:600px){.lingq-lang-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}#languages .lingq-tabs{margin-top:20px}.lingq-tabs__more{margin-left:auto}.lingq-tabs__label{display:inline-grid;height:1.4em;line-height:1.4em;overflow:hidden}.lingq-tabs__label>span{grid-area:1 / 1;transition:transform .32s cubic-bezier(.3,1.3,.5,1),opacity .2s ease}.lingq-tabs__label>span + span{transform:translateY(100%);opacity:0}.lingq-tabs__tab:hover .lingq-tabs__label:not(.is-single)>span:first-child,.lingq-tabs__tab:focus-visible .lingq-tabs__label:not(.is-single)>span:first-child,.lingq-tabs__tab[aria-current="true"] .lingq-tabs__label:not(.is-single)>span:first-child{transform:translateY(-100%);opacity:0}.lingq-tabs__tab:hover .lingq-tabs__label>span + span,.lingq-tabs__tab:focus-visible .lingq-tabs__label>span + span,.lingq-tabs__tab[aria-current="true"] .lingq-tabs__label>span + span{transform:translateY(0);opacity:1}.lingq-tabs__more ul .lingq-tabs__label{justify-items:start}@media (prefers-reduced-motion:reduce){.lingq-tabs__label>span{transition:opacity .2s ease;transform:none !important}}/* "More" languages menu:opens right under its button */ @media (min-width:782px){.lingq-tabs{overflow:visible;flex-wrap:wrap}}.lingq-tabs__more ul{position:absolute;top:calc(100% + 6px);left:0;margin:0}.lingq-tabs__more[open] summary{background:var(--wp--preset--color--subtle);color:var(--wp--preset--color--ink)}@media (max-width:781px){.lingq-tabs__more ul{position:fixed}}.lingq-card__title,.lingq-pop__title,.lingq-related__title,.lingq-steve__title,.lingq-pn__title,.lingq-prose h3,.lingq-prose h4{font-weight:600}.lingq-card__title,.lingq-pop__title,.lingq-related__title{letter-spacing:-0.005em;line-height:1.3}.lingq-hero__title{font-weight:700;letter-spacing:-0.03em;line-height:1.05}.lingq-feature__title,.lingq-archive-head__title,.lingq-results-head__title,.wp-block-heading.has-large-font-size{line-height:1.15}.lingq-article-cols{grid-template-columns:minmax(0,700px) 276px;gap:96px}@media (max-width:1100px){.lingq-article-cols{grid-template-columns:minmax(0,700px);gap:0}}.lingq-article-main .wp-block-post-title{font-size:var(--lq-fs-3xl);line-height:1.1;letter-spacing:-0.025em}.lingq-prose h2{font-size:var(--wp--preset--font-size--x-large);margin-top:2.6em;margin-bottom:.6em}.lingq-prose h3{font-size:var(--lq-fs-xl);margin-top:2em;margin-bottom:.5em}.lingq-prose h4{font-size:var(--lq-fs-lg);margin-top:1.6em;margin-bottom:.4em}.lingq-prose li + li{margin-top:.4em}.lingq-prose figcaption,.lingq-photo figcaption{font-size:var(--lq-fs-xs)}.lingq-pill{font-size:var(--lq-fs-3xs);padding:3px 8px;letter-spacing:0.06em;line-height:1.45;border-radius:5px}.lingq-feature__badge{font-size:0.625rem;padding:3px 8px;letter-spacing:0.06em}.lingq-steve__player{align-self:start;width:100%}.lingq-reader__pop[hidden]{display:none}.lingq-signup{align-items:stretch}.lingq-signup>*{margin:0 !important}/* "What are you learning?":section spacing like the others;subtitle sits under its heading */ #languages{padding-top:112px !important}#languages>.wp-block-heading{margin-bottom:0}#languages>.wp-block-heading + p{margin-top:10px}.lingq-slot-featured + .lingq-popular-row:empty,.lingq-slot-featured + #languages{margin-top:0}.lingq-footer__legal a{text-decoration:underline;text-underline-offset:2px}.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.lingq-prefooter__eyebrow img{width:16px;height:16px;border-radius:50%;object-fit:cover;vertical-align:-3px;margin-right:6px}.lingq-prefooter__apps{margin:16px 0 0;font-size:var(--lq-fs-sm);color:var(--wp--preset--color--muted)}.lingq-prefooter__apps a{color:var(--wp--preset--color--ink);font-weight:500;text-decoration:underline;text-underline-offset:2px}.lingq-prefooter__visual{margin:0}.lingq-prefooter__visual img{display:block;width:100%;max-width:539px;height:auto;border-radius:20px;box-shadow:0 18px 40px rgba(14,26,43,.12)}.lingq-prefooter__notes{display:flex;flex-wrap:wrap;gap:8px 18px;margin:18px 0 0;padding:0;list-style:none;font-size:var(--lq-fs-sm);color:var(--wp--preset--color--muted)}.lingq-prefooter__notes li{display:inline-flex;align-items:center;gap:8px}.lingq-prefooter__notes li::before{content:"";width:6px;height:6px;border-radius:50%;background:#42A564}@media (max-width:781px){.lingq-prefooter__demo{display:none !important}}.lingq-cover--update{background:radial-gradient(120% 90% at 85% 10%,#1D4ED8 0%,rgba(29,78,216,0) 60%),var(--wp--preset--color--ink);color:#fff}.lingq-cover>.lingq-cover__update,.lingq-cover a>.lingq-cover__update{flex:1;align-self:stretch}.lingq-cover__update{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:1rem;font-family:var(--wp--preset--font-family--ui);text-align:center;color:#fff}.lingq-cover__symbol{display:inline-flex;width:44px;height:44px;color:var(--wp--preset--color--highlight)}.lingq-cover__symbol svg{width:100%;height:100%}.lingq-cover__label{font-family:var(--wp--preset--font-family--display);font-weight:700;font-size:var(--lq-fs-xl);letter-spacing:-0.01em;color:#fff}.lingq-cover__date{font-size:var(--lq-fs-xs);text-transform:uppercase;letter-spacing:var(--lq-caps-spacing);color:#C9D2E0}.lingq-cover--hero .lingq-cover__symbol{width:72px;height:72px}.lingq-cover--hero .lingq-cover__label{font-size:var(--lq-fs-3xl)}.lingq-article-main .lingq-signup{gap:12px}.lingq-article-main .lingq-signup__news{padding:28px 32px;border-radius:18px}.lingq-article-main .lingq-signup__news::after{display:none}.lingq-article-main .lingq-signup__title{font-size:var(--lq-fs-xl)}.lingq-article-main .lingq-signup__lede{margin:6px 0 18px;font-size:var(--lq-fs-ui)}.lingq-article-main .lingq-signup__form input{padding:12px 16px}.lingq-article-main .lingq-signup__form button{width:48px}.lingq-article-main .lingq-signup__legal{margin-top:12px}.lingq-article-main .lingq-signup__community{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"icon title link" "icon text link";align-items:center;column-gap:16px;padding:18px 24px;border-radius:18px;text-align:left}.lingq-article-main .lingq-signup__icon{grid-area:icon;width:40px;height:40px;margin:0}.lingq-article-main .lingq-signup__mark{width:40px;height:40px}.lingq-article-main .lingq-signup__mark svg{width:17px}.lingq-article-main .lingq-signup__badge,.lingq-article-main .lingq-signup__spark{display:none}.lingq-article-main .lingq-signup__ctitle{grid-area:title;margin:0;font-size:var(--lq-fs-md);text-align:left !important}.lingq-article-main .lingq-signup__ctext{grid-area:text;margin:2px 0 0;max-width:none;font-size:var(--lq-fs-sm);text-align:left !important}.lingq-article-main .lingq-signup__clink{grid-area:link;white-space:nowrap;font-size:var(--lq-fs-ui)}@media (max-width:600px){.lingq-article-main .lingq-signup__news{padding:24px 20px}.lingq-article-main .lingq-signup__community{grid-template-areas:"icon title" "icon text" "icon link";grid-template-columns:auto 1fr;padding:16px 18px}.lingq-article-main .lingq-signup__clink{margin-top:6px}}@media (max-width:600px){.lingq-author-box .wp-block-post-author{flex-direction:column;gap:12px}.lingq-author-box .wp-block-post-author__avatar{margin:0}.lingq-author-box .wp-block-post-author__avatar img{width:48px;height:48px}.lingq-author-box .wp-block-post-author__content{padding:0}}/* Topic pills (inc/search.php):hero,search overlay,"no results". */ .lingq-topics{text-align:center}.lingq-topics__label{margin:0 0 12px;font-family:var(--wp--preset--font-family--ui);font-size:var(--lq-fs-2xs);font-weight:600;text-transform:uppercase;letter-spacing:var(--lq-caps-spacing);color:var(--wp--preset--color--muted)}.lingq-topics__list{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:0;padding:0;list-style:none}.lingq-topic{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;box-sizing:border-box;border:1px solid var(--wp--preset--color--line);border-radius:999px;background:var(--wp--preset--color--base);color:var(--wp--preset--color--ink);font-family:var(--wp--preset--font-family--ui);font-size:var(--lq-fs-md);font-weight:500;line-height:1.2;text-decoration:none;transition:border-color .15s,color .15s}.lingq-topic:hover,.lingq-topic:focus-visible{border-color:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent)}.lingq-topic:focus-visible{outline:2px solid var(--wp--preset--color--accent);outline-offset:2px}.lingq-ssearch__open{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid var(--wp--preset--color--line);border-radius:999px;background:var(--wp--preset--color--base);color:var(--wp--preset--color--ink);cursor:pointer}.lingq-ssearch__open:hover,.lingq-ssearch__open:focus-visible{border-color:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent)}.lingq-ssearch__open:focus-visible{outline:2px solid var(--wp--preset--color--accent);outline-offset:2px}.lingq-ssearch__dialog{position:fixed;inset:0;z-index:1000;background:rgba(14,26,43,.45);overflow-y:auto}.lingq-ssearch__dialog[hidden]{display:none}.lingq-ssearch__panel{background:var(--wp--preset--color--base);padding:28px 16px 36px;box-shadow:0 20px 40px rgba(14,26,43,.15)}.lingq-ssearch__form,.lingq-ssearch__empty{max-width:860px;margin:0 auto}.lingq-ssearch__form{display:flex;align-items:center;gap:12px;padding:0 8px 0 20px;border:2px solid var(--wp--preset--color--accent);border-radius:16px;color:var(--wp--preset--color--muted)}.lingq-ssearch__form input{flex:1;min-width:0;padding:18px 0;border:0;background:none;font-family:var(--wp--preset--font-family--ui);font-size:var(--lq-fs-xl);color:var(--wp--preset--color--ink);outline:none}.lingq-ssearch__close{flex:none;width:44px;height:44px;border:0;border-radius:10px;background:none;font-size:28px;line-height:1;color:var(--wp--preset--color--muted);cursor:pointer}.lingq-ssearch__close:hover,.lingq-ssearch__close:focus-visible{background:var(--wp--preset--color--subtle);color:var(--wp--preset--color--ink)}.lingq-ssearch__empty{padding-top:28px}.lingq-ssearch__empty .lingq-topics{text-align:left}.lingq-ssearch__empty .lingq-topics__list{justify-content:flex-start}.lingq-ssearch__latest{margin-top:28px}.lingq-ssearch__latest ul{margin:0;padding:0;list-style:none;display:grid;gap:4px}.lingq-ssearch__latest a{display:block;padding:8px 0;color:var(--wp--preset--color--ink);font-family:var(--wp--preset--font-family--ui);font-size:var(--lq-fs-md);font-weight:500;text-decoration:none}.lingq-ssearch__latest a:hover,.lingq-ssearch__latest a:focus-visible{color:var(--wp--preset--color--accent)}html.lingq-ssearch-open{overflow:hidden}/* Results page:friendly "no results" (the core no-results line is replaced by it). */ .search-no-results .lingq-noresults-fallback{display:none}.lingq-noresults{max-width:640px;margin:8px auto 0;text-align:center;font-family:var(--wp--preset--font-family--ui)}.lingq-noresults__title{margin:0 0 6px;font-size:var(--lq-fs-xl);font-weight:600;color:var(--wp--preset--color--ink)}.lingq-noresults .lingq-topics{margin:20px 0}.lingq-noresults__home{font-weight:600}/* Phones:no "Try LingQ free" in the header (the pre-footer and articles carry the CTA),so logo,menu,language and search fit without sideways scroll. */ @media (max-width:600px){header .wp-block-buttons{display:none}.lingq-ssearch__open{width:40px;height:40px}}@media (max-width:600px){.lingq-section-head{flex-wrap:wrap;row-gap:6px}}@media (max-width:781px){.lingq-feature{grid-template-columns:1fr !important}.lingq-feature>:first-child,.lingq-feature>:first-child img,.lingq-feature>:first-child .lingq-cover{width:100% !important;max-width:none}}/* Media inside articles never wider than the column (old posts have width="1920" videos). */ .lingq-prose video,.lingq-prose iframe,.lingq-prose embed,.lingq-prose object,.lingq-prose img{max-width:100%}.lingq-prose video,.lingq-prose img{height:auto}.lingq-prose iframe:not([height]){aspect-ratio:16 / 9;height:auto}.lingq-prose{overflow-wrap:break-word}.lingq-prose a{overflow-wrap:anywhere}/* Promotions:end of article (same box as the "Start learning for free" CTA it replaces) and the homepage band. */ .lingq-promo--article_end{border-radius:20px;padding:36px;margin:32px 0 0}.lingq-promo--article_end .lingq-promo__headline{font-size:var(--wp--preset--font-size--x-large)}main>.lingq-promo--band{margin:24px auto 56px;max-width:1176px}@media (max-width:600px){.lingq-promo--article_end,.lingq-promo--band{padding:24px 20px}}.lingq-promo--sidebar .lingq-promo__copy{flex:none}.lingq-promo--yellow .lingq-countdown__label{color:rgba(14,26,43,.7)}.lingq-pills:empty{display:none}/* Promotion style "Brand gradient" */ .lingq-promo--brand{background:var(--lq-brand-gradient);color:#fff}.lingq-promo--brand .lingq-promo__eyebrow,.lingq-promo--brand .lingq-promo__body{color:rgba(255,255,255,.92)}.lingq-promo--brand .lingq-promo__button{background:#fff;color:#2B5BE8}.lingq-promo--brand .lingq-countdown__label{color:rgba(255,255,255,.85)}main:has(>.lingq-hero:first-child){margin-block-start:0 !important}header .wp-block-button__link{background:var(--wp--preset--color--highlight) !important;color:var(--wp--preset--color--ink) !important}header .wp-block-button__link:hover,header .wp-block-button__link:focus-visible{background:#F5C518 !important}.lingq-feature__badge,.lingq-feature__tags .lingq-pill,.lingq-pill{font-size:var(--lq-fs-3xs);font-weight:700;letter-spacing:.06em;line-height:1.45;padding:3px 8px;border-radius:5px;text-transform:uppercase}.lingq-menu-flag{width:18px;height:18px;border-radius:50%;object-fit:cover;margin-right:10px;vertical-align:-4px;flex:none}.lingq-lang-menu .wp-block-navigation-item__content{display:flex;align-items:center}.lingq-prefooter__board{justify-content:center;text-align:center}.lingq-prefooter__content{flex-basis:auto !important;max-width:640px;margin:0 auto;text-align:center}.lingq-prefooter__content .lingq-prefooter__title{text-align:center}.lingq-prefooter__content .lingq-prefooter__lede{margin-left:auto;margin-right:auto}.lingq-prefooter__content .lingq-prefooter__buttons{justify-content:center}.lingq-author-more{margin:10px 0 0;font-family:var(--wp--preset--font-family--ui);font-size:var(--lq-fs-sm)}.lingq-author-more a{font-weight:600;color:var(--wp--preset--color--accent);text-decoration:none}.lingq-author-more a::after{content:" →"}.lingq-author-more a:hover{text-decoration:underline}.wp-block-post-author__name a,.wp-block-post-author-name a,.lingq-feature__name a{color:inherit;text-decoration:none}.wp-block-post-author__name a:hover,.wp-block-post-author-name a:hover,.lingq-feature__name a:hover{text-decoration:underline;text-underline-offset:3px}.lingq-author-head{max-width:860px;margin:0 auto;padding:64px 0 40px;font-family:var(--wp--preset--font-family--ui)}.lingq-author-head__role{margin:0 0 20px;font-size:var(--lq-fs-2xs);font-weight:600;text-transform:uppercase;letter-spacing:var(--lq-caps-spacing);color:var(--wp--preset--color--muted)}.lingq-author-head__row{display:flex;gap:28px;align-items:flex-start}.lingq-author-head__photo{flex:none;width:120px;height:120px;border-radius:16px;object-fit:cover}.lingq-author-head__name{margin:0 0 10px;font-size:var(--wp--preset--font-size--x-large)}.lingq-author-head__bio{margin:0;font-size:var(--lq-fs-body);line-height:1.6;color:var(--wp--preset--color--text)}.lingq-author-head__expertise{margin:10px 0 0;font-size:var(--lq-fs-body)}.lingq-author-head__links{display:flex;gap:12px;margin:14px 0 0}.lingq-author-head__links a{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid var(--wp--preset--color--line);color:var(--wp--preset--color--ink)}.lingq-author-head__links a:hover,.lingq-author-head__links a:focus-visible{border-color:var(--wp--preset--color--accent);color:var(--wp--preset--color--accent)}.lingq-author-more-title{margin:24px auto 0 !important;font-size:var(--wp--preset--font-size--x-large)}@media (max-width:600px){.lingq-author-head{padding-top:40px}.lingq-author-head__row{flex-direction:column;gap:16px}.lingq-author-head__photo{width:88px;height:88px}}/* Promotion style "LingQ card":dark card,logo + divider,headline,bullet list,full-width yellow button. */ .lingq-promo--card{background:var(--wp--preset--color--ink);color:#fff;border-radius:14px}.lingq-promo--card .lingq-promo__logo{margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.18);color:#fff}.lingq-promo--card .lingq-promo__logo svg{display:block;width:92px;height:auto}.lingq-promo--card .lingq-promo__headline{font-size:var(--lq-fs-lg);line-height:1.35}.lingq-promo__list{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:10px;font-size:var(--lq-fs-sm);line-height:1.45}.lingq-promo__list li{position:relative;padding-left:18px}.lingq-promo__list li::before{content:"";position:absolute;left:2px;top:.55em;width:6px;height:6px;border-radius:50%;background:#42A564}.lingq-promo--card .lingq-promo__list{color:rgba(255,255,255,.88)}.lingq-promo--card .lingq-promo__body{color:rgba(255,255,255,.85)}.lingq-promo--card .lingq-promo__button{width:100%;justify-content:center;margin-top:4px;background:var(--wp--preset--color--highlight);color:var(--wp--preset--color--ink)}.lingq-promo--card .lingq-promo__button:hover{background:#F5C518}.lingq-promo--sidebar .lingq-promo__copy{width:100%;min-width:0}.lingq-promo--sidebar .lingq-promo__button{box-sizing:border-box;max-width:100%}/* Homepage "Product updates" band (inc/updates.php),after Linear's "Press" row. */ .lingq-updates{padding:64px 24px 24px}.lingq-updates__inner{max-width:1176px;margin:0 auto}.lingq-updates .lingq-section-head{display:flex;align-items:center}.lingq-updates__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:32px;margin:0;padding:0;list-style:none}.lingq-updates__item{position:relative}.lingq-updates__item + .lingq-updates__item::before{content:"";position:absolute;top:0;bottom:0;left:-16px;border-left:1px solid var(--wp--preset--color--line)}.lingq-updates__item a{display:block;color:inherit;text-decoration:none;font-family:var(--wp--preset--font-family--ui)}.lingq-updates__media{position:relative;display:block;aspect-ratio:16 / 9;border-radius:8px;overflow:hidden;background:var(--wp--preset--color--subtle)}.lingq-updates__media img,.lingq-updates__media .lingq-cover{display:flex;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;border-radius:0}.lingq-updates__media .lingq-cover__symbol{width:32px;height:32px}.lingq-updates__title{display:block;margin-top:18px;font-size:var(--lq-fs-md);font-weight:600;line-height:1.45;color:var(--wp--preset--color--ink)}.lingq-updates__meta{display:block;margin-top:10px;font-size:var(--lq-fs-sm);color:var(--wp--preset--color--muted)}.lingq-updates__item a:hover .lingq-updates__title,.lingq-updates__item a:focus-visible .lingq-updates__title{text-decoration:underline;text-underline-offset:3px}@media (max-width:1000px){.lingq-updates__list{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px}.lingq-updates__item:nth-child(odd)::before{display:none}}@media (max-width:600px){.lingq-updates{padding:48px 24px 16px}.lingq-updates__list{grid-template-columns:1fr;row-gap:32px}.lingq-updates__item::before{display:none}}@media (max-width:1100px){header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none !important}header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex !important}}/* "On this page":the section being read (assets/js/toc.js),both layouts. */ .lingq-toc a{display:block;transition:color .15s}.lingq-toc a.is-current{color:var(--wp--preset--color--ink);font-weight:500}/* Layout "Article – three columns" (templates/single-three.html,Mintlify-style). */ .lingq-three-head{max-width:1176px;margin:0 auto;padding-bottom:36px;border-bottom:1px solid var(--wp--preset--color--line);font-family:var(--wp--preset--font-family--ui)}.lingq-three-head>*{margin:0 !important}.lingq-backlink{display:inline-flex;align-items:center;gap:10px;color:var(--wp--preset--color--ink);font-weight:500;text-decoration:none}.lingq-backlink__arrow{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--wp--preset--color--ink);color:#fff;transition:transform .15s}.lingq-backlink__arrow svg{width:16px;height:16px}.lingq-backlink:hover .lingq-backlink__arrow{transform:translateX(-2px)}.lingq-three-meta{display:flex;gap:10px;align-items:center;margin-top:44px !important;font-size:var(--lq-fs-2xs);font-weight:600;text-transform:uppercase;letter-spacing:var(--lq-caps-spacing);color:var(--wp--preset--color--muted)}.lingq-three-meta a{color:var(--wp--preset--color--accent);text-decoration:none}.lingq-three-head .lingq-three-title{margin-top:14px !important;font-size:var(--lq-fs-3xl);line-height:1.08;letter-spacing:-0.02em;max-width:900px}.lingq-three-head .lingq-reading-time{display:inline-block;margin-top:16px;font-size:var(--lq-fs-2xs);font-weight:600;text-transform:uppercase;letter-spacing:var(--lq-caps-spacing);color:var(--wp--preset--color--muted)}.lingq-three{display:grid;grid-template-columns:170px minmax(0,660px) 276px;gap:48px;justify-content:space-between;max-width:1176px;margin:40px auto 0}.lingq-three__left,.lingq-three__right{position:sticky;top:96px;align-self:start;display:flex;flex-direction:column;gap:28px}.lingq-three__main{display:flex;flex-direction:column;gap:28px;min-width:0}.lingq-three__main>*{margin:0 !important}.lingq-author-mini{display:flex;gap:12px;align-items:flex-start;color:var(--wp--preset--color--ink);text-decoration:none;font-family:var(--wp--preset--font-family--ui)}.lingq-author-mini img{width:48px;height:48px;border-radius:50%;flex:none}.lingq-author-mini__name{display:block;font-weight:600}.lingq-author-mini__role{display:block;font-size:var(--lq-fs-sm);color:var(--wp--preset--color--muted)}.lingq-author-mini:hover .lingq-author-mini__name{text-decoration:underline;text-underline-offset:3px}.lingq-share-icons__label{margin:0 0 10px;font-family:var(--wp--preset--font-family--ui);font-size:var(--lq-fs-2xs);font-weight:600;text-transform:uppercase;letter-spacing:var(--lq-caps-spacing);color:var(--wp--preset--color--muted)}.lingq-share-icons__row{display:flex;gap:8px}.lingq-share-icons__row a,.lingq-copylink{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:var(--wp--preset--color--subtle);color:var(--wp--preset--color--muted);cursor:pointer}.lingq-share-icons__row svg,.lingq-copylink svg{width:16px;height:16px}.lingq-share-icons__row a:hover,.lingq-copylink:hover,.lingq-copylink.is-done{color:var(--wp--preset--color--accent)}.lingq-three__right .lingq-toc{border:0;padding:0}.lingq-three__right .lingq-toc ol{gap:0;border-left:1px solid var(--wp--preset--color--line)}.lingq-three__right .lingq-toc a{margin-left:-1px;padding:6px 0 6px 14px;border-left:2px solid transparent;line-height:1.45}.lingq-three__right .lingq-toc a.is-current{border-left-color:var(--wp--preset--color--ink)}@media (max-width:1100px){.lingq-three{grid-template-columns:minmax(0,700px);justify-content:center}.lingq-three__left{position:static;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}.lingq-three__right{display:none}.lingq-three-head{max-width:700px}}.lingq-three-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,440px);gap:24px 56px;align-items:center}.lingq-three-head__text>*{margin:0 !important}.lingq-three-head__text .lingq-three-meta{margin-top:36px !important}.lingq-three-head__text .lingq-three-title{margin-top:12px !important;font-size:var(--lq-fs-3xl)}.lingq-three-head .lingq-three-head__img{margin:0 !important}.lingq-three-head .lingq-three-head__img img{border-radius:16px}.lingq-three-meta__updated{color:var(--wp--preset--color--muted)}.lingq-three__left{gap:18px}.lingq-share-icons__label{margin-bottom:8px}/* "On this page":h3 sub-sections indented */ .lingq-toc li.is-sub a{padding-left:28px;font-size:var(--lq-fs-xs)}.lingq-toc:not(.lingq-three__right .lingq-toc) li.is-sub a{padding-left:14px}/* Collapsible "On this page" on phones/tablets (the right column is hidden there). */ .lingq-toc-mobile{display:none;border:1px solid var(--wp--preset--color--line);border-radius:12px;font-family:var(--wp--preset--font-family--ui)}.lingq-toc-mobile>summary{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:0 16px;cursor:pointer;list-style:none;font-size:var(--lq-fs-sm);font-weight:600}.lingq-toc-mobile>summary::-webkit-details-marker{display:none}.lingq-toc-mobile>summary::after{content:"+";font-size:var(--lq-fs-lg);color:var(--wp--preset--color--muted)}.lingq-toc-mobile[open]>summary::after{content:"−"}.lingq-toc-mobile .lingq-toc{padding:0 16px 14px;border:0}.lingq-toc-mobile .lingq-toc__title{display:none}@media (max-width:1100px){.lingq-toc-mobile{display:block}.lingq-three-head{grid-template-columns:minmax(0,1fr);max-width:700px}.lingq-three-head__img{order:2}}.lingq-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:200;pointer-events:none}.lingq-progress span{display:block;height:100%;background:var(--wp--preset--color--accent);transform-origin:0 50%;transform:scaleX(0)}@media (max-width:1100px){.lingq-three-head{padding-bottom:24px}.lingq-three{margin-top:24px}.lingq-three__main{gap:20px}.lingq-three-head__text .lingq-three-meta{margin-top:24px !important}}.lingq-article-cols:has(>.lingq-article-head){row-gap:0}.lingq-article-head{grid-column:1;display:flex;flex-direction:column;gap:28px;min-width:0}.lingq-article-head>*{margin:0 !important}.lingq-article-head>.lingq-backlink{align-self:flex-start;margin-bottom:-4px !important}.lingq-article-head .wp-block-post-title{font-size:var(--lq-fs-3xl);line-height:1.05}.lingq-article-head + .lingq-article-main{grid-column:1;margin-top:28px !important}.lingq-article-cols>.lingq-article-side{grid-column:2;grid-row:2}.lingq-byline .lingq-author-mini{display:flex;align-items:center}.lingq-byline .lingq-author-mini img{width:48px;height:48px}.lingq-article-footer{align-items:center}.lingq-article-footer .lingq-share-icons{display:flex;align-items:center;gap:14px}.lingq-article-footer .lingq-share-icons__label{margin:0}.lingq-byline .lingq-share-icons__label{display:none}@media (max-width:1100px){.lingq-article-cols>.lingq-article-side{grid-column:1}}.lingq-article-side .lingq-toc{border:0;border-radius:0;padding:0}.lingq-article-side .lingq-toc ol{gap:0;border-left:1px solid var(--wp--preset--color--line)}.lingq-article-side .lingq-toc a{margin-left:-1px;padding:6px 0 6px 14px;border-left:2px solid transparent;line-height:1.45}.lingq-article-side .lingq-toc a.is-current{border-left-color:var(--wp--preset--color--ink)}.lingq-article-side .lingq-toc li.is-sub a{padding-left:28px}.lingq-prose h2{font-size:clamp(1.75rem,1.5rem + 0.8vw,2rem)}/* Header:"BLOG" pill beside the logo */ .lingq-blog-pill{margin:0;padding:5px 10px;border-radius:6px;background:#EAF0FE;color:var(--wp--preset--color--accent);font-family:var(--wp--preset--font-family--ui);font-size:12px;font-weight:700;line-height:1.2;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}.lingq-browse{padding:56px 0 8px}.lingq-browse .lingq-section-head{display:flex;align-items:center}.lingq-browse__list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin:0;padding:0;list-style:none}.lingq-browse-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:4 / 3;padding:18px;border-radius:14px;overflow:hidden;text-decoration:none;font-family:var(--wp--preset--font-family--ui);color:var(--lq-bc-ink);background:radial-gradient(120% 90% at 100% 0%,var(--lq-bc-2) 0%,transparent 70%),var(--lq-bc-1);border:1px solid rgba(14,26,43,.06);transition:transform .2s,box-shadow .2s}.lingq-browse-card::after{content:"";position:absolute;right:-28px;bottom:-28px;width:120px;height:120px;border-radius:50%;border:22px solid var(--lq-bc-2);opacity:.55}.lingq-browse-card__icon{position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#fff;box-shadow:0 2px 6px rgba(14,26,43,.08)}.lingq-browse-card__icon svg{width:24px;height:24px}.lingq-browse-card__name{position:relative;z-index:1;font-size:var(--lq-fs-md);font-weight:700;line-height:1.25;color:var(--wp--preset--color--ink)}.lingq-browse-card:hover,.lingq-browse-card:focus-visible{transform:translateY(-3px);box-shadow:0 10px 24px rgba(14,26,43,.10)}.lingq-browse-card--guides{--lq-bc-1:#EAF0FE;--lq-bc-2:#C9DCFA;--lq-bc-ink:#1D4ED8}.lingq-browse-card--netflix{--lq-bc-1:#FDECEC;--lq-bc-2:#F9C9C9;--lq-bc-ink:#C81E1E}.lingq-browse-card--stories{--lq-bc-1:#FDEDF4;--lq-bc-2:#F8CDE0;--lq-bc-ink:#BE185D}.lingq-browse-card--updates{--lq-bc-1:#FFF6D6;--lq-bc-2:#FFE38A;--lq-bc-ink:#A16207}.lingq-browse-card--tips{--lq-bc-1:#E6F6EE;--lq-bc-2:#BDE8D2;--lq-bc-ink:#15803D}@media (max-width:1000px){.lingq-browse__list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:600px){.lingq-browse__list>li:last-child:nth-child(odd){grid-column:1 / -1}.lingq-browse__list>li:last-child:nth-child(odd) .lingq-browse-card{aspect-ratio:auto;min-height:120px}.lingq-browse{padding-top:40px}.lingq-browse__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}/* Homepage grid:"Try LingQ free" tile after the 6th card */ .lingq-promo-tile{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:32px 28px;border-radius:16px;background:radial-gradient(90% 120% at 0% 0%,#D6F0D0 0%,rgba(214,240,208,0) 70%),radial-gradient(90% 120% at 100% 100%,#C9DCFA 0%,rgba(201,220,250,0) 70%),#F4F8F7;font-family:var(--wp--preset--font-family--ui);list-style:none}.lingq-promo-tile p{margin:0}.lingq-promo-tile__eyebrow{font-size:var(--lq-fs-xs);font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--accent)}.lingq-promo-tile__title{font-family:var(--wp--preset--font-family--display);font-size:var(--lq-fs-xl);font-weight:700;line-height:1.2;color:var(--wp--preset--color--ink)}.lingq-promo-tile__text{font-size:var(--lq-fs-ui);line-height:1.5;color:var(--wp--preset--color--muted)}.lingq-promo-tile__btn{align-self:flex-start;margin-top:8px;padding:12px 22px;border-radius:999px;background:#FFD43B;color:var(--wp--preset--color--ink);font-weight:600;text-decoration:none}.lingq-promo-tile__btn:hover{background:#FCC419}.lingq-floating-nav{--lq-nav-top:12px;--lq-nav-h:64px}.lingq-floating-nav .wp-site-blocks>header{position:sticky;top:var(--lq-nav-top);width:calc(100% - 48px);max-width:1176px;margin:var(--lq-nav-top) auto 0;background:none;border:0;border-radius:18px;box-shadow:0 1px 0 rgba(14,26,43,.04),0 6px 20px rgba(14,26,43,.06);transition:box-shadow .2s}.lingq-floating-nav .wp-site-blocks>header::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;border:1px solid rgba(14,26,43,.08);background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}.lingq-floating-nav.is-scrolled .wp-site-blocks>header{box-shadow:0 1px 0 rgba(14,26,43,.04),0 12px 32px rgba(14,26,43,.12)}.lingq-floating-nav .wp-site-blocks>header>.wp-block-group{padding:10px 10px 10px 20px !important}.lingq-floating-nav .wp-site-blocks>header>.wp-block-group>.wp-block-group{max-width:none !important}.lingq-floating-nav .wp-site-blocks>header .wp-block-button__link{padding-top:10px;padding-bottom:10px}.lingq-floating-nav .wp-site-blocks>main:has(>.lingq-hero:first-child,>.lingq-archive-head:first-child){margin-block-start:calc(-1 * (var(--lq-nav-h) + var(--lq-nav-top))) !important}.lingq-floating-nav main>.lingq-hero:first-child,.lingq-floating-nav main>.lingq-archive-head:first-child{padding-top:calc(var(--lq-nav-h) + var(--lq-nav-top) + 56px) !important}@supports not (backdrop-filter:blur(1px)){.lingq-floating-nav .wp-site-blocks>header::before{background:rgba(255,255,255,.96)}}@media (prefers-reduced-transparency:reduce){.lingq-floating-nav .wp-site-blocks>header::before{background:#fff}}@media (max-width:600px){.lingq-floating-nav{--lq-nav-top:8px}.lingq-floating-nav .wp-site-blocks>header{width:calc(100% - 48px);border-radius:14px}.lingq-floating-nav .wp-site-blocks>header>.wp-block-group{padding:8px 8px 8px 14px !important}}.lingq-lang-switcher{position:relative;font-family:var(--wp--preset--font-family--ui)}.lingq-lang-switcher summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;padding:7px 12px;border:1.5px solid #9EC1F0;border-radius:999px;font-size:var(--lq-fs-sm);font-weight:700;color:var(--wp--preset--color--ink);white-space:nowrap;transition:border-color .15s,background-color .15s}.lingq-lang-switcher summary::-webkit-details-marker{display:none}.lingq-lang-switcher summary:hover,.lingq-lang-switcher[open] summary{border-color:var(--wp--preset--color--accent);background:#F3F7FE}.lingq-lang-switcher__globe{width:18px;height:18px;flex:none}.lingq-lang-switcher__chev{width:16px;height:16px;flex:none;transition:transform .2s}.lingq-lang-switcher[open] .lingq-lang-switcher__chev{transform:rotate(180deg)}.lingq-lang-switcher ul{position:absolute;right:-8px;top:calc(100% + 10px);z-index:100;display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));column-gap:24px;width:max-content;margin:0;padding:14px 16px;list-style:none;background:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--line);border-radius:14px;box-shadow:0 16px 40px rgba(14,26,43,.14)}.lingq-lang-switcher a{display:block;padding:8px 10px;border-radius:8px;text-decoration:none;font-size:var(--lq-fs-ui);font-weight:400;color:var(--wp--preset--color--muted)}.lingq-lang-switcher a:hover{color:var(--wp--preset--color--ink);background:var(--wp--preset--color--subtle)}.lingq-lang-switcher a[aria-current]{font-weight:700;color:#1E3A8A}@media (max-width:600px){.lingq-lang-switcher summary{padding:7px 10px}.lingq-lang-switcher ul{position:fixed;left:8px;right:8px;top:76px;width:auto;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}}@media (max-width:600px){.wp-site-blocks>header .wp-block-navigation{order:3;flex:0 0 auto;margin:0 0 0 4px}.wp-site-blocks>header .wp-block-navigation__responsive-container-open{padding:8px}}@media (max-width:600px){.wp-site-blocks>header>.wp-block-group>.wp-block-group>.wp-block-group:last-child{gap:6px}.lingq-lang-switcher__chev{display:none}.lingq-lang-switcher summary{padding:6px 9px;gap:5px}.wp-site-blocks>header .wp-block-search__button{width:36px !important;min-width:36px !important;height:36px !important}}@media (max-width:380px){.lingq-blog-pill{display:none}.lingq-floating-nav .wp-site-blocks>header>.wp-block-group{padding-left:12px !important}}@media (max-width:340px){.lingq-floating-nav .wp-site-blocks>header{width:calc(100% - 16px)}}
