:root{--lq-indigo:#091A2F;--lq-green:#42A564;--lq-green-dark:#33814E;--lq-green-50:#F4FCEF;--lq-sky:#0084D1;--lq-blue-50:#F1F7FE;--lq-gray-100:#F1F3F4;--lq-gray-500:#6D7680;--lq-brand-gradient:linear-gradient(120deg,#1166B8 0%,#42A564 100%)}h1,h2,h3,h4,.wp-block-post-title,.lingq-card__title,.lingq-feature__title{letter-spacing:0 !important}.lingq-hero__title{font-weight:600 !important;letter-spacing:0.025em !important;line-height:1.1 !important}.wp-site-blocks>header{position:sticky;top:0;z-index:50;background:#fff}body.admin-bar .wp-site-blocks>header{top:32px}@media (max-width:782px){body.admin-bar .wp-site-blocks>header{top:46px}}.wp-site-blocks>header>.wp-block-group{min-height:72px;box-sizing:border-box;display:flex;align-items:center}.wp-site-blocks>header>.wp-block-group>.wp-block-group{width:100%}.lingq-blog-pill{background:var(--lq-gray-100);color:var(--wp--preset--color--ink);border-radius:999px;font-weight:600;letter-spacing:.04em}header .wp-block-button__link{background:var(--lq-green) !important;color:#fff !important;border-radius:999px;padding:6px 14px !important;font-size:0.875rem !important;font-weight:400 !important}header .wp-block-button__link:hover,header .wp-block-button__link:focus-visible{background:var(--lq-green-dark) !important}.wp-site-blocks>header .wp-block-search__button{border-color:transparent !important}.wp-site-blocks>header .wp-block-search__button:hover{background:var(--lq-gray-100) !important}.lingq-lang-switcher>summary{border-color:transparent !important;background:none !important}.lingq-lang-switcher>summary:hover{background:var(--lq-gray-100) !important}.wp-block-button__link,.lingq-btn-primary .wp-block-button__link,.lingq-promo__button,.lingq-signup__form button{border-radius:999px !important}.lingq-btn-primary .wp-block-button__link,.lingq-prefooter .wp-block-button__link,.lingq-promo:not(.lingq-promo--dark):not(.lingq-promo--card):not(.lingq-promo--topbar) .lingq-promo__button,.lingq-promo--card .lingq-promo__button,.lingq-promo--dark .lingq-promo__button{background:var(--lq-green) !important;color:#fff !important;font-weight:500}.lingq-btn-primary .wp-block-button__link:hover,.lingq-prefooter .wp-block-button__link:hover,.lingq-promo__button:hover{background:var(--lq-green-dark) !important}.lingq-signup__form button{background:var(--lq-green) !important;color:#fff !important}/* Secondary buttons:lingq.com's gray-100 "View all languages" */
.lingq-all__load { border: 0; border-radius: 999px; background: var(--lq-gray-100); font-weight: 500; padding: 12px 28px; }
.lingq-all__load:hover { background: #E3E5E7; border: 0; }

/* ---------- Homepage hero: indigo with orange (top left) and green (top right) glows, white type ---------- */
.lingq-hero {
	background:
		radial-gradient(ellipse at top left, rgba(252,151,19,.35) 0%, transparent 50%),
		radial-gradient(ellipse at top right, rgba(66,165,100,.3) 0%, transparent 50%),
		var(--lq-indigo) !important;
	color: #fff;
}
.lingq-hero::after { display: none !important; }
.lingq-hero__title, .lingq-hero .wp-block-heading { color: #fff !important; }
.lingq-hero .lingq-scribble { color: var(--lq-sky) !important; font-style: italic; }
.lingq-hero .lingq-scribble::after { display: none !important; }
.lingq-hero .lingq-topics__label { color: rgba(255,255,255,.7); }
.lingq-hero .lingq-topic { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.lingq-hero .lingq-topic:hover, .lingq-hero .lingq-topic:focus-visible { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: #fff; }
/* the floating-nav gradient that ran behind the header is gone, so the hero starts below the bar */
main:has(> .lingq-hero:first-child) { margin-block-start: 0 !important; }

/* Archive, author and search heads: flat blue-50 panel */
.lingq-archive-head { background: var(--lq-blue-50) !important; }
.lingq-archive-head::after { display: none !important; }

/* ---------- Topic pills, tabs and tags ---------- */
.lingq-topic { border-radius: 999px; }
.lingq-topic:hover, .lingq-topic:focus-visible { border-color: var(--lq-green); color: var(--lq-green-dark); }
.lingq-tabs__tab[aria-current="true"], .lingq-tabs__more.has-selected summary { background: var(--lq-green-50); color: var(--lq-green-dark); }
.lingq-pill, .lingq-feature__badge { border-radius: 999px !important; padding: 3px 10px !important; }

/* ---------- Cards and panels: lingq.com rounded-2xl cards, rounded-3xl blue-50 panels ---------- */
.lingq-card { border-color: #E3E5E7; border-radius: 16px; }
.lingq-card:hover { border-color: #C9CDD2; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.lingq-tldr, .is-style-tldr { background: var(--lq-blue-50) !important; border: 0 !important; border-radius: 24px !important; }
.is-style-tldr::before, .lingq-tldr__label, .lingq-tldr h2, .lingq-tldr .lingq-tldr__title { color: var(--wp--preset--color--ink) !important; }
.lingq-author-box { background: var(--lq-blue-50); border: 0 !important; border-radius: 24px; }
.lingq-browse-card { border-radius: 16px; }

/* FAQ: lingq.com rows separated by gray lines, chevron on the right */
.lingq-faq details, .lingq-prose .lingq-faq details { border-radius: 0 !important; border: 0 !important; border-bottom: 1px solid #E3E5E7 !important; background: none !important; }

/* ---------- Pre-footer: blue-50 panel, like lingq.com's "The LingQ Method" block ---------- */ .lingq-prefooter__board{background:var(--lq-blue-50) !important;border-radius:24px !important}.lingq-prefooter__board::before,.lingq-prefooter__board::after{display:none !important}.lingq-prefooter__eyebrow{color:var(--lq-green-dark) !important}.lingq-prefooter__title em{color:var(--lq-sky);font-style:italic}.lingq-footer{background:var(--lq-blue-50) !important;color:var(--wp--preset--color--ink) !important}.lingq-footer a{color:var(--lq-gray-500) !important}.lingq-footer a:hover,.lingq-footer a:focus-visible{color:var(--wp--preset--color--ink) !important}.lingq-footer__title,.lingq-footer__label{color:var(--wp--preset--color--ink) !important;font-size:0.875rem !important;font-weight:700 !important;text-transform:none !important;letter-spacing:0 !important}.lingq-footer__tagline,.lingq-footer p{color:var(--lq-gray-500)}.lingq-footer .lingq-logo,.lingq-footer .lingq-logo svg,.lingq-footer__logo a{color:var(--wp--preset--color--ink) !important;fill:currentColor}.lingq-footer .wp-block-social-links .wp-social-link{color:var(--wp--preset--color--ink) !important}.lingq-footer .wp-block-social-links .wp-social-link svg{fill:currentColor !important}.lingq-footer .lingq-app .wp-block-button__link{background:#000 !important;color:#fff !important;border-radius:8px !important}.lingq-footer hr,.lingq-footer .wp-block-separator{border-color:#D7DCE2 !important;background:#D7DCE2 !important}/* "highlight" is lingq.com green here,so leftovers that used it as yellow decoration get lingq.com equivalents */ .lingq-feature__badge{background:var(--lq-green) !important;color:#fff !important}.lingq-prose blockquote{border-left-color:var(--lq-green)}.lingq-promo--yellow{background:var(--lq-blue-50) !important;color:var(--wp--preset--color--ink) !important}.lingq-slot-sidebar .wp-block-button__link{background:var(--lq-green) !important;color:#fff !important;border-radius:999px !important}.lingq-btn-ghost .wp-block-button__link,.is-style-outline .wp-block-button__link{border:0 !important;background:var(--lq-gray-100) !important;color:var(--wp--preset--color--ink) !important}/* ---------- More from lingq.com's inner pages (about, learn-spanish-online, testimonials, Steve's method) ---------- */ /* Header:"Login" as a white pill next to the green one,like lingq.com;nav items get rounded gray hovers */ header .lingq-login .wp-block-button__link{background:#fff !important;color:var(--wp--preset--color--ink) !important}header .lingq-login .wp-block-button__link:hover,header .lingq-login .wp-block-button__link:focus-visible{background:var(--lq-gray-100) !important}header .wp-block-buttons{gap:4px}.wp-site-blocks>header .wp-block-navigation-item__content{border-radius:8px;padding:4px 10px}.wp-site-blocks>header .wp-block-navigation-item:hover>.wp-block-navigation-item__content{background:var(--lq-gray-100)}@media (max-width:1100px){header .lingq-login{display:none}}/* Page heads (archives,author,search):the About page's light gradient, blue-100 → white → green-50 */
.lingq-archive-head { background: linear-gradient(to right top, #E9F7FC 0%, #FAFAFA 50%, #EAF9E1 100%) !important; }

/* Accent words in green, as on the language pages ("Learn <green>Spanish</green> online"); the homepage hero keeps its sky italic */
.lingq-prefooter__title em { color: var(--lq-green) !important; font-style: normal; }

/* Pastel panels like the About page team cards: author box in sky-100, community box in green */
.lingq-author-box { background: #DFF2FE !important; }
.lingq-author-box .wp-block-post-author__avatar img, .lingq-author-head__photo { border-radius: 16px !important; }
.lingq-signup__community { background: #DDF0D6 !important; }
.lingq-signup__clink, .lingq-signup__community a { color: var(--lq-green-dark) !important; }

/* Two button types only, both full pills: primary = green filled (white text), secondary = gray-100 filled
   (lingq.com "View all languages"). Section links ("More stories", "View all", "Watch on YouTube") are text links. */
.lingq-btn-ghost .wp-block-button__link, .is-style-outline .wp-block-button__link, .lingq-pn a {
	border: 0 !important; background: var(--lq-gray-100) !important; color: var(--wp--preset--color--ink) !important; border-radius: 999px !important; }
.lingq-btn-ghost .wp-block-button__link:hover, .is-style-outline .wp-block-button__link:hover, .lingq-pn a:hover { background: #E3E5E7 !important; }
.lingq-see-all a { border: 0 !important; background: none !important; padding: 0 !important; color: var(--lq-green-dark) !important; font-weight: 500; white-space: nowrap; }
.lingq-see-all a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lingq-tabs__tab, .lingq-tabs__more summary { border-radius: 999px; }

/* Pre-footer proof row as lingq.com's stats:bold,green */ .lingq-prefooter__proof li{color:var(--lq-green-dark) !important}.lingq-results-head{background:none !important;border:0 !important}.lingq-search__go,.wp-block-search__button:not(.has-icon){background:var(--lq-green) !important;color:#fff !important;border-radius:999px !important}.lingq-search__go:hover,.wp-block-search__button:not(.has-icon):hover{background:var(--lq-green-dark) !important}.lingq-promo-tile__btn{background:var(--lq-green) !important;color:#fff !important;border-radius:999px !important}.lingq-promo-tile__btn:hover{background:var(--lq-green-dark) !important}/* Covers for posts without a photo:lingq.com's light About-page gradient, dark text, green LingQ symbol (no dark navy) */
.lingq-cover--update, .lingq-cover.lingq-cover--hero {
	background:
		radial-gradient(70% 90% at 100% 0%, rgba(66,165,100,.18) 0%, transparent 60%),
		linear-gradient(to right top, #E9F7FC 0%, #FAFAFA 50%, #EAF9E1 100%) !important;
	color: var(--wp--preset--color--ink) !important; }
.lingq-cover__update { color: var(--wp--preset--color--ink); }
.lingq-cover__symbol { color: var(--lq-green) !important; }
.lingq-cover__label { color: var(--wp--preset--color--ink) !important; letter-spacing: 0; }
.lingq-cover__date { color: var(--lq-gray-500) !important; }
.lingq-card .lingq-cover, .lingq-updates__media .lingq-cover { box-shadow: inset 0 -1px 0 #E3E5E7; }
@media (max-width: 600px) {
	.lingq-hero__title { letter-spacing: 0 !important; }
	.lingq-hero + .lingq-slot-featured, .lingq-hero ~ .lingq-slot-featured { margin-top: 20px !important; }
}

/* ---------- Design review MAR-1606 (Jane, 2026-10-14) ---------- */
/* Spacing: 85px between a section's content and its edges,55px between blocks inside a section (phones:56 / 36). */:root{--lq-section:85px;--lq-gap:55px}@media (max-width:781px){:root{--lq-section:56px;--lq-gap:36px}}main:has(>.lingq-hero)>.lingq-hero{padding-block:var(--lq-gap) !important}.lingq-hero .lingq-topics{margin-top:var(--lq-gap) !important}main:has(>.lingq-hero)>.lingq-feature,main:has(>.lingq-hero)>.lingq-slot-featured{margin-top:var(--lq-section) !important;padding-top:0 !important}main:has(>.lingq-hero)>.lingq-browse{padding:var(--lq-section) 0 0 !important}main:has(>.lingq-hero)>.lingq-popular-row{padding:var(--lq-section) 0 0 !important}main:has(>.lingq-hero)>#languages{padding:var(--lq-section) 0 !important}main:has(>.lingq-hero)>.has-background.alignfull{padding-block:var(--lq-section) !important}main:has(>.lingq-hero)>.lingq-updates{padding:var(--lq-section) 24px 0 !important}main:has(>.lingq-hero)>.wp-block-group:has(>.lingq-signup){padding-block:var(--lq-section) !important}.wp-site-blocks>.lingq-steve-band{margin-top:0 !important;padding-block:var(--lq-section) !important}.lingq-all__more{margin-top:var(--lq-gap) !important}@media (max-width:600px){main:has(>.lingq-hero)>.lingq-updates{padding-inline:0 !important}}.lingq-section-head::after{display:none !important}.lingq-section-head{justify-content:space-between}.lingq-updates__item + .lingq-updates__item::before{display:none}.lingq-feature,.lingq-prefooter__board,.lingq-promo-tile,.lingq-promo,.lingq-card:hover{box-shadow:none !important}.lingq-updates__item a:hover .lingq-updates__title,.lingq-updates__item a:focus-visible .lingq-updates__title{color:var(--wp--preset--color--accent);text-decoration:none}/* Tags (Figma "Blog tags style",node 20627-21736):22px pills,11px bold caps;FEATURED in soft green,languages in soft blue. */ .lingq-pill,.lingq-feature__badge{display:inline-flex;align-items:center;height:22px;padding:0 8px !important;box-sizing:border-box;border-radius:999px !important;font-size:11px !important;font-weight:700;line-height:18px;letter-spacing:.1px}.lingq-feature__badge{background:#E8F5E0 !important;color:#4A7C59 !important}.lingq-pill--lang{--pill-bg:#F1F3FE;--pill-fg:#2E75CD}/* Section links and "Read":the header's chevron (round caps) instead of the "›" glyph. */
.lingq-see-all a::after, .lingq-card__read::after { content: ""; width: 14px; height: 14px; 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Green links: no underline on hover, the green gets darker. */
.lingq-see-all a { transition: color .15s; }
.lingq-see-all a:hover, .lingq-see-all a:focus-visible { text-decoration: none !important; color: #266439 !important; }
.lingq-author-more a:hover, .lingq-signup__clink a:hover, .lingq-signup__community a:hover { text-decoration: none !important; color: #266439 !important; }
.wp-block-post-author__name a:hover, .wp-block-post-author-name a:hover, .lingq-feature__name a:hover { text-decoration: none; color: var(--wp--preset--color--accent); }

/* Language tabs: "View all" and the selected language look like the other tabs (gray, not a green button). */
.lingq-tabs__tab[aria-current="true"], .lingq-tabs__more.has-selected summary { background: var(--lq-gray-100) !important; color: var(--wp--preset--color--ink) !important; }

/* Newsletter submit: a round 54px button, no glow. */
.lingq-signup__form { align-items: center; }
.lingq-signup__form button { width: 54px; height: 54px; aspect-ratio: 1; padding: 0; box-shadow: none !important; }
.lingq-article-main .lingq-signup__form button { width: 48px; height: 48px; }

/* Pre-footer laptop: show the top of the screen (it was cut by the board's edge). */ .lingq-prefooter__desk{margin-top:0 !important}/* Article back link:a thin gray chevron,no black disc (Jane's reference on MAR-1606). */
.lingq-backlink { gap: 8px; }
.lingq-backlink__arrow { width: 18px; height: 18px; background: none !important; color: var(--lq-gray-500) !important; }
.lingq-backlink__arrow svg { width: 18px; height: 18px; }
.lingq-backlink:hover { color: var(--wp--preset--color--accent); }
.lingq-backlink:hover .lingq-backlink__arrow { color: var(--wp--preset--color--accent) !important; }

/* The banner above the footer sits 85px below the page content and 85px above the footer (was 72 + 24 + 88 on top). */
.wp-site-blocks > footer { margin-block-start: 0 !important; }
.lingq-prefooter:not(.lingq-prefooter-article .lingq-prefooter), .lingq-prefooter--promo { padding-block: 0 var(--lq-section) !important; }
.lingq-video { box-shadow: none !important; }

/* Article: the language banner spans the text column like the FAQ and the author box, with equal space above and below. */
.lingq-prefooter-article { margin: 0 0 32px !important; } /* 60px above (end of the text) and 28 + 32 below */
.lingq-prefooter-article .lingq-prefooter { padding-inline: 0 !important; }

/* Related articles: 85px above (no rule) and 85px below, like the sections on the homepage. */
.lingq-related { margin-top: var(--lq-section) !important; padding-top: 0 !important; border-top: 0 !important; }

/* ---------- "Browse by topic" alternatives for review (body class from the preview panel, lingq-theme-switcher) ---------- */
/* Both drop the repeated LingQ symbol and the five pastel gradients. */
:is(.lingq-topics-b, .lingq-topics-p) .lingq-browse-card::after { display: none; }
:is(.lingq-topics-b, .lingq-topics-p) .lingq-browse-card:hover { transform: none; box-shadow: none; }
:is(.lingq-topics-b, .lingq-topics-p) .lingq-browse-card__icon { box-shadow: none; }

/* B · Blue: one lingq.com blue-50 panel colour for every card, green line icons on white. */
.lingq-topics-b .lingq-browse-card { --lq-bc-ink: var(--lq-green-dark); background: var(--lq-blue-50); border: 0; transition: background-color .15s; }
.lingq-topics-b .lingq-browse-card:hover, .lingq-topics-b .lingq-browse-card:focus-visible { background: #E3EFFD; }

/* Photos: a photo per topic (placeholders from Unsplash, assets/img/topics/CREDITS.txt), name in white over a dark fade. */
.lingq-topics-p .lingq-browse-card { justify-content: flex-end; border: 0; background: #091A2F center / cover no-repeat; isolation: isolate; }
.lingq-topics-p .lingq-browse-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,26,47,0) 35%, rgba(9,26,47,.78) 100%); transition: background-color .2s; }
.lingq-topics-p .lingq-browse-card:hover::before, .lingq-topics-p .lingq-browse-card:focus-visible::before { background-color: rgba(9,26,47,.15); }
.lingq-topics-p .lingq-browse-card__icon { display: none; }
.lingq-topics-p .lingq-browse-card__name { color: #fff; font-size: var(--lq-fs-lg); }
.lingq-topics-p .lingq-browse-card--guides  { background-image: url("../img/topics/guides.webp"); }
.lingq-topics-p .lingq-browse-card--netflix { background-image: url("../img/topics/netflix.webp"); }
.lingq-topics-p .lingq-browse-card--stories { background-image: url("../img/topics/stories.webp"); }
.lingq-topics-p .lingq-browse-card--updates { background-image: url("../img/topics/updates.webp"); }
.lingq-topics-p .lingq-browse-card--tips    { background-image: url("../img/topics/tips.webp"); }
/* Homepage: the "Learn with Steve" band ends right above the footer, so the banner needs its own top space there. */
.wp-site-blocks:has(> .lingq-steve-band) .lingq-prefooter { padding-top: var(--lq-section) !important; }

/* ---------- Search window: a centred card over a blurred page (was a full-width strip) ---------- */
.lingq-ssearch__dialog { background: rgba(9,26,47,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 72px 16px 32px; box-sizing: border-box; }
.lingq-ssearch__panel { max-width: 720px; margin: 0 auto; padding: 16px; border-radius: 20px; box-shadow: 0 24px 60px rgba(9,26,47,.22); }
.lingq-ssearch__form, .lingq-ssearch__empty { max-width: none; }
.lingq-ssearch__form { gap: 10px; padding: 0 6px 0 16px; border: 1px solid #E3E5E7; border-radius: 14px; background: var(--lq-gray-100); color: var(--lq-gray-500); transition: background-color .15s, border-color .15s; }
.lingq-ssearch__form:focus-within { background: #fff; border-color: var(--lq-green); box-shadow: 0 0 0 3px rgba(66,165,100,.15); }
.lingq-ssearch__form input { padding: 14px 0; font-size: var(--lq-fs-lg); }
.lingq-ssearch__close { width: 36px; height: 36px; border-radius: 8px; font-size: 22px; }
.lingq-ssearch__empty { padding: 20px 8px 4px; }
.lingq-ssearch__empty .lingq-topics__label, .lingq-ssearch__latest .lingq-topics__label { margin: 0 0 10px; font-size: 11px; letter-spacing: .08em; color: var(--lq-gray-500); }
.lingq-ssearch__empty .lingq-topics__list { gap: 8px; }
.lingq-ssearch__empty .lingq-topic { min-height: 34px; padding: 6px 14px; border: 0; background: var(--lq-gray-100); font-size: var(--lq-fs-sm); }
.lingq-ssearch__empty .lingq-topic:hover, .lingq-ssearch__empty .lingq-topic:focus-visible { background: var(--lq-green-50); color: var(--lq-green-dark); }
.lingq-ssearch__latest { margin-top: 24px; }
.lingq-ssearch__latest ul { gap: 2px; margin: 0 -8px; }
.lingq-ssearch__latest a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; transition: background-color .15s; }
.lingq-ssearch__latest a:hover, .lingq-ssearch__latest a:focus-visible { background: var(--lq-gray-100); color: var(--wp--preset--color--ink); }
.lingq-ssearch__thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--lq-blue-50); }
.lingq-ssearch__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lingq-ssearch__title { font-size: var(--lq-fs-ui); font-weight: 600; line-height: 1.35; }
.lingq-ssearch__latest a:hover .lingq-ssearch__title { color: var(--wp--preset--color--accent); }
.lingq-ssearch__date { font-size: var(--lq-fs-xs); font-weight: 400; color: var(--lq-gray-500); }
@media (max-width: 600px) {
	.lingq-ssearch__dialog { padding: 0; }
	.lingq-ssearch__panel { border-radius: 0 0 20px 20px; padding: 12px 12px 16px; }
}

/* ---------- Language tabs ---------- */
/* Each tab is as wide as its English name; the native name rolls in over it (it no longer reserves the wider of the two). */
.lingq-tabs__label:not(.is-single) { display: inline-block; position: relative; overflow: visible; clip-path: inset(0 -3em); }
.lingq-tabs__label:not(.is-single) > span { display: block; white-space: nowrap; }
.lingq-tabs__label:not(.is-single) > span + span { position: absolute; left: 0; top: 0; }
.lingq-tabs__more ul .lingq-tabs__label:not(.is-single) { clip-path: none; overflow: hidden; }
/* Desktop: one row ending in the "More" menu; the duplicated tabs are for phones only. */
.lingq-tabs__tab--extra { display: none !important; }
@media (max-width: 781px) {
	/* Phones: every language in one row that scrolls sideways, snapping to tabs, with a fade on the edge that has more. */
	.lingq-tabs__more { display: none; }
	.lingq-tabs__tab--extra { display: inline-flex !important; }
	.lingq-tabs { scroll-snap-type: x proximity; scroll-padding-inline: 8px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.lingq-tabs.is-end { -webkit-mask-image: none; mask-image: none; }
	.lingq-tabs__tab { scroll-snap-align: start; }
}
/* Hero title: cancel the line box's extra room above the capitals and below the descenders,so the 85 / 55 spacing is measured from the letters (as in the review) and not from the line box (was 96 above,75 to "Popular topics"). */ .lingq-hero .lingq-hero__title{margin-top:-0.17em !important;margin-bottom:-0.31em !important}.lingq-topics__list,.lingq-hero .lingq-topics__list,.lingq-ssearch__empty .lingq-topics__list,.lingq-feature__tags,.lingq-pills{gap:8px !important}/* Row length by width:9 languages from 1200px,7 from 1024px,5 from 782px (the rest go into "More");phones scroll all. */ .lingq-tabs__more li.lingq-tabs__mid{display:none}@media (min-width:782px) and (max-width:1199px){.lingq-tabs__tab--lg{display:none !important}.lingq-tabs__more li.lingq-tabs__mid--lg{display:list-item}}@media (min-width:782px) and (max-width:1023px){.lingq-tabs__tab--md{display:none !important}.lingq-tabs__more li.lingq-tabs__mid--md{display:list-item}}@media (min-width:1200px){.lingq-tabs__more.is-mid-only{display:none}}/* "More" menu:items fill the menu width including their padding (they overflowed by 28px and showed a sideways scrollbar). */ .lingq-tabs__more ul{overflow-x:hidden}.lingq-tabs__more ul .lingq-tabs__tab{box-sizing:border-box}@media (min-width:782px){.lingq-tabs__more ul{left:auto;right:0}}/* "More" sits at the row's right end: open inwards */

/* Footer app links: the official store badges (Apple developer.apple.com; Google Play as served by lingq.com), 40px high.
   The link text stays for screen readers; the badge is the background. */
.lingq-footer .lingq-app .wp-block-button__link { display: block; height: 40px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; overflow: hidden; color: transparent !important; font-size: 0; background: center / contain no-repeat !important; transition: opacity .15s; }
.lingq-footer .lingq-app .wp-block-button__link::before { display: none; }
.lingq-footer .lingq-app--ios .wp-block-button__link { width: 120px; background-image: url("../img/badges/app-store.svg") !important; }
.lingq-footer .lingq-app--android .wp-block-button__link { width: 135px; background-image: url("../img/badges/google-play.svg") !important; }
.lingq-footer .lingq-app .wp-block-button__link:hover, .lingq-footer .lingq-app .wp-block-button__link:focus-visible { opacity: .85; }
.lingq-footer .lingq-app .wp-block-button__link:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }

/* Newsletter section (LingQ Blog › Newsletter): one card hidden → the other fills the row; both hidden → no section. */
.lingq-signup--no-news .lingq-signup__news, .lingq-signup--no-community .lingq-signup__community { display: none !important; }
.lingq-signup--no-news, .lingq-signup--no-community { grid-template-columns: 1fr !important; }
main:has(> .lingq-hero) > .wp-block-group:not(:has(*)) { display: none; }
main:has(> .lingq-hero) > .lingq-updates:not(:has(~ .wp-block-group .lingq-signup)) { padding-bottom: var(--lq-section) !important; } /* no newsletter section after it */

/* LingQ Blog › Display › "Hide the author on article cards": the photo and name go, the date stays. */
.lingq-hide-author .lingq-card__author .wp-block-avatar, .lingq-hide-author .lingq-card__who .wp-block-post-author-name, .lingq-hide-author .lingq-feature__author { display: none !important; }
/* "Real learners" switched off (LingQ Blog › Display): the language section no longer needs room above a band. */
main:has(> .lingq-hero):not(:has(> .lingq-home-stories)) > #languages { padding-bottom: 0 !important; }

/* LingQ Blog › Display › "Hide the author in articles": no name/photo under the title, no "Written by" box. */
.lingq-hide-article-author .lingq-author-mini, .lingq-hide-article-author .lingq-slot-author-mini,
.lingq-hide-article-author .lingq-byline .wp-block-post-author, .lingq-hide-article-author .lingq-author-box { display: none !important; }
.lingq-hide-article-author .lingq-byline { justify-content: flex-start !important; }

/* ---------- Black Friday (LingQ Blog Core, includes/blackfriday.php): one banner per placement, each with its own block ----------
   Figma "Social Media Ads" › Black Friday: black-to-navy + lime #D4FF3A, DM Sans Black tape, 24-point starburst.
   Shared: .lingq-bf (surface + colours), .lingq-bf-ribbon (tape), .lingq-bf-badge (starburst). */
.lingq-bf { --bf-lime: #D4FF3A; --bf-lime-hi: #C2EE1F; --bf-ink: #000000; --bf-sub: #C3CCDD;
	position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; margin: 0; color: #fff; text-align: left; font-family: var(--wp--preset--font-family--ui);
	border: 1px solid #0E2448; background: radial-gradient(45% 60% at 92% 8%, rgba(14,36,72,.85) 0%, rgba(14,36,72,0) 70%), linear-gradient(178deg, #000 42%, #050A17 73%, #0E2448 99%); }
.lingq-bf *, .lingq-bf *::before { box-sizing: border-box; }
.lingq-bf p, .lingq-bf ul { margin: 0; }
.lingq-bf img { display: block; max-width: none; height: auto; }
.lingq-bf em { font-style: normal; color: var(--bf-lime); }
.lingq-bf [class$="__proof"] { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 0; list-style: none; }
.lingq-bf [class$="__proof"] li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .07em; line-height: 1.4; text-transform: uppercase; color: var(--bf-lime); }
.lingq-bf [class$="__proof"] li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; }
.lingq-bf [class$="__btn"] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 32px; border-radius: 999px;
	background: var(--bf-lime); color: var(--bf-ink) !important; font-size: 18px; font-weight: 700; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
	box-shadow: 0 10px 24px -12px rgba(212,255,58,.55); transition: background .15s; }
.lingq-bf [class$="__btn"]::after { content: "→"; transition: transform .15s; }
.lingq-bf [class$="__btn"]:hover { background: var(--bf-lime-hi); }
.lingq-bf [class$="__btn"]:hover::after { transform: translateX(3px); }
.lingq-bf [class$="__btn"]:focus-visible { outline: 3px solid var(--bf-lime); outline-offset: 3px; }

/* Tape (Figma "C Tape"): flat lime strip, wider than the banner so its ends never show; DM Sans Black, tracking .02em */
.lingq-bf-ribbon { position: absolute; z-index: 3; left: -10%; right: -10%; overflow: hidden; pointer-events: none; background: var(--bf-lime); color: var(--bf-ink); }
.lingq-bf-ribbon__track { display: flex; width: max-content; animation: lingq-bf-scroll 28s linear infinite; }
.lingq-bf-ribbon__track span { padding: .54em 0; font-size: 15px; font-weight: 900; letter-spacing: .02em; line-height: 1; text-transform: uppercase; white-space: pre; }
@keyframes lingq-bf-scroll { to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .lingq-bf-ribbon__track { animation: none; } }

/* Starburst (Figma "B Burst"): the star from bf-burst.svg tilted ~9°; type scales with it (380px star: 38 / 128 / 52px) */
.lingq-bf-badge { position: absolute; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; transform: rotate(9deg); container-type: inline-size;
	background: var(--bf-burst) center / contain no-repeat; color: var(--bf-ink); line-height: 1; text-align: center; text-transform: uppercase; }
.lingq-bf-badge small { font-size: 10cqw; font-weight: 700; letter-spacing: .06em; }
.lingq-bf-badge small:last-child { font-size: 13.7cqw; font-weight: 900; letter-spacing: .04em; }
.lingq-bf-badge b { font-size: 33.7cqw; font-weight: 900; letter-spacing: -.04em; }

/* 1. Sidebar (.lingq-bf-side): centred copy, lime headline, full-width button, the phones flush with the bottom, tape across them */
.lingq-bf-side { border-radius: 20px; text-align: center; }
.lingq-bf-side__copy { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 18px 0; }
.lingq-bf-side__eyebrow, .lingq-bf-tile__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; color: var(--bf-lime); }
.lingq-bf-side__title { font-size: 22px; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; color: var(--bf-lime); text-wrap: balance; }
.lingq-bf .lingq-bf-side__btn { width: 100%; min-height: 44px; margin-top: 6px; padding: 10px 14px; font-size: 16px; white-space: normal; }
.lingq-bf-side__btn::after { display: none; }
.lingq-bf-side__art { width: 100%; max-width: 260px !important; margin: 16px auto 0; }
.lingq-bf-side .lingq-bf-ribbon { bottom: 12%; transform: rotate(5deg); }
.lingq-bf-side .lingq-bf-ribbon__track span { font-size: 12.5px; }

/* 2. End of article (.lingq-bf-end): copy left, desktop library cropped by the right edge, countdown beside the button
   (or the tape along the bottom without an end date); narrow containers stack. Also the banner above the footer. */
.lingq-bf-end { container-type: inline-size; border-radius: 24px; }
.lingq-bf-end__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px 430px 92px 40px; }
.lingq-bf-end__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bf-lime); }
.lingq-bf-end__title { font-size: 30px; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.lingq-bf-end__btn { margin-top: 8px; }
.lingq-bf-end__art { position: absolute; top: 0; right: -46px; bottom: 0; width: 430px; overflow: hidden; }
.lingq-bf-end__art img { width: 100%; }
.lingq-bf-end__phones { display: none !important; }
.lingq-bf-end .lingq-bf-ribbon { bottom: 22px; transform: rotate(2.5deg); }
.lingq-bf-end__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; } /* countdown beside the button */
.lingq-bf-end__actions .lingq-bf-end__btn { margin-top: 0; }
.lingq-bf-end.has-countdown .lingq-bf-end__copy { padding-bottom: 40px; }
/* Without the tape the banner is shorter: keep enough height, and drop the picture a little, so more of the library shows */
@container (min-width: 600px) {
	.lingq-bf-end.has-countdown .lingq-bf-end__copy { min-height: 300px; justify-content: center; }
	.lingq-bf-end.has-countdown .lingq-bf-end__art { top: 28px; right: -24px; width: 400px; }
}
/* Countdown (Core lingq_promo_countdown_html, assets/js/countdown.js): lime digits on dark chips */
.lingq-bf-end__timer { display: flex; align-items: flex-start; gap: 12px; }
.lingq-bf-end__ends { line-height: 40px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-sub); }
.lingq-bf-end .lingq-countdown { display: flex; align-items: flex-start; gap: 4px; }
.lingq-bf-end .lingq-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lingq-bf-end .lingq-countdown__value { display: flex; align-items: center; justify-content: center; width: 46px; height: 40px; border-radius: 8px; border: 1px solid rgba(212,255,58,.35);
	background: rgba(255,255,255,.06); color: var(--bf-lime); font-family: var(--wp--preset--font-family--ui); font-size: 20px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.lingq-bf-end .lingq-countdown__label { font-size: 10px; font-weight: 600; letter-spacing: .04em; line-height: 1; text-transform: uppercase; color: var(--bf-sub); }
.lingq-bf-end .lingq-countdown__sep { height: 40px; display: flex; align-items: center; color: var(--bf-sub); font-weight: 700; }
/* Wide (above the footer, ~1180px): the original pre-footer's proportions:64px padding,large title,the library filling the right half from 64px down to the bottom edge,~470px tall */ @container (min-width:1000px){.lingq-bf-end__copy,.lingq-bf-end.has-countdown .lingq-bf-end__copy{min-height:470px;justify-content:center;gap:18px;padding:64px 46% 64px 64px}.lingq-bf-end__actions{flex-wrap:nowrap;gap:20px}.lingq-bf-end__title{font-size:clamp(2rem,1.4rem + 2.2vw,2.875rem);line-height:1.08;letter-spacing:-.025em}.lingq-bf-end__title em{display:block}.lingq-bf-end__art,.lingq-bf-end.has-countdown .lingq-bf-end__art{top:64px;right:-40px;width:46%}.lingq-bf-end__art img{max-width:560px !important}}@container (min-width:600px) and (max-width:900px){.lingq-bf-end__copy{padding:30px 290px 88px 32px}.lingq-bf-end__art,.lingq-bf-end.has-countdown .lingq-bf-end__art{width:300px;right:-40px}.lingq-bf-end__title{font-size:25px}}@container (max-width:599px){.lingq-bf-end{text-align:center}.lingq-bf-end__copy{align-items:center;max-width:520px;margin:0 auto;padding:26px 20px 0;gap:10px}.lingq-bf-end__title{font-size:21px}.lingq-bf .lingq-bf-end__btn{width:100%;max-width:320px;padding:12px 20px;font-size:17px}.lingq-bf-end__actions{flex-direction:column;align-items:center;width:100%;gap:14px}.lingq-bf-end__timer{flex-direction:column;align-items:center;gap:8px}.lingq-bf-end__ends{line-height:1}.lingq-bf-end.has-countdown .lingq-bf-end__copy{padding-bottom:0}.lingq-bf-end__art{position:static;width:291px;max-width:100%;margin:16px auto 0}.lingq-bf-end__desk{display:none !important}.lingq-bf-end__phones{display:block !important}.lingq-bf-end .lingq-bf-ribbon{bottom:30%;transform:rotate(5deg)}.lingq-bf-end .lingq-bf-ribbon__track span{font-size:12.5px}}.lingq-bf-lang{container-type:inline-size;border-radius:28px}.lingq-bf-lang__copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:36px 44% 40px 36px}.lingq-bf-lang__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--bf-lime)}.lingq-bf-lang__eyebrow img{width:18px !important;height:18px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff}.lingq-bf-lang__title{font-size:28px;font-weight:700;line-height:1.15;letter-spacing:-.02em;text-wrap:balance}.lingq-bf-lang__text{max-width:44ch;font-size:16px;line-height:1.5;color:var(--bf-sub)}.lingq-bf-lang__btn{margin-top:6px}.lingq-bf-lang__art{position:absolute;top:32px;right:-40px;bottom:0;width:46%;overflow:hidden}.lingq-bf-lang__art img{width:100%;max-width:520px !important}.lingq-bf-lang__phones{display:none !important}@container (min-width:900px){.lingq-bf-lang__copy{padding:56px 46% 64px 64px;gap:18px}.lingq-bf-lang__title{font-size:clamp(2rem,1.4rem + 2.2vw,2.875rem);line-height:1.08;letter-spacing:-.025em}.lingq-bf-lang__text{font-size:17px}.lingq-bf-lang__art{top:56px}}@container (max-width:599px){.lingq-bf-lang{text-align:center}.lingq-bf-lang__copy{align-items:center;padding:28px 20px 0}.lingq-bf-lang__eyebrow{justify-content:center}.lingq-bf-lang__proof{justify-content:center}.lingq-bf .lingq-bf-lang__btn{width:100%}.lingq-bf-lang__art{position:static;width:auto;margin:20px -1px 0}.lingq-bf-lang__desk{display:none !important}.lingq-bf-lang__phones{display:block !important;width:291px;max-width:100% !important;margin:0 auto}}.lingq-bf-tile{display:flex;flex-direction:column;border-radius:18px;text-align:center}.lingq-bf-tile__copy{display:flex;flex-direction:column;align-items:center;gap:10px;padding:30px 24px 0}.lingq-bf-tile__title{font-size:var(--lq-fs-xl,24px);font-weight:700;line-height:1.18;letter-spacing:-.015em;color:var(--bf-lime);text-wrap:balance}.lingq-bf .lingq-bf-tile__btn{width:100%;max-width:300px;margin-top:10px;padding:12px 20px;font-size:var(--lq-fs-md,17px)}.lingq-bf-tile__btn::after{display:none}.lingq-bf-tile__art{width:116%;max-width:none !important;margin:auto 0 0 -8%;padding-top:12px}.lingq-bf-tile .lingq-bf-ribbon{bottom:30%;transform:rotate(5deg)}.lingq-bf-tile .lingq-bf-ribbon__track span{font-size:12.5px}.lingq-bf-tile .lingq-bf-badge{bottom:14px;right:10px;width:84px}@media (min-width:601px){.lingq-bf-tile{contain:size}}
