/*
Theme Name: Okra & Oak
Theme URI: https://okraandoak.com/
Author: Okraandoak.com
Description: A warm, responsive recipe blog theme with earthy colors, recipe cards, category navigation, and a newsletter section.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: okraandoak
*/
:root{--cream:#fbf8f2;--paper:#fffdfa;--ink:#20221a;--muted:#6e7066;--olive:#4c583d;--orange:#c9471c;--orange-dark:#a93613;--sage:#e9eddf;--line:#e9e2d7;--radius:16px;--shadow:0 8px 28px rgba(47,39,26,.07);--content:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:hover{color:var(--orange)}button,input{font:inherit}.site-wrap{overflow:hidden}.container{width:min(var(--content),calc(100% - 44px));margin-inline:auto}.topbar{background:var(--olive);color:#fff;font-size:12px}.topbar-inner{min-height:32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar p{margin:0}.social-links{display:flex;gap:15px}.social-links a{color:#fff;font-weight:700}.site-header{background:rgba(255,253,250,.97);border-bottom:1px solid var(--line);position:relative;z-index:10}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;min-width:max-content}.brand-mark{width:43px;height:43px;color:var(--olive)}.brand-name{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:29px;letter-spacing:-1.2px;line-height:1}.brand-name span{color:var(--orange)}.brand-tagline{display:block;color:var(--muted);font-size:10px;letter-spacing:.07em;text-transform:uppercase;margin-top:5px}.main-nav{display:flex;align-items:center;gap:27px;font-size:14px}.main-nav a{padding:9px 0}.main-nav .current-menu-item>a,.main-nav a:hover{color:var(--orange)}.search-form{display:flex;align-items:center;border:1px solid var(--line);border-radius:99px;overflow:hidden;background:#f6f4ef;max-width:230px}.search-form input{min-width:0;width:100%;border:0;background:transparent;padding:10px 14px;font-size:12px;outline:0}.search-form button{border:0;background:var(--orange);color:white;padding:10px 14px;cursor:pointer}.menu-toggle{display:none;border:1px solid var(--line);background:white;border-radius:10px;padding:9px 12px;color:var(--ink);cursor:pointer}.hero{position:relative;min-height:360px;background:linear-gradient(90deg,rgba(251,248,242,.94) 0%,rgba(251,248,242,.84) 33%,rgba(251,248,242,.12) 62%,rgba(251,248,242,0) 100%),var(--hero-image);background-position:center right;background-size:cover;display:flex;align-items:center}.hero-content{padding-block:55px;max-width:530px}.eyebrow{font-family:Georgia,serif;font-style:italic;color:var(--orange);font-size:18px;margin:0 0 8px}.hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(36px,4.1vw,57px);line-height:1.04;letter-spacing:-1.5px;margin:0 0 15px;max-width:520px}.hero p:not(.eyebrow){color:#45463f;max-width:430px;margin:0 0 22px}.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:99px;background:var(--orange);color:white;padding:12px 23px;font-weight:650;font-size:14px;transition:background .2s,transform .2s}.button:hover,.wp-block-button__link:hover{background:var(--orange-dark);color:#fff;transform:translateY(-1px)}.categories{padding:26px 0 18px}.category-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:15px}.category-item{text-align:center;font-size:13px;font-weight:600}.category-thumb{width:76px;height:76px;border-radius:50%;margin:0 auto 8px;overflow:hidden;background:var(--sage);border:4px solid #f4efe6;display:flex;align-items:center;justify-content:center;font-size:28px}.category-thumb img{width:100%;height:100%;object-fit:cover}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-heading h2,.content-title{font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.15;letter-spacing:-.8px;margin:0}.section-heading h2:after{content:"";display:block;width:42px;height:3px;background:var(--orange);margin-top:10px}.text-link{color:var(--orange);font-size:13px;font-weight:650;white-space:nowrap}.home-content{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;padding:18px 0 42px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.recipe-card{border:1px solid #eee8de;border-radius:12px;overflow:hidden;background:white;box-shadow:0 3px 12px rgba(50,40,25,.035);transition:transform .2s,box-shadow .2s}.recipe-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.recipe-image{position:relative;aspect-ratio:1.28/1;background:var(--sage);overflow:hidden}.recipe-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.recipe-card:hover .recipe-image img{transform:scale(1.035)}.recipe-label{position:absolute;bottom:9px;left:10px;background:#fffaf2;border-radius:99px;padding:4px 10px;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.recipe-body{padding:12px 13px 13px}.recipe-body h3{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.2;margin:0 0 10px}.recipe-meta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:11px}.recipe-meta span{display:inline-flex;align-items:center;gap:5px}.sidebar{display:flex;flex-direction:column;gap:22px}.author-box{background:#f8f0e5;border-radius:15px;padding:18px}.author-top{display:flex;gap:12px;align-items:center;margin-bottom:8px}.author-avatar{width:74px;height:74px;border-radius:50%;background:#e6dccd;display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-size:32px;overflow:hidden}.author-avatar img{width:100%;height:100%;object-fit:cover}.author-box h3,.popular-box h3{font-family:Georgia,serif;font-size:20px;margin:0 0 4px}.author-box p{font-size:12px;color:#55564e;margin:0 0 12px}.small-button{font-size:12px;padding:9px 15px;background:transparent;color:var(--orange);border:1px solid #dca58f;border-radius:99px;display:inline-block}.small-button:hover{background:var(--orange);color:#fff}.popular-box h3{margin-bottom:12px}.popular-item{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;margin-bottom:12px}.popular-item img{width:72px;height:60px;object-fit:cover;border-radius:9px;background:var(--sage)}.popular-item strong{display:block;font-family:Georgia,serif;font-size:14px;line-height:1.25;font-weight:600}.popular-item small{font-size:11px;color:var(--muted)}.newsletter{background:#f8efe3;padding:27px 0;margin-top:5px}.newsletter-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}.newsletter h2{font-family:Georgia,serif;font-size:28px;line-height:1.2;margin:0 0 5px}.newsletter p{margin:0;color:var(--muted);font-size:13px}.newsletter-form{display:flex;gap:7px;width:min(440px,100%)}.newsletter-form input{flex:1;min-width:0;border:1px solid #e9e0d4;border-radius:99px;background:white;padding:12px 16px;font-size:12px}.newsletter-form button{cursor:pointer}.site-footer{padding:24px 0;background:#fffdfa;border-top:1px solid var(--line)}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-nav{display:flex;flex-wrap:wrap;gap:19px;color:var(--muted);font-size:12px}.footer-copy{font-size:11px;color:var(--muted)}.archive-header{padding:42px 0 22px;background:var(--cream)}.archive-header p{color:var(--muted);margin-bottom:0}.archive-grid{padding:30px 0 55px}.pagination{margin-top:28px;display:flex;gap:8px}.pagination .page-numbers{padding:8px 13px;border:1px solid var(--line);border-radius:8px}.pagination .current{background:var(--olive);color:white}.single-layout{display:grid;grid-template-columns:minmax(0,760px) 280px;gap:35px;padding:38px 0 55px}.entry-header{margin-bottom:20px}.entry-header h1{font-family:Georgia,serif;font-size:clamp(34px,4vw,48px);line-height:1.1;margin:0 0 12px}.entry-meta{font-size:12px;color:var(--muted)}.entry-content{font-size:17px;line-height:1.8}.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.2}.entry-content img{border-radius:12px}.entry-content .wp-block-image{margin:24px 0}.entry-content ul,.entry-content ol{padding-left:25px}.recipe-card-placeholder{border:1px solid var(--line);border-radius:15px;padding:22px;background:#fffdf8;margin:28px 0}.recipe-card-placeholder h2{margin-top:0}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.no-results{padding:30px;border:1px dashed var(--line);border-radius:12px}
@media(max-width:1000px){.header-inner{gap:14px}.main-nav{gap:16px}.search-form{max-width:190px}.home-content{grid-template-columns:minmax(0,1fr) 250px;gap:20px}.recipe-grid{gap:12px}.recipe-body h3{font-size:17px}.category-list{gap:8px}.category-thumb{width:66px;height:66px}}
@media(max-width:780px){.container{width:min(100% - 30px,var(--content))}.topbar-inner{justify-content:center}.topbar .social-links{display:none}.header-inner{min-height:68px;flex-wrap:wrap}.brand-mark{width:37px;height:37px}.brand-name{font-size:25px}.brand-tagline{font-size:9px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;order:4;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 13px;border-top:1px solid var(--line)}.main-nav.is-open{display:flex}.main-nav a{padding:10px 4px;border-bottom:1px solid #f0ebe3}.search-form{order:3;max-width:none;width:100%;margin:0 0 12px;display:none}.search-form.is-open{display:flex}.hero{min-height:0;background-image:linear-gradient(90deg,rgba(251,248,242,.89),rgba(251,248,242,.56)),var(--hero-image);background-position:center;background-size:cover}.hero-content{padding:40px 0 34px;max-width:100%}.hero h1{font-size:clamp(36px,9vw,48px);max-width:450px}.hero p:not(.eyebrow){max-width:450px;font-size:14px}.categories{padding:19px 0 12px}.category-list{display:flex;overflow-x:auto;gap:15px;padding:2px 1px 12px;scroll-snap-type:x mandatory}.category-item{flex:0 0 76px;scroll-snap-align:start;font-size:11px}.category-thumb{width:62px;height:62px}.home-content{display:flex;flex-direction:column;padding-top:16px}.section-heading h2,.content-title{font-size:29px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.recipe-image{aspect-ratio:1.08/1}.recipe-body{padding:10px}.recipe-body h3{font-size:17px}.recipe-meta{font-size:10px;gap:8px}.sidebar{display:grid;grid-template-columns:1fr;gap:17px}.author-box{padding:16px}.popular-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.popular-item{grid-template-columns:62px 1fr;gap:8px;margin:0}.popular-item img{width:62px;height:55px}.popular-item strong{font-size:12px}.newsletter-inner{display:block}.newsletter h2{font-size:25px}.newsletter-form{margin-top:16px}.footer-inner{flex-direction:column;align-items:flex-start}.footer-nav{gap:13px}.single-layout{display:block;padding:28px 0 40px}.single-sidebar{margin-top:30px}.archive-header{padding:30px 0 18px}}
@media(max-width:420px){.container{width:calc(100% - 24px)}.brand-name{font-size:22px}.brand-mark{width:32px;height:32px}.hero-content{padding:32px 0 28px}.hero h1{font-size:36px}.eyebrow{font-size:16px}.button{padding:11px 18px}.section-heading{align-items:center}.section-heading h2{font-size:27px}.recipe-grid{gap:9px}.recipe-body h3{font-size:15px}.recipe-meta{display:block}.recipe-meta span{margin-right:7px}.popular-list{grid-template-columns:1fr}.newsletter-form{flex-direction:column}.newsletter-form input,.newsletter-form button{width:100%}}

/* Author bio at the bottom of every recipe post */
.recipe-author{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;align-items:center;margin:44px 0 8px;padding:28px;background:#faf8f3;border:1px solid var(--line);border-radius:18px}
.recipe-author-photo{width:190px;height:190px;border-radius:50%;overflow:hidden;background:#e9eddf;border:6px solid #fff;box-shadow:0 3px 14px rgba(47,39,26,.08)}
.recipe-author-photo img{width:100%;height:100%;object-fit:cover}
.recipe-author-kicker{margin:0 0 5px!important;color:var(--olive);font-size:11px!important;font-weight:800;letter-spacing:.16em;text-transform:uppercase;line-height:1.4!important}
.recipe-author-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:32px;line-height:1.15;margin:0 0 12px;color:var(--olive)}
.recipe-author-copy p:not(.recipe-author-kicker){font-size:15px;line-height:1.75;color:#45463f;margin:0 0 10px}
@media(max-width:600px){.recipe-author{grid-template-columns:1fr;gap:18px;padding:20px;text-align:left}.recipe-author-photo{width:138px;height:138px}.recipe-author-copy h2{font-size:27px}}


/* Refined editorial author bio card */
.recipe-author{
  position:relative;
  display:grid;
  grid-template-columns:minmax(220px, 36%) minmax(0,1fr);
  gap:34px;
  align-items:center;
  margin:54px 0 12px;
  padding:34px;
  overflow:hidden;
  background:linear-gradient(135deg,#fbf9f4 0%,#f6f1e8 100%);
  border:1px solid #e9e0d2;
  border-radius:24px;
  box-shadow:0 8px 26px rgba(62,54,39,.045);
}
.recipe-author-photo{
  position:relative;
  width:100%;
  height:100%;
  min-height:310px;
  max-height:390px;
  border-radius:48% 48% 42% 42%;
  overflow:hidden;
  background:#e9eddf;
  border:8px solid #fffaf2;
  box-shadow:0 5px 18px rgba(47,39,26,.10);
}
.recipe-author-photo img{width:100%;height:100%;min-height:310px;object-fit:cover;object-position:center 35%;display:block}
.recipe-author-leaf{position:absolute;left:-4px;bottom:4px;color:#71815e;font-size:58px;line-height:1;transform:rotate(-25deg);text-shadow:0 2px 4px rgba(255,255,255,.65)}
.recipe-author-copy{position:relative;z-index:1}
.recipe-author-kicker{margin:0 0 10px!important;color:#596847;font-size:12px!important;font-weight:800;letter-spacing:.20em;text-transform:uppercase;line-height:1.4!important}
.recipe-author-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,4vw,48px);line-height:1.08;margin:0 0 8px;color:#35452f;font-weight:600}
.recipe-author-copy .recipe-author-role{font-family:Georgia,"Times New Roman",serif;font-style:italic;color:#987456;font-size:19px;line-height:1.5;margin:0 0 20px}
.recipe-author-role span{color:#87916f;padding:0 5px;font-style:normal;font-size:14px}
.recipe-author-copy p:not(.recipe-author-kicker):not(.recipe-author-role){font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1.65;color:#373832;margin:0 0 13px}
.recipe-author-flourish{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin:20px 0 0;color:#71815e;font-size:27px;line-height:1}
.recipe-author-flourish i{display:block;width:1px;height:26px;background:#c9c9b7}
@media(max-width:700px){
 .recipe-author{grid-template-columns:1fr;gap:22px;padding:22px;margin-top:38px}
 .recipe-author-photo{width:min(100%,280px);height:280px;min-height:0;margin:0 auto;border-radius:48% 48% 42% 42%}
 .recipe-author-photo img{min-height:0}
 .recipe-author-copy h2{font-size:35px}
 .recipe-author-copy .recipe-author-role{font-size:16px}
 .recipe-author-copy p:not(.recipe-author-kicker):not(.recipe-author-role){font-size:16px}
 .recipe-author-flourish{justify-content:center}
}


/* Homepage cleanup: suppress category shortcut/icon strips and redundant About promos. */
.home .category-shortcuts,
.home .category-icons,
.home .category-icon-grid,
.home .category-circles,
.home .home-categories,
.home .recipe-categories,
.home .categories-section,
.home .category-navigation,
.home .category-bubbles,
.home .author-box,
.home .about-box,
.home .about-widget,
.home a[href$="/about/"] {
  display: none !important;
}

/* Recipe archive and compact, readable mobile category labels. */
.recipes-toolbar{display:flex;justify-content:space-between;gap:12px;margin:0 0 22px;flex-wrap:wrap}.recipes-search{display:flex;gap:8px;flex:1;max-width:480px}.recipes-search input,.recipes-filter select{border:1px solid var(--line);border-radius:99px;background:#fff;padding:11px 15px;min-width:0;color:var(--ink)}.recipes-search input{flex:1}.recipes-search button{border:0;border-radius:99px;background:var(--orange);color:#fff;padding:10px 19px;font-weight:650;cursor:pointer}.recipes-filter select{min-width:180px}.recipes-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.recipes-archive-grid .recipe-body h2{font-family:Georgia,serif;font-size:19px;line-height:1.2;margin:0 0 8px}.recipes-archive-grid .recipe-body p{font-size:13px;color:var(--muted);margin:0 0 10px}.recipes-archive-grid .recipe-label{max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:780px){.recipes-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipes-toolbar{display:grid;grid-template-columns:1fr}.recipes-search{max-width:none}.recipes-filter select{width:100%}}@media(max-width:420px){.recipes-archive-grid{gap:9px}.recipes-archive-grid .recipe-body h2{font-size:15px}.recipes-archive-grid .recipe-body p{font-size:11px}}
