/*
Theme Name: Mealworm World
Theme URI: https://mealworm.world/
Author: Mealworm World
Description: An educational mealworm care site with WooCommerce support.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mealworm-world
*/

:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#f7f1df;background:#171b16;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}a{color:inherit}a:focus-visible,summary:focus-visible{outline:3px solid #efb85d;outline-offset:4px}.wrap{max-width:1180px;margin:auto;padding:0 28px}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px;border-bottom:1px solid #ffffff22}.brand{font-weight:850;letter-spacing:-.06em;font-size:1.4rem;text-decoration:none}.brand span{color:#e6ac50}.links{display:flex;gap:26px;flex-wrap:wrap}.links a{text-decoration:none;color:#dbdfd3;font-size:.92rem}.links a:hover{color:#e6ac50}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:center;padding:72px 0 84px}.eyebrow{color:#e6ac50;text-transform:uppercase;letter-spacing:.17em;font-size:.78rem;font-weight:800}h1{font-size:clamp(3.5rem,7vw,6.7rem);line-height:.95;letter-spacing:-.075em;margin:22px 0 28px;max-width:740px}h1 em{color:#e6ac50;font-style:normal}.lead{color:#c3cbbd;font-size:1.16rem;line-height:1.7;max-width:580px}.button{display:inline-flex;margin-top:22px;background:#e6ac50;color:#1a1d15;padding:16px 23px;border-radius:7px;font-weight:800;text-decoration:none}.button:hover{background:#ffd083}.photo{min-height:480px;background:#313928;position:relative;overflow:hidden;border-radius:8px}.photo img{width:100%;height:100%;min-height:480px;object-fit:cover;display:block}.photo:after{content:"TENEBRIO MOLITOR · LARVA";position:absolute;bottom:15px;left:15px;background:#171b16e8;padding:9px 12px;font-size:.68rem;font-weight:800;letter-spacing:.13em}.section{padding:80px 0;border-top:1px solid #ffffff20}.section h2{font-size:clamp(2rem,4vw,3.6rem);line-height:1.05;letter-spacing:-.06em;margin:10px 0 22px}.intro{color:#bdc5b7;max-width:700px;line-height:1.7}.light{background:#efe9d9;color:#20251d}.light .intro{color:#4f584e}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px}.step{background:#f9f5ea;padding:29px;border:1px solid #d4d0bf;border-radius:8px}.number{font-size:.8rem;color:#9d6a24;font-weight:900;letter-spacing:.15em}.step h3{font-size:1.38rem;letter-spacing:-.04em;margin:18px 0 10px}.step p,.step li{color:#525a50;line-height:1.65}.step ul{padding-left:18px}.band{background:#d99a41;color:#211d14;padding:33px 0}.band .wrap{display:flex;justify-content:space-between;align-items:center;gap:25px}.band strong{font-size:1.4rem;letter-spacing:-.04em}.band p{margin:7px 0 0;line-height:1.5}.cycle{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:38px}.stage{border:1px solid #596151;background:#22291f;border-radius:8px;padding:24px;min-height:170px}.stage b{display:block;color:#e6ac50;font-size:.8rem;margin-bottom:30px}.stage strong{font-size:1.4rem}.stage p{color:#bbc3b3;line-height:1.5;margin-bottom:0}.care{display:grid;grid-template-columns:1fr 1fr;gap:50px}.check{border-top:1px solid #ccc5b5;padding:18px 0;display:flex;gap:16px;line-height:1.5}.check b{color:#ae772f;min-width:88px}.faq details{border-top:1px solid #c8c5b8;padding:19px 0}.faq summary{cursor:pointer;font-weight:750;font-size:1.1rem}.faq p{color:#50594e;line-height:1.7;max-width:750px}.video{background:#22291f;border:1px solid #596151;border-radius:9px;padding:30px;display:flex;justify-content:space-between;gap:30px;align-items:center}.video p{color:#bbc3b3;line-height:1.6;margin-bottom:0}.badge{white-space:nowrap;border:1px solid #e6ac50;color:#e6ac50;border-radius:100px;padding:10px 15px;font-weight:750;font-size:.85rem}.sources{font-size:.88rem;color:#aeb8a6;line-height:1.8}.sources a{color:#e6ac50}footer{padding:35px 0;border-top:1px solid #ffffff25;color:#aeb8a6;font-size:.88rem}footer .wrap{display:flex;justify-content:space-between;gap:20px}footer a{color:#e6ac50}@media(max-width:760px){.nav{align-items:flex-start;padding-top:20px;padding-bottom:20px;flex-direction:column}.links{gap:15px}.hero{grid-template-columns:1fr;padding:49px 0 65px;gap:35px}.photo,.photo img{min-height:340px}.steps{grid-template-columns:1fr}.cycle{grid-template-columns:repeat(2,1fr)}.care{grid-template-columns:1fr;gap:10px}.band .wrap,.video{align-items:flex-start;flex-direction:column}footer .wrap{flex-direction:column}.section{padding:65px 0}}@media(max-width:430px){.wrap{padding:0 20px}.cycle{grid-template-columns:1fr 1fr}.stage{padding:16px;min-height:165px}.stage strong{font-size:1.15rem}}

/* WordPress content and shop */
.entry{max-width:850px;margin:auto;padding:65px 28px;min-height:55vh}.entry h1{font-size:clamp(2.4rem,5vw,4.5rem)}.entry-content{font-size:1.05rem;line-height:1.75;color:#d5dccc}.entry-content a{color:#e6ac50}.entry-card{padding:24px 0;border-bottom:1px solid #ffffff22}.entry-card h2{font-size:1.7rem;letter-spacing:-.04em}.entry-card a{color:#f7f1df;text-decoration:none}.entry-card a:hover{color:#e6ac50}.pagination{margin:32px 0}.pagination a{color:#e6ac50}.woocommerce{color:#f7f1df}.woocommerce a{color:#e6ac50}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#f7f1df}.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:#e6ac50}.woocommerce button.button,.woocommerce a.button,.woocommerce input.button{background:#e6ac50;color:#171b16;border-radius:7px}.woocommerce .quantity .qty,.woocommerce input.input-text,.woocommerce textarea{color:#171b16}.woocommerce-message,.woocommerce-info{color:#20251d;border-top-color:#e6ac50}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Homepage guide directory */
.home-guides .guide-group{margin-top:32px}.home-guides h3{font-size:1.35rem;margin:0 0 14px;letter-spacing:-.03em}.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.guide-card{display:block;background:#faf7ef;border:1px solid #d4d0bf;border-radius:8px;padding:22px;text-decoration:none;transition:transform .2s,border-color .2s}.guide-card:hover,.guide-card:focus-visible{transform:translateY(-3px);border-color:#ae772f}.guide-card strong{display:block;font-size:1.12rem}.guide-card span{display:block;color:#525a50;line-height:1.55;margin-top:8px}.guide-index-link{display:inline-block;margin-top:28px;font-weight:800;color:#835619}.guide-index-link:hover{color:#4d320f}@media(max-width:760px){.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.guide-grid{grid-template-columns:1fr}}
.first-steps{margin:30px 0;padding:24px;background:#faf7ef;border:1px solid #d4d0bf;border-radius:8px}.first-steps h3{margin:0 0 12px}.first-steps ol{display:flex;flex-wrap:wrap;gap:12px 32px;margin:0;padding-left:24px}.first-steps li{padding-left:3px;line-height:1.5}.first-steps a{color:#835619;font-weight:750;text-underline-offset:3px}@media(max-width:520px){.first-steps ol{display:block}.first-steps li{margin-bottom:8px}}
