/*
Theme Name: WattYouKnow Starter
Author: WattYouKnow Project
Description: Lightweight, accessible WordPress block theme for an Australian home-energy educational website. Editable in Appearance > Editor.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: watt-you-know
Tags: blog, block-patterns, custom-colors, full-site-editing, wide-blocks
*/
:root {--wyk-forest:#153E35;--wyk-green:#267866;--wyk-ink:#1B3031;--wyk-muted:#526A65;--wyk-cream:#F6F9F5;--wyk-lime:#D5F28C;--wyk-white:#fff;--wyk-border:#D9E5DD}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth}
body {color:var(--wyk-ink);background:var(--wyk-cream);margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
a {text-underline-offset:3px}
a:hover {color:#145744}
:focus-visible {outline:3px solid #D5A324!important;outline-offset:4px}
.wyk-scroll-anchor {position:relative;top:-90px;height:0}
.wyk-header-wrap {max-width:1280px;margin:0 auto!important;padding:1.1rem clamp(1.2rem,4.5vw,4rem);display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:82px}
header.wp-block-template-part,.wyk-header-wrap {background:#fff}
.wyk-header-wrap .wyk-logo{font-size:1.5rem;font-weight:800;letter-spacing:-.06em;margin:0}
.wyk-logo a {text-decoration:none;color:var(--wyk-forest)!important}
.wyk-logo a::before{content:'⚡';font-size:1.45rem;display:inline-block;margin-right:8px;color:var(--wyk-green)}
.wyk-navigation .wp-block-navigation-item__content {text-decoration:none!important;color:#27443D;font-size:.88rem;font-weight:650}
.wyk-header-caption{margin:0;color:var(--wyk-green);text-transform:uppercase;letter-spacing:.1em;font-weight:750;font-size:.6rem;max-width:110px;line-height:1.4;text-align:right}
.wyk-front-main{overflow:hidden}
.wyk-front-main>*,.wyk-page-layout,.wyk-single-layout,.wyk-archive-layout {margin-block-start:0!important}
.wyk-hero {background:linear-gradient(145deg,#153E35,#1A5F4C 75%,#267866);color:white;padding:clamp(3.4rem,7vw,6rem) clamp(1.2rem,5vw,4rem);position:relative}
.wyk-hero::after {content:'';position:absolute;inset:0;opacity:.13;background:radial-gradient(circle at 20% 15%,#D5F28C 0,transparent 34%);pointer-events:none}
.wyk-hero-columns {max-width:1180px;margin:0 auto!important;align-items:center!important;gap:4rem;position:relative;z-index:1}
.wyk-hero-text {flex:1.15!important;min-width:0}
.wyk-hero-graphic{flex:1!important;min-width:0}
.wyk-eyebrow {font-size:.72rem;letter-spacing:.18em;color:#D5F28C;font-weight:800;margin:0 0 1.15rem}
.wyk-hero-heading{font-size:clamp(3rem,6.2vw,5.45rem);letter-spacing:-.065em;line-height:1.055;font-weight:780;max-width:760px;color:white!important;margin:.25rem 0 1.25rem}
.wyk-heading-period{color:var(--wyk-lime)}
.wyk-hero-lead{font-size:clamp(1rem,1.65vw,1.24rem);line-height:1.75;color:#E1F0EA;max-width:560px;margin:0 0 1.7rem}
.wyk-hero-actions{gap:.8rem;margin:0 0 1.7rem}
.wyk-hero-actions .wp-block-button__link,.wyk-btn-dark .wp-block-button__link{padding:.88rem 1.2rem;font-weight:750;text-decoration:none;font-size:.96rem;transition:transform .2s ease,background .2s ease}
.wyk-btn-primary .wp-block-button__link {background:var(--wyk-lime);color:#17382E;border:1px solid var(--wyk-lime)}
.wyk-btn-primary .wp-block-button__link:hover {background:#F0FFC5;color:#143829;transform:translateY(-2px)}
.wyk-btn-secondary .wp-block-button__link{background:transparent;color:white;border:1px solid rgba(255,255,255,.54)}
.wyk-btn-secondary .wp-block-button__link:hover{background:#ffffff20;color:white}
.wyk-hero-micro{font-size:.75rem;letter-spacing:.02em;color:#C6E2D5;margin:0}
.wyk-hero-visual {height:440px;min-height:350px;background: url('assets/hero-energy.svg') center/contain no-repeat;position:relative}
.wyk-visual-note {position:absolute;bottom:0;left:0;background:#fff;color:var(--wyk-forest);padding:.75rem 1.1rem;border-radius:12px;box-shadow:0 16px 40px #05261D50;max-width:250px;font-size:.82rem;line-height:1.5;font-weight:750;margin:0}
.wyk-intro,.wyk-topics,.wyk-start-section,.wyk-steps-section,.wyk-approach-section {padding-left:clamp(1.2rem,5vw,4rem);padding-right:clamp(1.2rem,5vw,4rem)}
.wyk-intro {max-width:1250px;margin:0 auto!important;padding-top:5rem;padding-bottom:1.5rem}
.wyk-label {font-weight:850;font-size:.7rem;letter-spacing:.18em;color:#267866;margin:0 0 .9rem;text-transform:uppercase}
.wyk-section-title {font-size:clamp(2rem,3.8vw,3.3rem);line-height:1.16;letter-spacing:-.045em;margin:0 0 .9rem;max-width:780px}
.wyk-section-lead {color:var(--wyk-muted);font-size:1.08rem;line-height:1.8;max-width:770px;margin:0}
.wyk-topics {max-width:1250px;margin:0 auto!important;padding-top:2.2rem;padding-bottom:5rem}
.wyk-topics-header {margin:0 0 1.8rem!important}
.wyk-cards-row {gap:1.3rem!important;margin:0 0 1.3rem!important}
.wyk-cards-row .wp-block-column{min-width:0}
.wyk-card {height:100%;border:1px solid var(--wyk-border);background:#fff;border-radius:24px;padding:clamp(1.4rem,3vw,2.35rem);min-height:250px;box-shadow:0 14px 35px rgba(9,40,29,.04);transition:transform .2s ease,box-shadow .2s ease}
.wyk-card:hover {transform:translateY(-4px);box-shadow:0 19px 45px rgba(9,40,29,.1)}
.wyk-card-icon{display:flex;align-items:center;justify-content:center;background:#EAF4E5;color:#24775D;border-radius:14px;width:55px;height:55px;font-size:1.9rem;margin:0 0 1rem;line-height:1}
.wyk-card-kicker{font-size:.68rem;font-weight:800;letter-spacing:.14em;color:#71897A;margin:0 0 .3rem}
.wyk-card-title{font-size:1.56rem;letter-spacing:-.028em;color:var(--wyk-forest);margin:0 0 .7rem;font-weight:770}
.wyk-card-body{font-size:.98rem;line-height:1.8;color:#526A65;margin:0}
.wyk-start-section {background:#E7F0E7;padding-top:4.4rem;padding-bottom:4.4rem}
.wyk-start-columns {max-width:1170px;margin:0 auto!important;gap:4rem!important;align-items:center!important}
.wyk-start-columns>.wp-block-column{min-width:0}
.wyk-btn-dark .wp-block-button__link{background:#153E35;color:#fff;margin-top:1.5rem}
.wyk-btn-dark .wp-block-button__link:hover{background:#267866;color:white}
.wyk-checklist-card {padding:2rem;background:#fff;border-radius:20px;border:1px solid #d3e0d5;box-shadow:0 18px 45px #173D3514}
.wyk-start-title{font-size:1.65rem;margin:.2rem 0 1rem}
.wyk-step{font-size:1rem;color:#364E44;line-height:1.7;padding:.75rem 0;border-bottom:1px solid #e4ece6;margin:0}
.wyk-step:last-child{border-bottom:0}
.wyk-steps-section{max-width:1250px;margin:0 auto!important;padding-top:5.5rem;padding-bottom:5.5rem}
.wyk-steps-columns{margin-top:2.4rem!important;gap:2rem!important}
.wyk-steps-columns>.wp-block-column {border-top:2px solid #CBDDD2;padding-top:1.2rem}
.wyk-step-number{font-size:1rem;color:#267866;font-weight:800;letter-spacing:.08em;margin:0 0 .8rem}
.wyk-step-title{font-size:1.65rem;margin:0 0 .7rem}
.wyk-step-desc{font-size:1rem;color:#526A65;line-height:1.75;margin:0}
.wyk-approach-section{background:#F0F5F0;padding-top:4.5rem;padding-bottom:4.5rem}
.wyk-approach-columns{max-width:1180px;margin:0 auto!important;gap:4rem!important}
.wyk-approach-note{font-size:.88rem;color:#63796F;line-height:1.7;margin:1rem 0 0}
.wyk-footer-wrap{background:#112D27;color:#D6E6DF;padding:3.2rem clamp(1.2rem,5vw,4rem) 2rem!important}
.wyk-footer-grid {max-width:1180px;margin:0 auto!important;gap:4rem!important}
.wyk-footer-brand {color:white;font-weight:850;font-size:1.5rem;letter-spacing:-.05em;margin:0 0 .9rem}
.wyk-footer-copy,.wyk-footer-right{color:#C5D9D0;line-height:1.75;font-size:.94rem;max-width:400px;margin:0}
.wyk-footer-legal{max-width:1180px;margin:2.6rem auto 0!important;border-top:1px solid #ffffff27;padding-top:1.4rem;font-size:.74rem;color:#AAC7BA;line-height:1.7}
.wyk-page-layout,.wyk-single-layout,.wyk-archive-layout{min-height:55vh;padding:5rem clamp(1.2rem,5vw,4rem);max-width:1040px;margin-inline:auto!important}
.wyk-page-title{font-size:clamp(2.5rem,5vw,4.6rem);letter-spacing:-.05em;line-height:1.12;margin:0 0 1.3rem}
.wyk-entry-content{line-height:1.85;font-size:1.08rem}
.wyk-entry-content h2{font-size:clamp(1.7rem,3vw,2.3rem);letter-spacing:-.02em;margin-top:2.8rem}
.wyk-entry-content a{text-decoration-thickness:1px}
.wyk-entry-content blockquote{border-inline-start:4px solid #267866;padding-inline-start:1.5rem}
.wyk-entry-content table{display:block;max-width:100%;overflow-x:auto}
.wyk-meta{font-size:.82rem;color:#65786F}
.wyk-featured-image img {border-radius:18px}
.wyk-archive-layout .wp-block-post-template{gap:1.4rem}
.wyk-post-card{background:#fff;border:1px solid var(--wyk-border);border-radius:18px;padding:1.1rem!important;overflow:hidden;height:100%}
.wyk-post-card .wp-block-post-featured-image img{border-radius:12px;aspect-ratio:16/10;object-fit:cover}
.wyk-post-card-title{font-size:1.25rem;line-height:1.3;margin:.6rem 0}
.wyk-post-card-title a {text-decoration:none}
.wyk-empty-guides{padding:2rem;background:#fff;border:1px solid var(--wyk-border);border-radius:18px}
@media(max-width:950px){.wyk-header-caption{display:none}.wyk-hero-columns{gap:1rem!important}.wyk-hero-visual{height:350px}.wyk-hero-heading{font-size:clamp(2.6rem,6vw,4rem)}}
@media(max-width:781px){.wyk-hero{padding-top:3.4rem;padding-bottom:3.6rem}.wyk-hero-columns{gap:2rem!important}.wyk-hero-visual{height:315px}.wyk-intro{padding-top:3.3rem}.wyk-topics{padding-bottom:3.3rem}.wyk-card{min-height:0}.wyk-steps-section{padding-top:3.5rem;padding-bottom:3.5rem}.wyk-approach-section{padding-top:3rem;padding-bottom:3rem}.wyk-checklist-card{margin-top:1.3rem}.wyk-header-wrap{min-height:72px}}
@media(max-width:480px){.wyk-hero-heading{font-size:clamp(2.65rem,10vw,3.65rem)}.wyk-hero-lead{font-size:1rem}.wyk-hero-visual{height:250px}.wyk-visual-note{bottom:-4px;font-size:.7rem;padding:.55rem .8rem}.wyk-card{padding:1.4rem}.wyk-btn-primary .wp-block-button__link,.wyk-btn-secondary .wp-block-button__link{font-size:.88rem;padding:.78rem 1rem}.wyk-section-title{font-size:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wyk-card,.wyk-btn-primary .wp-block-button__link{transition:none!important}}
