/*
Theme Name: What The Fry – Kavya Bright
Theme URI: https://whatthefry.in/
Author: What The Fry
Description: Clean pastel editorial recipe homepage based on the supplied reference.
Version: 12.0.0
Text Domain: what-the-fry
*/
:root{--cream:#fffaf4;--ink:#3a241d;--pink:#f75c83;--peach:#ffe8cf;--blush:#ffdce3;--yellow:#fff0bd;--green:#e3efdc;--lav:#eee1f1;--line:#eadfd6}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f4eee8;color:var(--ink);font-family:Arial,Helvetica,sans-serif}.site-v18{width:min(100%,1536px);margin:0 auto;background:var(--cream);min-height:100vh;overflow:hidden}a{text-decoration:none;color:inherit}.topbar-v18{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fffaf4;border-bottom:1px solid var(--line);position:relative;z-index:10}.brand-v18{width:58px;height:58px;display:flex!important;align-items:center;justify-content:center}.brand-v18 img{display:block!important;width:54px!important;height:54px!important;max-width:none!important;object-fit:contain!important;object-position:center!important;aspect-ratio:1/1!important;border-radius:50%!important}.nav-v18{display:flex;align-items:center;justify-content:center;gap:4px;margin-left:auto;margin-right:auto;font-size:15px}.nav-v18 a{padding:10px 16px;border-radius:28px;white-space:nowrap}.nav-v18 a.active{background:#ffcbd5}.icons-v18{display:flex;align-items:center;gap:20px;font-size:20px;min-width:105px;justify-content:flex-end}.homepage-v18{padding-top:0}
.hero-v18{margin:0 40px;border-radius:26px;overflow:hidden;height:465px;display:grid;grid-template-columns:40% 60%;background:linear-gradient(100deg,#fff0c8 0%,#ffe7d4 100%)}.hero-copy-v18{padding:52px 38px 42px 48px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(100deg,#fff0c8 0%,#ffe7d5 100%)}.eyebrow,.kicker{text-transform:uppercase;letter-spacing:2.3px;font-weight:700;font-size:11px}.hero-copy-v18 h1{font-family:Georgia,'Times New Roman',serif;font-size:70px;line-height:.93;letter-spacing:-3.6px;margin:22px 0 23px;font-weight:700}.heart{color:var(--pink);font-family:Arial,sans-serif;font-weight:400}.hero-copy-v18 p{font-size:17px;line-height:1.42;max-width:525px;margin:0 0 26px}.btns{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:14px 24px;border-radius:32px;font-weight:700;font-size:14px;white-space:nowrap}.btn.primary{background:var(--pink);color:#fff}.btn.light{background:#fff;color:var(--ink)}.btn.soft{background:#ffd2dc;color:var(--ink)}.hero-photo-v18{height:465px;overflow:hidden;background:#e8d6c2}.hero-photo-v18 img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.quick-cats-v18{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:14px 40px 0}.quick-card-v18{height:170px;border-radius:20px;overflow:hidden;display:grid;grid-template-columns:47% 1fr 34px;align-items:center;gap:10px;padding:0 12px 0 0}.q1{background:var(--blush)}.q2{background:var(--yellow)}.q3{background:var(--green)}.q4{background:var(--lav)}.cat-photo{height:100%;overflow:hidden}.cat-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.qc-copy strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:23px;line-height:1.02}.qc-copy span{display:block;font-size:11px;line-height:1.28;margin-top:9px}.quick-card-v18 b{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.72);display:grid;place-items:center;font-size:17px;font-weight:400}
.featured-v18{margin:30px 40px 0}.section-head-v18{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 55px 15px}.section-head-v18 h2,.hamper-v18 h2,.about-v18 h2{font-family:Georgia,'Times New Roman',serif;line-height:1;margin:8px 0 0}.section-head-v18 h2{font-size:40px;letter-spacing:-1.4px}.recipe-grid-v18{display:grid;grid-template-columns:repeat(5,1fr);gap:17px}.recipe-card-v18{background:#fff;border-radius:17px;overflow:hidden}.recipe-card-v18 img{width:100%;height:150px;display:block;object-fit:cover}.recipe-card-v18 h3{font-size:14px;margin:12px 15px 16px}.hamper-v18{margin:30px 40px 0;border-radius:24px;background:#fff0e2;min-height:230px;padding:38px 44px;display:flex;align-items:center;justify-content:space-between}.hamper-v18 h2{font-size:42px}.hamper-v18 p{font-size:16px;max-width:500px;line-height:1.45}.hamper-art-v18{width:300px;height:160px;border-radius:20px;background:#dcebd5;display:grid;place-items:center;font-size:75px}.about-v18{margin:18px 40px 34px;background:#ffd8e0;border-radius:24px;padding:34px 40px}.about-v18 h2{font-size:42px}.about-v18 p{max-width:760px;font-size:16px;line-height:1.5}.footer-v18{padding:25px;text-align:center;border-top:1px solid var(--line);font-size:14px;background:#fffaf4}.custom-logo-link,.custom-logo,.site-branding,.site-branding-logo,.wp-block-site-logo,.wp-block-site-logo__link{display:none!important}
@media(max-width:1100px){.topbar-v18{padding:0 24px}.hero-v18{margin:0 24px;height:465px;grid-template-columns:40% 60%}.hero-copy-v18{padding-left:38px;padding-right:25px}.hero-copy-v18 h1{font-size:58px}.quick-cats-v18,.featured-v18,.hamper-v18,.about-v18{margin-left:24px;margin-right:24px}.section-head-v18{margin-left:35px;margin-right:35px}.quick-card-v18{grid-template-columns:45% 1fr 30px}.qc-copy strong{font-size:19px}}
@media(max-width:760px){.topbar-v18{height:68px;padding:0 14px}.brand-v18{width:52px;height:52px}.brand-v18 img{width:48px!important;height:48px!important}.nav-v18{display:none}.icons-v18{min-width:auto;gap:13px}.hero-v18{margin:12px 12px 0;height:auto;display:flex;flex-direction:column;border-radius:20px}.hero-copy-v18{padding:27px 22px 24px;min-height:325px}.eyebrow{font-size:9px;letter-spacing:1.5px}.hero-copy-v18 h1{font-size:46px;letter-spacing:-2.3px;margin:14px 0 16px}.hero-copy-v18 p{font-size:14px;line-height:1.4;margin-bottom:18px}.hero-photo-v18{height:auto;aspect-ratio:885/465}.hero-photo-v18 img{object-fit:cover}.quick-cats-v18{grid-template-columns:1fr 1fr;gap:9px;margin:12px}.quick-card-v18{height:128px;grid-template-columns:44% 1fr 27px;padding-right:9px}.qc-copy strong{font-size:16px}.qc-copy span{font-size:9px;margin-top:5px}.quick-card-v18 b{width:26px;height:26px}.featured-v18{margin:22px 12px 0}.section-head-v18{margin:0 4px 12px;align-items:center}.section-head-v18 h2{font-size:31px}.section-head-v18 .kicker{font-size:9px}.section-head-v18 .btn{padding:10px 13px;font-size:11px}.recipe-grid-v18{grid-template-columns:repeat(2,1fr);gap:10px}.recipe-card-v18 img{height:125px}.recipe-card-v18 h3{font-size:12px;margin:9px 10px 12px}.hamper-v18{margin:15px 12px 0;padding:25px 20px;display:block}.hamper-v18 h2{font-size:34px}.hamper-art-v18{width:100%;height:145px;margin-top:16px}.about-v18{margin:12px 12px 24px;padding:24px 20px}.about-v18 h2{font-size:34px}}
/* V19 recipe library */
.recipes-page-v19{padding:24px 40px 55px}.recipes-hero-v19{border-radius:26px;background:linear-gradient(110deg,#fff0c8,#ffdce5);padding:45px 50px;display:flex;align-items:center;justify-content:space-between;gap:30px}.recipes-hero-v19 h1{font-family:Georgia,serif;font-size:58px;line-height:.98;letter-spacing:-2.5px;margin:14px 0}.recipes-hero-v19 h1 span{color:#f75c83}.recipes-hero-v19 p{font-size:16px;max-width:650px;line-height:1.5;margin:0}.recipe-count-v19{width:125px;height:125px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;box-shadow:0 10px 30px rgba(80,40,20,.08)}.recipe-count-v19 strong{font:700 40px Georgia,serif}.recipe-count-v19 span{font-size:13px}.recipe-tools-v19{padding:25px 4px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.recipe-tools-v19 input{width:min(340px,100%);border:1px solid #eadfd6;background:#fff;border-radius:30px;padding:13px 18px;font-size:14px;outline:none}.filter-row-v19{display:flex;gap:8px;flex-wrap:wrap}.filter-row-v19 button{border:0;background:#fff;border:1px solid #eadfd6;padding:10px 15px;border-radius:22px;cursor:pointer;color:#3a241d}.filter-row-v19 button.active{background:#f75c83;color:#fff;border-color:#f75c83}.recipe-library-v19{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.library-card-v19{display:grid;grid-template-columns:110px 1fr;background:#fff;border-radius:20px;overflow:hidden;min-height:170px;box-shadow:0 5px 20px rgba(80,40,20,.05)}.library-art-v19{display:grid;place-items:center;font-size:45px}.art-0{background:#ffdce5}.art-1{background:#fff0bd}.art-2{background:#e3efdc}.art-3{background:#eee1f1}.art-4{background:#ffe8cf}.art-5{background:#dcecf1}.library-copy-v19{padding:17px 16px}.mini-cat-v19{text-transform:uppercase;letter-spacing:1.3px;font-size:9px;font-weight:700;opacity:.6}.library-copy-v19 h2{font:700 20px/1.05 Georgia,serif;margin:7px 0 8px}.library-copy-v19 p{font-size:11px;margin:0 0 13px;color:#6f5b51}.recipe-view-v19{font-size:12px;font-weight:700;color:#f75c83}.recipe-modal-v19{position:fixed;inset:0;background:rgba(40,20,15,.42);display:none;align-items:center;justify-content:center;padding:20px;z-index:999}.recipe-modal-v19.open{display:flex}.recipe-modal-inner-v19{width:min(620px,100%);background:#fffaf4;border-radius:24px;padding:35px;position:relative;max-height:80vh;overflow:auto}.recipe-modal-inner-v19 h2{font:700 40px/1 Georgia,serif;margin:12px 0}.recipe-close-v19{position:absolute;right:16px;top:12px;border:0;background:#ffdce5;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}.modal-note{font-size:15px;line-height:1.5;background:#fff;padding:18px;border-radius:15px}
@media(max-width:900px){.recipe-library-v19{grid-template-columns:repeat(2,1fr)}.recipes-page-v19{padding:15px 24px 40px}.recipes-hero-v19 h1{font-size:48px}}
@media(max-width:650px){.recipes-page-v19{padding:12px 12px 35px}.recipes-hero-v19{padding:28px 22px;display:block}.recipes-hero-v19 h1{font-size:42px}.recipe-count-v19{width:82px;height:82px;margin-top:20px}.recipe-count-v19 strong{font-size:27px}.recipe-tools-v19{padding:18px 2px}.recipe-tools-v19 input{width:100%}.recipe-library-v19{grid-template-columns:1fr}.library-card-v19{grid-template-columns:95px 1fr;min-height:145px}.library-art-v19{font-size:38px}.library-copy-v19 h2{font-size:18px}.recipe-modal-inner-v19{padding:28px 22px}.recipe-modal-inner-v19 h2{font-size:32px}}

/* V21 recipe library — bright editorial photo grid */
.recipes-page-v21{padding:0 0 55px;background:#fffaf4}
.recipes-hero-v21{margin:0;border-radius:0;overflow:hidden;display:grid;grid-template-columns:55% 45%;min-height:365px;background:linear-gradient(110deg,#fff0c8,#ffe0e6)}
.recipes-hero-copy-v21{padding:42px 42px 35px 7.5%;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(110deg,#fff0c8,#ffe2d7)}
.recipes-hero-copy-v21 h1{font-family:Georgia,'Times New Roman',serif;font-size:58px;line-height:.96;letter-spacing:-2.5px;margin:15px 0 18px;max-width:700px}
.recipes-hero-copy-v21 h1 span{color:#f75c83}
.recipes-hero-copy-v21 p{font-size:16px;line-height:1.5;margin:0;max-width:720px}
.recipes-hero-photo-v21{min-height:365px;overflow:hidden;background:#f1dfd1}
.recipes-hero-photo-v21 img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.recipe-feature-points-v21{display:flex;flex-wrap:wrap;gap:18px;margin-top:22px;font-size:12px;font-weight:600}
.recipe-tools-v21{padding:22px 3.5% 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:#fffaf4}
.recipe-search-v21{width:min(570px,100%);display:flex;align-items:center;border:1px solid #eadfd6;background:#fff;border-radius:32px;padding:0 17px;box-shadow:0 3px 12px rgba(80,40,20,.025)}
.recipe-search-v21 span{font-size:27px;line-height:1;transform:rotate(-15deg);margin-right:7px}
.recipe-search-v21 input{border:0;outline:0;background:transparent;width:100%;padding:14px 5px;font-size:14px;color:#3a241d}
.filter-row-v21{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.filter-row-v21 button{border:1px solid #eadfd6;background:#fff;padding:10px 16px;border-radius:22px;cursor:pointer;color:#3a241d;font-size:12px}
.filter-row-v21 button.active{background:#f75c83;color:#fff;border-color:#f75c83}
.recipe-library-v21{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;padding:0 2%;align-items:start}
.library-card-v21{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 5px 20px rgba(80,40,20,.055);min-width:0}
.library-photo-v21{height:150px;overflow:hidden;background:#f1e3d7}
.library-photo-v21 img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}
.library-copy-v21{padding:13px 14px 14px}
.mini-cat-v21{text-transform:uppercase;letter-spacing:1.2px;font-size:8px;font-weight:700;color:#8a6d61;margin-bottom:7px}
.library-copy-v21 h2{font:700 17px/1.06 Georgia,'Times New Roman',serif;margin:0 0 9px;color:#3a241d;min-height:36px}
.recipe-meta-v21{font-size:10px;line-height:1.35;color:#6f5b51;margin:0 0 12px;min-height:27px}
.card-bottom-v21{display:flex;align-items:center;justify-content:space-between;gap:8px}
.recipe-view-v21{display:inline-flex;align-items:center;justify-content:center;background:#f75c83;color:#fff;border-radius:24px;padding:9px 13px;font-size:10px;font-weight:700;white-space:nowrap}
.recipe-view-v21 span{margin-left:3px;font-size:13px}
.save-recipe-v21{border:0;background:transparent;color:#a75d48;font-size:24px;line-height:1;cursor:pointer;padding:2px 0}.save-recipe-v21.saved{color:#f75c83}
.recipe-modal-v21{position:fixed;inset:0;background:rgba(40,20,15,.45);display:none;align-items:center;justify-content:center;padding:20px;z-index:999}.recipe-modal-v21.open{display:flex}
.recipe-modal-inner-v21{width:min(650px,100%);background:#fffaf4;border-radius:24px;padding:25px;position:relative;max-height:84vh;overflow:auto}.recipe-close-v21{position:absolute;right:15px;top:13px;border:0;background:#ffdce5;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}.recipe-modal-inner-v21 h2{font:700 38px/1 Georgia,serif;margin:10px 0}.recipe-modal-inner-v21 p{line-height:1.5}.modal-recipe-image-v21{width:100%;height:260px;object-fit:cover;border-radius:18px;margin-bottom:20px}.modal-note{background:#fff;padding:15px;border-radius:14px}
@media(max-width:1250px){.recipe-library-v21{grid-template-columns:repeat(4,1fr)}.recipes-hero-copy-v21{padding-left:5%}}
@media(max-width:900px){.recipes-hero-v21{grid-template-columns:1fr}.recipes-hero-copy-v21{padding:35px 28px}.recipes-hero-photo-v21{height:300px;min-height:300px}.recipe-library-v21{grid-template-columns:repeat(3,1fr);padding:0 3%}.recipe-tools-v21{padding-left:3%;padding-right:3%}}
@media(max-width:650px){.recipes-hero-copy-v21 h1{font-size:43px}.recipe-feature-points-v21{gap:10px;font-size:10px}.recipes-hero-photo-v21{height:260px;min-height:260px}.recipe-tools-v21{padding:15px 12px}.filter-row-v21{justify-content:flex-start}.filter-row-v21 button{padding:9px 12px}.recipe-library-v21{grid-template-columns:repeat(2,1fr);gap:11px;padding:0 12px}.library-photo-v21{height:135px}.library-copy-v21{padding:10px}.library-copy-v21 h2{font-size:15px;min-height:32px}.recipe-meta-v21{font-size:9px}.recipe-view-v21{font-size:9px;padding:8px 10px}.save-recipe-v21{font-size:21px}}

/* V22 — exact reference card layout: photo first, recipe name/details below */
.recipes-page-v21{max-width:1600px;margin:0 auto;box-sizing:border-box}
.recipes-hero-v21{grid-template-columns:55% 45%;min-height:365px}
.recipes-hero-copy-v21{min-width:0}
.recipes-hero-photo-v21{min-width:0}
.recipe-library-v21{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;padding:0 2%;}
.library-card-v21{display:flex;flex-direction:column;height:auto;min-height:0;border-radius:18px;}
.library-photo-v21{order:1;width:100%;height:auto;aspect-ratio:1.42/1;overflow:hidden;background:#f1e3d7;}
.library-photo-v21 img{width:100%;height:100%;object-fit:cover;object-position:center;}
.library-copy-v21{order:2;padding:13px 15px 14px;display:flex;flex-direction:column;min-height:145px;box-sizing:border-box;}
.library-copy-v21 h2{font-size:17px;line-height:1.08;min-height:38px;margin:0 0 8px;}
.recipe-meta-v21{min-height:28px;margin-bottom:12px;}
.card-bottom-v21{margin-top:auto}

/* Keep the reference-style desktop/tablet composition inside WordPress Customizer too. */
@media (min-width:761px){
  .recipes-hero-v21{grid-template-columns:55% 45%;}
}
@media (min-width:761px) and (max-width:1249px){
  .recipe-library-v21{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:0 2.5%;}
  .library-photo-v21{aspect-ratio:1.38/1;}
}
@media (min-width:1000px){
  .recipe-library-v21{grid-template-columns:repeat(6,minmax(0,1fr));}
}
@media (max-width:760px){
  .recipes-hero-v21{grid-template-columns:1fr;}
  .recipe-library-v21{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:0 12px;}
  .library-photo-v21{aspect-ratio:1.18/1;height:auto;}
  .library-copy-v21{min-height:145px;padding:10px;}
}
