/*
 * Lifehacker Australia theme. Everything is scoped to .uc-theme-lifehacker, which
 * prototype-page.php puts on <body> and the embedded library puts on its root.
 * Source: Figma Lifehacker-AU (node 4:1933) and au.lifehacker.com/coupons.
 * Akshar: headings, navigation and labels. Inter: body copy. Green #118656: links.
 */
.uc-theme-lifehacker .uc,
.uc.uc-theme-lifehacker {
	--uc-font-sans: 'Inter', Arial, sans-serif;
	--uc-font-display: 'Akshar', 'Arial Narrow', sans-serif;
	--uc-font-editorial: 'Akshar', 'Arial Narrow', sans-serif;
	--uc-lh-green: #118656;
	--uc-lh-green-dark: #0b5939;
	--uc-lh-rule: #e5e5e5;
	--uc-ink: #000;
	--uc-black: #000;
	--uc-line: #e5e5e5;
	--uc-gold: #118656;
	--uc-plum: #118656;
	--uc-orange: #118656;
	--uc-blue: #118656;
	--uc-accent: #118656;
	color: #000;
	letter-spacing: -0.01em;
}
.uc-theme-lifehacker .uc-lh-wrap { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.uc-theme-lifehacker .uc a:focus-visible,
.uc-theme-lifehacker .uc button:focus-visible,
.uc-theme-lifehacker .uc input:focus-visible { outline-color: var(--uc-lh-green); }

/* Header */
.uc-theme-lifehacker .uc .uc-lh-header, .uc.uc-theme-lifehacker .uc-lh-header { height: auto; background: #fff; color: #000; }
.uc-theme-lifehacker .uc-lh-masthead { width: min(1328px, calc(100% - 40px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; }
.uc-theme-lifehacker .uc-lh-logo img { width: 256px; height: auto; }
.uc-theme-lifehacker .uc-lh-tools { display: flex; align-items: center; gap: 28px; }
.uc-theme-lifehacker .uc-lh-socials { display: flex; gap: 16px; list-style: none; }
.uc-theme-lifehacker .uc-lh-social { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 2px solid #000; border-radius: 6px; }
.uc-theme-lifehacker .uc-lh-social img { width: 20px; height: 20px; }
.uc-theme-lifehacker .uc-lh-menu-toggle { position: static; width: 36px; height: 36px; color: #000 !important; }
.uc-theme-lifehacker .uc-lh-menu-toggle .uc-menu-icon { width: 24px; gap: 6px; }
.uc-theme-lifehacker .uc-lh-menu-toggle .uc-menu-icon > span { width: 24px; height: 2px; background: #000; }
.uc-theme-lifehacker .uc-lh-nav { width: min(1328px, calc(100% - 40px)); display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font: 400 16px/1.2 var(--uc-font-display); text-transform: uppercase; }
.uc-theme-lifehacker .uc-lh-nav :is(a, button, span) { padding: 0; font: inherit; text-transform: inherit; white-space: nowrap; }
.uc-theme-lifehacker .uc-lh-nav span { cursor: default; }
.uc-theme-lifehacker .uc-lh-nav :is(a, button):hover { color: var(--uc-lh-green); text-decoration: none; }
.uc-theme-lifehacker .uc-lh-nav [aria-current="page"] { color: var(--uc-lh-green); }
.uc-theme-lifehacker .uc-lh-disclosure { margin: 40px auto 0 !important; padding-bottom: 6px; font: 400 11px/14px var(--uc-font-sans); letter-spacing: 0; }
.uc-theme-lifehacker .uc-lh-menu { top: 100%; width: min(1100px, calc(100% - 40px)); color: #000; }
.uc-theme-lifehacker .uc-lh-menu :is(h2, .uc-menu-heading p) { font-family: var(--uc-font-display); }
.uc-theme-lifehacker .uc-lh-menu :is(a, button):hover { color: var(--uc-lh-green); }

/* Search band (home places it under the hero; other screens under the header) */
.uc-theme-lifehacker .uc-lh-search-band { padding: 20px; background: #fff; }
.uc-theme-lifehacker .uc-lh-search-band .uc-search { position: relative; inset: auto; width: min(615px, 100%); height: 48px; margin-inline: auto; border: 1px solid #d8d8d8; }
.uc-theme-lifehacker .uc-search input { padding: 12px 16px; font: 400 16px/24px var(--uc-font-sans); letter-spacing: -0.5px; color: #333; }
.uc-theme-lifehacker .uc-search input::placeholder { color: #333; }
.uc-theme-lifehacker .uc-search button img { width: 18px; height: 18px; filter: brightness(0) opacity(.8); }
.uc-theme-lifehacker .uc-search--inline { max-width: 615px; height: 48px; border-color: #d8d8d8; }

/* Hero with counts */
.uc-hero-stats { position: relative; display: grid; place-items: center; min-height: 343px; padding: 40px 20px; overflow: hidden; background: #000; color: #fff; text-align: center; isolation: isolate; }
.uc-hero-stats-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 37%; }
.uc-hero-stats::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .56); }
.uc-hero-stats h1 { max-width: 790px; margin: 0; font: 400 46px/1.2 var(--uc-font-display); letter-spacing: 0; }
.uc-hero-stats dl { display: flex; justify-content: center; margin: 22px 0 0; }
.uc-hero-stats dl > div { display: flex; flex-direction: column-reverse; width: 174px; }
.uc-hero-stats dd { margin: 0; font: 700 42px/1 var(--uc-font-display); letter-spacing: 0; }
.uc-hero-stats dt { margin-top: 10px; font: 400 18px/1.2 var(--uc-font-display); text-transform: uppercase; }

/* Section headings and offer grids */
.uc-theme-lifehacker .uc-lh-offers { padding-top: 20px; margin-bottom: 20px; }
.uc-theme-lifehacker .uc-section-heading { max-width: 727px; margin: 0 auto 36px; padding: 0; border: 0; text-align: center; }
.uc-theme-lifehacker .uc-section-heading h3 { display: block; font: 500 32px/42px var(--uc-font-display); color: #000; letter-spacing: 0; }
.uc-theme-lifehacker .uc-section-heading p { margin-top: 10px; font: 400 16px/24px var(--uc-font-sans); color: #000; letter-spacing: -0.5px; }
.uc-theme-lifehacker .uc-featured-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 40px 20px; align-items: start; }
.uc-theme-lifehacker .uc-featured-grid--3::after { display: none; }
.uc-theme-lifehacker .uc .uc-featured, .uc.uc-theme-lifehacker .uc-featured { height: auto; padding: 0; border-bottom: 0 !important; }
.uc-theme-lifehacker .uc-featured-grid--3 .uc-featured-photo { aspect-ratio: 353 / 307; }
.uc-theme-lifehacker .uc-featured-description { gap: 10px; min-height: 80px; margin-top: 10px; }
.uc-theme-lifehacker .uc .uc-featured-description > span:last-child, .uc.uc-theme-lifehacker .uc-featured-description > span:last-child { display: flex; flex-direction: column; gap: 5px; padding-top: 0; font: 500 22px/1.2 var(--uc-font-display); color: #000; letter-spacing: 0; }
.uc-theme-lifehacker .uc-featured-more { font: 400 14px/25px var(--uc-font-display); text-transform: uppercase; color: var(--uc-lh-green); }
.uc-theme-lifehacker .uc-featured:hover .uc-featured-description > span:last-child { text-decoration: none; }
.uc-theme-lifehacker .uc-featured:hover .uc-featured-title { text-decoration: underline; text-underline-offset: 3px; }
.uc-theme-lifehacker .uc-featured:hover .uc-featured-more { color: var(--uc-lh-green-dark); }
.uc-theme-lifehacker .uc-logo--small { width: 80px; height: 80px; }

/* Rich text: light editorial bands with hairlines instead of Forbes black blocks */
.uc-theme-lifehacker .uc-rich { margin-block: 20px; padding: 40px 20px; background: #fff; color: #000; border-block: 1px solid var(--uc-lh-rule); min-height: 0; }
.uc-theme-lifehacker .uc-rich-inner { max-width: 727px; }
.uc-theme-lifehacker .uc-rich h3 { margin-bottom: 10px; font: 500 32px/42px var(--uc-font-display); text-align: center; letter-spacing: 0; }
.uc-theme-lifehacker .uc-rich :is(p, li) { font: 400 16px/24px var(--uc-font-sans); letter-spacing: -0.5px; }
.uc-theme-lifehacker .uc-rich p + p { margin-top: 24px; }
.uc-theme-lifehacker .uc-gold-text { color: var(--uc-lh-green); }

/* Link columns (popular categories, popular stores) */
.uc-link-columns { width: min(1100px, calc(100% - 40px)); margin: 20px auto; padding: 40px 0; text-align: center; }
.uc-link-columns h2 { margin: 0 0 28px; font: 500 32px/42px var(--uc-font-display); }
.uc-link-columns ul { columns: 4 200px; column-gap: 20px; padding: 0; list-style: none; text-align: left; }
.uc-link-columns li { break-inside: avoid; }
.uc-link-columns :is(a, button) { padding: 0; font: 400 16px/34px var(--uc-font-sans); letter-spacing: -0.5px; color: #118656; text-align: left; }
.uc-link-columns :is(a, button):hover { color: #0b5939; text-decoration: underline; text-underline-offset: 3px; }
.uc-link-columns .uc-solid { display: inline-flex; align-items: center; min-height: 39px; margin-top: 36px; padding: 6px 40px; }
.uc-theme-lifehacker .uc-link-columns#uc-categories { border: 1px solid #eee; width: 100%; padding-inline: max(20px, calc((100% - 1100px) / 2)); }

/* Buttons */
.uc-theme-lifehacker .uc-solid { background: var(--uc-lh-green) !important; color: #fff !important; font: 400 16px/24px var(--uc-font-sans) !important; letter-spacing: -0.5px; }
.uc-theme-lifehacker .uc-solid:hover { background: var(--uc-lh-green-dark) !important; text-decoration: none; }
.uc-theme-lifehacker .uc-outline { border-color: var(--uc-lh-green) !important; color: var(--uc-lh-green) !important; font-family: var(--uc-font-sans); }

/* Results */
.uc-theme-lifehacker .uc-results { width: min(1100px, calc(100% - 40px)); border-top-color: var(--uc-lh-green); }
.uc-theme-lifehacker .uc-results h3 { font: 500 26px/1.3 var(--uc-font-display); }
.uc-theme-lifehacker .uc-results-items { align-items: start; }
.uc-theme-lifehacker .uc-results-items .uc-featured-photo { aspect-ratio: 353 / 230; }

/* Footer */
.uc-theme-lifehacker .uc-lh-footer { background: #fff; color: #000; border-top: 1px dashed #000; padding: 49px 0 48px; }
.uc-theme-lifehacker .uc-lh-footer .uc-lh-wrap { width: min(1328px, calc(100% - 40px)); }
.uc-theme-lifehacker .uc-lh-footer-main { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 33px; border-bottom: 1px dashed #000; }
.uc-theme-lifehacker .uc-lh-footer-brand { max-width: 512px; padding-block: 16px; }
.uc-theme-lifehacker .uc-lh-footer-brand > a img { width: 256px; height: auto; }
.uc-theme-lifehacker .uc-lh-footer-brand > p { margin-top: 20px; font: 400 14px/20px var(--uc-font-sans); letter-spacing: 0; }
.uc-theme-lifehacker .uc-lh-footer-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 16px; font: 400 16px/1.2 var(--uc-font-display); text-transform: uppercase; }
.uc-theme-lifehacker .uc-lh-footer-columns { display: flex; gap: 40px; padding-top: 16px; }
.uc-theme-lifehacker .uc-lh-footer-columns > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 130px; }
.uc-theme-lifehacker .uc-lh-footer-columns h2 { margin-bottom: 4px; font: 600 16px/1.2 var(--uc-font-display); text-transform: uppercase; }
.uc-theme-lifehacker .uc-lh-footer-columns :is(a, button) { padding: 0; font: 400 16px/1.2 var(--uc-font-display); text-transform: uppercase; text-align: left; }
.uc-theme-lifehacker .uc-lh-footer-columns :is(a, button):hover { color: var(--uc-lh-green); }
.uc-theme-lifehacker .uc-lh-footer-company { display: flex; flex-direction: column; gap: 8px; width: 239px; padding-top: 16px; list-style: none; font: 400 14px/20px var(--uc-font-sans); letter-spacing: 0; }
.uc-theme-lifehacker .uc-lh-footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 33px; }
.uc-theme-lifehacker .uc-lh-footer-legal > div:first-child { max-width: 700px; }
.uc-theme-lifehacker .uc-lh-footer-legal p { font: 400 12px/18px var(--uc-font-sans); letter-spacing: 0; }
.uc-theme-lifehacker .uc-lh-footer-legal .uc-lh-copyright { margin-bottom: 16px; font: 600 14px/1.2 var(--uc-font-display); text-transform: uppercase; }
.uc-theme-lifehacker .uc-lh-footer-badges { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.uc-theme-lifehacker .uc-lh-adchoices { display: inline-flex; align-items: center; gap: 8px; font: 400 16px/1 var(--uc-font-display); }

/*
 * Base components on the shared Merchant, Category and directory screens:
 * light surfaces, Akshar headings and green links in place of Forbes black and gold.
 */
.uc-theme-lifehacker .uc-categories { background: #fff; color: #000; border-block: 1px solid var(--uc-lh-rule); }
.uc-theme-lifehacker .uc-category { border-bottom-color: var(--uc-lh-rule) !important; color: #000; }
.uc-theme-lifehacker .uc-category:hover { border-bottom-color: var(--uc-lh-green) !important; }
.uc-theme-lifehacker .uc-category-icon { color: var(--uc-lh-green); }
.uc-theme-lifehacker .uc-category-intro { color: #000; }
.uc-theme-lifehacker .uc-tabs button[aria-selected="true"] { --uc-tab-rule: var(--uc-lh-green); color: #000; }
.uc-theme-lifehacker .uc-tabs button { font-family: var(--uc-font-display); }
.uc-theme-lifehacker .uc-list-offer > span:last-child { font-family: var(--uc-font-display); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.uc-theme-lifehacker .uc-directory-columns button,
.uc-theme-lifehacker .uc-menu :is(a, button) { color: var(--uc-lh-green); }
.uc-theme-lifehacker .uc-coupon-count { font-family: var(--uc-font-display); font-size: 14px; }
/*
 * Single-colour Figma artwork drawn in Forbes blue. The promo-code body is redrawn
 * with its own shape; directory icons keep their SVG as a mask filled with green.
 */
.uc-theme-lifehacker .uc-peel-art img:first-child { visibility: hidden; }
.uc-theme-lifehacker .uc-peel-art::before { content: ''; position: absolute; left: 0; top: 0; width: 192.5px; height: 39px; background: var(--uc-lh-green); clip-path: polygon(0 0, 92.2% 0, 100% 100%, 0 100%); }
.uc-theme-lifehacker .uc-merchant-action--code:hover .uc-peel-art::before { background: var(--uc-lh-green-dark); }
.uc-theme-lifehacker .uc-category-directory-icon[style] { background: var(--uc-lh-green); -webkit-mask: var(--uc-icon) center / auto no-repeat; mask: var(--uc-icon) center / auto no-repeat; }
.uc-theme-lifehacker .uc-category-directory-icon[style] img { visibility: hidden; }

@media (max-width: 1000px) and (min-width: 601px) {
	.uc-theme-lifehacker .uc-lh-nav { font-size: 14px; }
	.uc-theme-lifehacker .uc-lh-socials { gap: 10px; }
	.uc-theme-lifehacker .uc-featured-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.uc-theme-lifehacker .uc .uc-featured-description > span:last-child, .uc.uc-theme-lifehacker .uc-featured-description > span:last-child { font-size: 18px; }
	.uc-theme-lifehacker .uc-lh-footer-main { flex-wrap: wrap; }
}

@media (max-width: 600px) {
	.uc-theme-lifehacker .uc-lh-wrap { width: calc(100% - 20px); }
	.uc-theme-lifehacker .uc-lh-masthead { width: calc(100% - 20px); padding-top: 24px; }
	.uc-theme-lifehacker .uc-lh-logo img { width: 190px; }
	.uc-theme-lifehacker .uc-lh-masthead .uc-lh-socials,
	.uc-theme-lifehacker .uc-lh-nav { display: none; }
	.uc-theme-lifehacker .uc-lh-disclosure { margin-top: 20px !important; padding: 0 0 12px; font-size: 12px; line-height: 15px; }
	.uc-theme-lifehacker .uc-lh-menu { top: 100%; width: calc(100% - 20px); }
	.uc-theme-lifehacker .uc-lh-search-band .uc-search { width: 100%; }
	.uc-hero-stats { min-height: 304px; padding: 30px 16px; }
	.uc-hero-stats h1 { font-size: 36px; line-height: 1.33; }
	.uc-hero-stats dl { margin-top: 12px; }
	.uc-hero-stats dl > div { width: auto; min-width: 120px; }
	.uc-theme-lifehacker .uc-section-heading { margin-bottom: 10px; }
	.uc-theme-lifehacker .uc-section-heading h3 { font-size: 28px; line-height: 39px; }
	.uc-theme-lifehacker .uc-section-heading p { color: #333; }
	.uc-theme-lifehacker .uc-featured-grid--3 { display: flex; flex-direction: column; gap: 30px; }
	.uc-theme-lifehacker .uc-featured-grid--3 .uc-featured:nth-child(n) { order: 0; }
	.uc-theme-lifehacker .uc-featured-grid--3 .uc-featured-photo { position: relative; aspect-ratio: auto; height: 180px; }
	.uc-theme-lifehacker .uc-featured-grid--3 .uc-featured-photo::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
	.uc-theme-lifehacker .uc-featured-description { align-items: stretch; min-height: 0; }
	.uc-theme-lifehacker .uc-featured-grid--3 .uc-logo--small { width: 81px; height: auto; min-height: 80px; }
	.uc-theme-lifehacker .uc .uc-featured-description > span:last-child, .uc.uc-theme-lifehacker .uc-featured-description > span:last-child { font-size: 18px; line-height: 1.25; text-transform: capitalize; }
	.uc-theme-lifehacker .uc-featured-more { font: 400 16px/1.4 var(--uc-font-sans); text-transform: none; }
	.uc-theme-lifehacker .uc-rich { padding: 40px 20px; }
	.uc-theme-lifehacker .uc-rich h3 { font-size: 32px; line-height: 39px; text-align: left; }
	.uc-theme-lifehacker .uc-rich :is(p, li) { color: #333; }
	.uc-link-columns { width: calc(100% - 20px); padding: 20px 0; text-align: left; }
	.uc-link-columns h2 { margin-bottom: 18px; font-size: 32px; line-height: 39px; }
	.uc-link-columns ul { columns: 2; }
	.uc-link-columns :is(a, button) { line-height: 42px; }
	.uc-theme-lifehacker .uc-link-columns#uc-categories { border: 0; padding-inline: 10px; }
	.uc-link-columns .uc-solid { display: flex; justify-content: center; }
	.uc-theme-lifehacker .uc-lh-footer { padding: 30px 0; }
	.uc-theme-lifehacker .uc-lh-footer-main { flex-direction: column; gap: 0; padding-bottom: 0; border-bottom: 0; }
	.uc-theme-lifehacker .uc-lh-footer-brand { max-width: none; padding: 0 0 24px; text-align: center; border-bottom: 1px solid var(--uc-lh-green); }
	.uc-theme-lifehacker .uc-lh-footer-brand > a img { margin-inline: auto; width: 190px; }
	.uc-theme-lifehacker .uc-lh-footer-brand > p { text-align: left; }
	.uc-theme-lifehacker .uc-lh-footer-row { gap: 12px 20px; }
	.uc-theme-lifehacker .uc-lh-footer-row .uc-lh-socials { gap: 8px; }
	.uc-theme-lifehacker .uc-lh-footer-row .uc-lh-social { width: 28px; height: 28px; border: 0; }
	.uc-theme-lifehacker .uc-lh-footer-columns { padding: 24px 0; gap: 24px; border-bottom: 1px solid var(--uc-lh-green); }
	.uc-theme-lifehacker .uc-lh-footer-columns > div { flex: 1; min-width: 0; }
	.uc-theme-lifehacker .uc-lh-footer-company { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; width: 100%; padding: 24px 0; border-bottom: 1px solid var(--uc-lh-green); text-align: center; }
	.uc-theme-lifehacker .uc-lh-footer-legal { flex-direction: column; text-align: center; padding-top: 24px; }
	.uc-theme-lifehacker .uc-lh-footer-legal .uc-lh-copyright { text-align: left; }
	.uc-theme-lifehacker .uc-lh-footer-badges { flex-wrap: wrap; justify-content: center; }
}
