/*
Theme Name: Brew Frame
Theme URI: https://example.com/brew-frame
Author: Brew Frame
Description: BREW FRAME editorial coffee magazine theme with responsive article, archive, search and page templates.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: brew-frame
*/
:root{--ink:#302720;--muted:#786b5e;--paper:#f5f1e9;--cream:#ebe4d8;--line:#d9d0c3;--accent:#80634d;--white:#fffdf9;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.7}a{color:inherit;text-decoration:none}a:hover{opacity:.72}img{max-width:100%;height:auto;display:block}.wrap{width:min(1180px,calc(100% - 48px));margin-inline:auto}.site-header{height:84px;display:flex;align-items:center;border-bottom:1px solid var(--line);background:rgba(245,241,233,.96)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-family:var(--serif);font-size:25px;letter-spacing:.13em;font-weight:500}.brand small{display:block;font:9px var(--sans);letter-spacing:.28em;color:var(--muted);margin-top:2px}.main-nav ul{display:flex;gap:28px;list-style:none;padding:0;margin:0}.main-nav a{font-size:10px;letter-spacing:.16em}.menu-toggle{display:none;background:none;border:0;font-size:22px}.hero{padding:66px 0 58px}.hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:52px;align-items:center}.eyebrow{font-size:10px;letter-spacing:.24em;color:var(--accent);text-transform:uppercase}.hero h1{font:clamp(42px,5.8vw,76px)/1.05 var(--serif);font-weight:400;letter-spacing:-.04em;margin:20px 0}.hero-copy{max-width:410px;color:var(--muted);font-size:14px}.hero-image{min-height:440px;background:linear-gradient(135deg,#9b8068,#47372d);position:relative;overflow:hidden}.hero-image img{width:100%;height:100%;min-height:440px;object-fit:cover}.hero-image:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(30,22,17,.12),transparent 55%)}.text-link{display:inline-flex;align-items:center;gap:18px;border-bottom:1px solid var(--ink);padding:10px 0;font-size:10px;letter-spacing:.18em;margin-top:22px}.section{padding:72px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section-head h2{font:400 clamp(28px,3vw,40px) var(--serif);margin:8px 0 0}.section-note{font-size:11px;color:var(--muted)}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category-card{background:var(--cream);min-height:190px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.category-card:nth-child(2n){background:#e2d8ca}.category-card span{font-size:9px;letter-spacing:.2em;color:var(--accent)}.category-card strong{font:26px var(--serif);font-weight:400}.category-card em{font-style:normal;font-size:11px;color:var(--muted)}.feature-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:38px}.feature-large .post-thumb{height:380px}.post-thumb{background:#d7c8b6;overflow:hidden}.post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.post-card:hover .post-thumb img{transform:scale(1.035)}.post-meta{font-size:9px;letter-spacing:.15em;color:var(--accent);margin:15px 0 8px;text-transform:uppercase}.post-card h3{font:25px/1.25 var(--serif);font-weight:400;margin:0 0 8px}.post-card p{font-size:12px;color:var(--muted);margin:0}.side-posts{display:grid;gap:22px}.side-post{display:grid;grid-template-columns:116px 1fr;gap:18px;align-items:center}.side-post .post-thumb{height:112px}.side-post h3{font-size:19px}.journal-band{background:#3b3029;color:#f5f1e9;padding:68px 0}.journal-band .inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.journal-band h2{font:38px var(--serif);font-weight:400;margin:8px 0}.journal-band p{color:#c9bcae;font-size:12px;max-width:440px}.journal-band .text-link{border-color:#d8cabc}.latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.latest-grid .post-thumb{height:220px}.site-footer{padding:48px 0 28px;border-top:1px solid var(--line)}.footer-top{display:flex;justify-content:space-between;gap:30px;padding-bottom:38px}.footer-tag{font:24px var(--serif);max-width:320px}.footer-bottom{border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;color:var(--muted);font-size:10px;letter-spacing:.08em}.page-title{font:48px var(--serif);font-weight:400;margin:12px 0 34px}.content{max-width:760px;margin:60px auto 90px}.content h1,.content h2,.content h3{font-family:var(--serif);font-weight:400}.content p{line-height:1.95}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.archive-grid .post-thumb{height:230px}.pagination{margin:45px 0;text-align:center}.pagination a,.pagination span{padding:10px 14px;border:1px solid var(--line);margin:3px;font-size:12px}.single-hero{height:min(56vw,560px);background:#d7c8b6}.single-hero img{width:100%;height:100%;object-fit:cover}.single-content{max-width:760px;margin:55px auto 90px;padding:0 24px}.single-content h1{font:clamp(34px,5vw,54px)/1.15 var(--serif);font-weight:400}.single-content .entry-content{font-size:16px;line-height:2}.single-content .entry-content h2{font:32px var(--serif);margin-top:48px}.single-content .entry-content a{text-decoration:underline;text-underline-offset:3px}.empty-thumb{height:100%;min-height:180px;background:linear-gradient(135deg,#d9cbbb,#8b715b)}@media(max-width:800px){.wrap{width:calc(100% - 36px)}.site-header{height:72px}.main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:var(--paper);padding:20px 24px;border-bottom:1px solid var(--line);z-index:10}.main-nav.is-open{display:block}.main-nav ul{flex-direction:column;gap:18px}.menu-toggle{display:block}.hero{padding:38px 0}.hero-grid,.feature-grid{grid-template-columns:1fr;gap:28px}.hero-image,.hero-image img{min-height:300px}.category-grid{grid-template-columns:repeat(2,1fr)}.category-card{min-height:155px;padding:18px}.feature-large .post-thumb{height:280px}.latest-grid,.archive-grid{grid-template-columns:1fr 1fr;gap:18px}.latest-grid .post-thumb,.archive-grid .post-thumb{height:170px}.journal-band .inner,.footer-top{display:block}.journal-band h2{font-size:32px}.footer-tag{margin-bottom:24px}.section{padding:50px 0}.section-head{align-items:start;gap:12px;flex-direction:column}}@media(max-width:480px){.latest-grid,.archive-grid{grid-template-columns:1fr}.latest-grid .post-thumb,.archive-grid .post-thumb{height:220px}.side-post{grid-template-columns:94px 1fr}.side-post .post-thumb{height:94px}.brand{font-size:22px}.hero h1{font-size:46px}}


/* BREW FRAME editorial refinements */
.brand-logo,.custom-logo { display:block; width:auto; max-width:min(100%,560px); max-height:104px; object-fit:contain; }
.custom-logo-link { display:inline-flex; align-items:center; }
.category-card { min-height:260px; padding:22px; color:#fff; justify-content:flex-end; background:#4b392c; isolation:isolate; }
.category-card::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(20,14,10,.06) 15%,rgba(20,14,10,.68) 100%); }
.category-card::after { content:""; position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; transition:transform .55s ease; }
.category-card:hover::after { transform:scale(1.05); }
.category-card strong { font:400 clamp(25px,2.5vw,34px)/1.1 var(--serif); letter-spacing:.12em; text-shadow:0 2px 14px rgba(0,0,0,.25); }
.category-card em { display:none!important; }
.category-beans::after { background-image:url('assets/images/category-beans.jpg'); }
.category-gear::after { background-image:url('assets/images/category-gear.jpg'); }
.category-brewing::after { background-image:url('assets/images/category-brewing.jpg'); }
.category-machines::after { background-image:url('assets/images/category-machines.jpg'); }
.category-card:nth-child(2n) { background:#4b392c; }
.section-head h2 { line-height:1.25; }
.hero-copy-block { max-width:500px; }
.hero .eyebrow { line-height:1.8; }
.hero-copy { line-height:2; }
.bf-editor-hero,.bf-editor-categories,.bf-editor-latest { padding:clamp(44px,7vw,88px) 24px; }
.bf-editor-hero { background:var(--paper); }
.bf-editor-hero .wp-block-image img { width:100%; aspect-ratio:1.25/1; object-fit:cover; }
.bf-editor-categories .wp-block-cover { min-height:240px!important; }
.bf-editor-categories .wp-block-cover__inner-container a { color:#fff; text-decoration:none; font-family:var(--serif); letter-spacing:.12em; }
.bf-editor-latest { background:var(--cream); }
@media(max-width:800px) {
  .brand-logo,.custom-logo { max-width:min(68vw,430px); max-height:72px; }
  .category-card { min-height:190px; padding:18px; }
  .category-grid { gap:10px; }
}
@media(max-width:480px) {
  .brand-logo,.custom-logo { max-width:min(72vw,360px); max-height:64px; }
  .category-card { min-height:175px; }
  .hero h1 { font-size:clamp(40px,11vw,48px); }
}

/* Local category photography bundled with the theme */
.category-beans::after { background-image:url('./assets/images/category-beans.jpg'); }
.category-gear::after { background-image:url('./assets/images/category-gear.jpg'); }
.category-brewing::after { background-image:url('./assets/images/category-brewing.jpg'); }
.category-machines::after { background-image:url('./assets/images/category-machines.jpg'); }


/* 1.1.4 safe mobile header styling */
@media screen and (max-width: 800px) {
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header .brand-logo,
  .site-header .custom-logo-link img {
    width: min(76vw, 430px) !important;
    max-width: min(76vw, 430px) !important;
    height: auto !important;
    max-height: 88px !important;
    object-fit: contain !important;
  }
  .site-header button.menu-toggle {
    color: #493426 !important;
    -webkit-text-fill-color: #493426 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 27px !important;
    line-height: 1 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
}


/* 1.1.5: correct baked-in category lettering and align mobile logo left */
.category-card strong {
  text-shadow: 0 2px 12px rgba(0,0,0,.32);
  -webkit-text-stroke: 0 !important;
  text-decoration: none !important;
}
@media screen and (max-width: 800px) {
  .site-header .header-inner {
    justify-content: space-between !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .site-header .brand {
    margin-left: -10px !important;
    margin-right: auto !important;
  }
  .site-header .brand img,
  .site-header .brand .custom-logo,
  .site-header .brand-logo,
  .site-header .custom-logo-link img {
    display: block !important;
    object-position: left center !important;
  }
}



/* 1.1.7: brighter category photography and true tablet responsive grid */
.category-card::before {
  background: linear-gradient(180deg, rgba(20,14,10,0.00) 0%, rgba(20,14,10,0.08) 100%) !important;
}
.category-card::after {
  filter: brightness(1.12) !important;
  background-size: cover !important;
  background-position: center center !important;
}


/* iPad / tablet: use two spacious columns rather than four compressed cards */
@media screen and (max-width: 1100px) {
  .wrap { width: min(100% - 56px, 960px) !important; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; }
  .category-card { min-height: clamp(220px, 30vw, 330px) !important; }
  .section { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
  .section-head { gap: 18px; }
  .hero-grid { gap: clamp(24px, 4vw, 48px); }
}

/* Phones: keep the same two-column category rhythm with compact cards */
@media screen and (max-width: 600px) {
  .wrap { width: calc(100% - 36px) !important; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .category-card { min-height: clamp(150px, 43vw, 210px) !important; padding: 12px !important; }
  .hero-image, .hero-image img { min-height: 260px; }
}

/* Desktop: four editorial tiles */
@media screen and (min-width: 1101px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}


/* =========================================================
   BREW FRAME 1.2.0 — responsive editorial polish
   Preserve existing design; refine hierarchy and spacing.
   ========================================================= */

/* Shared image behavior */
.hero-image img,
.hero-image picture,
.hero-image picture img {
  display:block;
  width:100%;
  height:auto;
}
.hero-image {
  overflow:hidden;
}

/* Desktop: editorial two-column hero and calm category rhythm */
@media (min-width: 1101px) {
  .hero .wrap,
  .hero .hero-grid {
    max-width: 1240px;
    margin-inline:auto;
  }
  .hero-grid {
    align-items:center;
    column-gap:clamp(48px,6vw,92px);
  }
  .hero-image img {
    aspect-ratio: 1.18 / 1;
    object-fit:cover;
  }
  .category-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
  }
  .category-card {
    aspect-ratio: 3 / 3.7;
    min-height:0;
  }
}

/* Tablet / iPad: 2-column categories, balanced hero image */
@media (min-width: 601px) and (max-width: 1100px) {
  .wrap {
    width:min(100% - 64px, 960px);
  }
  .hero {
    padding-top:clamp(52px,7vw,82px);
    padding-bottom:clamp(48px,6vw,72px);
  }
  .hero-grid {
    display:grid;
    grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr);
    align-items:center;
    gap:clamp(26px,4vw,48px);
  }
  .hero h1 {
    font-size:clamp(46px,6vw,66px);
    line-height:1.04;
  }
  .hero-copy {
    font-size:clamp(16px,1.8vw,19px);
    line-height:1.9;
  }
  .hero-image img {
    aspect-ratio: 1 / 1.12;
    object-fit:cover;
  }
  .category-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
  }
  .category-card {
    aspect-ratio: 1.28 / 1;
    min-height:0;
  }
  .section {
    padding-block:clamp(56px,7vw,84px);
  }
}

/* Mobile: improve type hierarchy, reduce vertical drag, keep the hero image prominent */
@media (max-width: 600px) {
  .hero {
    padding-top:clamp(42px,11vw,58px);
    padding-bottom:clamp(38px,9vw,52px);
  }
  .hero-grid {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
  .hero-copy-block {
    max-width:none;
  }
  .hero .eyebrow {
    margin-bottom:22px;
    font-size:12px;
    letter-spacing:.16em;
    line-height:1.8;
  }
  .hero h1 {
    margin-top:0;
    margin-bottom:24px;
    font-size:clamp(43px,11.4vw,54px);
    line-height:1.04;
    letter-spacing:-.045em;
  }
  .hero-copy {
    margin-top:0;
    margin-bottom:30px;
    font-size:clamp(16px,4.25vw,18px);
    line-height:1.9;
    letter-spacing:.015em;
  }
  .hero .text-link {
    display:inline-flex;
    align-items:center;
    gap:22px;
    margin:0 0 34px;
    padding-bottom:12px;
    font-size:14px;
  }
  .hero-image {
    width:100%;
    margin:0;
  }
  .hero-image img {
    width:100%;
    aspect-ratio: 1.12 / 1;
    object-fit:cover;
    object-position:center;
  }
  .category-section {
    padding-top:54px;
    padding-bottom:58px;
  }
  .section-head {
    display:block;
    margin-bottom:28px;
  }
  .section-head h2 {
    max-width:100%;
    font-size:clamp(27px,7.2vw,34px);
    line-height:1.35;
  }
  .section-note {
    margin-top:12px;
    font-size:13px;
    line-height:1.8;
  }
  .category-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .category-card {
    min-width:0;
    min-height:0;
    aspect-ratio: 1 / 1.08;
    padding:14px;
  }
  .category-card strong {
    font-size:clamp(16px,4.6vw,22px);
    letter-spacing:.08em;
  }
  .editorial-section,
  .latest-section {
    padding-block:54px;
  }
  .editorial-section .section-head,
  .latest-section .section-head {
    margin-bottom:22px;
  }
  .journal-band {
    padding-block:52px;
  }
  .journal-band .inner {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:22px;
  }
  .journal-band h2 {
    font-size:clamp(27px,7.2vw,36px);
    line-height:1.4;
  }
}

/* Respect reduced motion and avoid accidental overflow at narrow widths */
@media (max-width: 380px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .hero h1 {
    font-size:42px;
  }
  .category-card strong {
    font-size:15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .category-card::after {
    transition:none !important;
  }
}


/* Category section only — reproduce the supplied reference layout.
   Photos are separate image files; category names are live HTML text. */
.category-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:34px 22px;
}
.category-grid .category-card {
  display:block;
  min-height:0;
  padding:0;
  overflow:visible;
  background:transparent;
  color:var(--ink);
  text-decoration:none;
}
.category-grid .category-card::before,
.category-grid .category-card::after {
  content:none !important;
  display:none !important;
}
.category-grid .category-photo {
  display:block;
  width:100%;
  overflow:hidden;
  background:#e7ded2;
  aspect-ratio:1.32 / 1;
}
.category-grid .category-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .45s ease;
}
.category-grid .category-card:hover .category-photo img {
  transform:scale(1.025);
}
.category-grid .category-label {
  display:flex;
  align-items:center;
  gap:16px;
  padding:12px 4px 0;
}
.category-grid .category-label strong {
  display:block;
  flex:0 0 auto;
  color:var(--ink);
  font-family:var(--serif);
  font-size:clamp(23px,2.6vw,36px);
  font-weight:400;
  line-height:1.1;
  letter-spacing:.015em;
  text-shadow:none;
}
.category-grid .category-rule {
  display:block;
  flex:1 1 auto;
  height:1px;
  min-width:16px;
  background:var(--ink);
  opacity:.7;
}
.category-grid .category-arrow {
  display:block;
  flex:0 0 auto;
  color:var(--ink);
  font-family:var(--serif);
  font-size:clamp(23px,2.6vw,34px);
  font-weight:300;
  line-height:1;
}
@media (max-width:600px) {
  .category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 12px;
  }
  .category-grid .category-photo {
    aspect-ratio:1.16 / 1;
  }
  .category-grid .category-label {
    gap:8px;
    padding:8px 2px 0;
  }
  .category-grid .category-label strong {
    font-size:clamp(15px,4.1vw,22px);
  }
  .category-grid .category-arrow {
    font-size:20px;
  }
}


/* BREW FRAME single article template — scoped to single posts only */
.bf-single-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto 80px;color:var(--ink,#30251d)}
.bf-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:22px 0 18px;font-size:11px;letter-spacing:.06em;color:#887b6e}
.bf-breadcrumb a{color:inherit;text-decoration:none}
.bf-breadcrumb-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:48ch}
.bf-article-layout{display:grid;grid-template-columns:minmax(0, min(850px, 1fr)) minmax(230px, 300px);gap:54px;align-items:start}
.bf-article{min-width:0}
.bf-article-hero{width:100%;aspect-ratio:2.35/1;overflow:hidden;background:#e7ded2}
.bf-article-hero img{display:block;width:100%;height:100%;object-fit:cover}
.bf-article-header{padding:18px 0 22px;border-bottom:1px solid #d9cfc2}
.bf-article-category{display:inline-block;padding:4px 9px;background:#a48b68;color:#fff;text-decoration:none;font-size:10px;letter-spacing:.1em}
.bf-article-header h1{margin:13px 0 10px;font-family:var(--serif,Georgia,serif);font-size:clamp(25px,3vw,37px);font-weight:400;line-height:1.55;letter-spacing:.035em;color:var(--ink,#30251d)}
.bf-article-lead{margin:0 0 14px;color:#77695c;font-size:14px;line-height:1.9}
.bf-article-meta{display:flex;flex-wrap:wrap;gap:18px;color:#8b7e70;font-size:11px;letter-spacing:.04em}
.bf-article-body{padding-top:26px}
.bf-toc{float:right;width:min(280px,42%);margin:0 0 24px 28px;padding:17px 20px;background:#f2ede4;border:1px solid #e4dbcf}
.bf-toc-title{margin:0 0 9px;font-family:var(--serif,Georgia,serif);font-size:15px;font-weight:600;letter-spacing:.08em}
.bf-toc ol{margin:0;padding-left:19px}
.bf-toc li{padding:3px 0;color:#796b5d;font-size:12px;line-height:1.7}
.bf-toc a{color:inherit;text-decoration:none}
.bf-toc a:hover{text-decoration:underline}
.bf-entry-content{font-size:15px;line-height:2.15;letter-spacing:.025em;color:#44382f;overflow-wrap:anywhere}
.bf-entry-content p{margin:0 0 1.45em}
.bf-entry-content h2{clear:both;margin:2.5em 0 1em;padding-bottom:10px;border-bottom:1px solid #cfc3b5;font-family:var(--serif,Georgia,serif);font-size:25px;font-weight:400;line-height:1.55;letter-spacing:.035em;color:#30251d;scroll-margin-top:24px}
.bf-entry-content h3{margin:2em 0 .8em;font-family:var(--serif,Georgia,serif);font-size:20px;font-weight:500;line-height:1.6;color:#49382b}
.bf-entry-content img{max-width:100%;height:auto}
.bf-entry-content figure{margin:2em 0}
.bf-entry-content figcaption{margin-top:7px;color:#8b7e70;font-size:11px}
.bf-entry-content blockquote{margin:2em 0;padding:18px 22px;border-left:3px solid #a48b68;background:#f5f1e9;color:#695a4b}
.bf-entry-content table{width:100%;border-collapse:collapse;font-size:13px}
.bf-entry-content th,.bf-entry-content td{padding:11px;border:1px solid #ded5c9;text-align:left}
.bf-entry-content th{background:#f2ede4;font-weight:600}
.bf-entry-content ul,.bf-entry-content ol{padding-left:1.6em;margin:0 0 1.5em}
.bf-entry-content a{color:#806344;text-underline-offset:3px}
.bf-entry-content .wp-block-button__link{background:#493426;color:#fff;border-radius:0}
.bf-article-tags{clear:both;padding-top:22px;border-top:1px solid #ded5c9;font-size:11px}
.bf-tags-label{margin-right:10px;color:#9a8875;letter-spacing:.14em}
.bf-article-tags a{display:inline-block;margin:4px 5px 4px 0;padding:5px 10px;background:#f0ebe3;color:#6c5a49;text-decoration:none;border-radius:20px}
.bf-article-sidebar{padding-top:8px}
.bf-sidebar-section{margin-bottom:38px}
.bf-sidebar-section h2{margin:0 0 14px;padding-bottom:9px;border-bottom:1px solid #bfb09f;font-family:var(--serif,Georgia,serif);font-size:16px;font-weight:500;letter-spacing:.08em}
.bf-sidebar-cats,.bf-recent-list{margin:0;padding:0;list-style:none}
.bf-sidebar-cats li{border-bottom:1px solid #e5ddd3}
.bf-sidebar-cats a{display:flex;justify-content:space-between;gap:12px;padding:12px 2px;color:#5b4b3d;text-decoration:none;font-size:13px}
.bf-sidebar-cats a span:last-child{color:#9b8d7f;font-size:11px}
.bf-recent-list li{border-bottom:1px solid #e5ddd3}
.bf-recent-list a{display:grid;grid-template-columns:58px 1fr 12px;gap:11px;align-items:center;padding:10px 0;color:inherit;text-decoration:none}
.bf-recent-thumb{display:block;width:58px;height:58px;overflow:hidden;background:#e8dfd4}
.bf-recent-thumb img{width:100%;height:100%;object-fit:cover}
.bf-recent-copy strong{display:block;font-size:12px;font-weight:500;line-height:1.65}
.bf-recent-copy small{display:block;margin-top:4px;color:#948576;font-size:10px}
.bf-recent-arrow{color:#948576}
.bf-related{margin-top:58px}
.bf-related>h2{display:flex;align-items:center;gap:16px;margin:0 0 18px;font-family:var(--serif,Georgia,serif);font-size:21px;font-weight:400;letter-spacing:.1em}
.bf-related>h2:after{content:"";height:1px;flex:1;background:#cfc3b5}
.bf-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.bf-related-card{min-width:0;color:inherit;text-decoration:none}
.bf-related-image{display:block;aspect-ratio:1.55/1;overflow:hidden;background:#e8dfd4}
.bf-related-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.bf-related-card:hover img{transform:scale(1.03)}
.bf-related-card strong{display:block;margin-top:9px;font-size:12px;font-weight:500;line-height:1.65}
.bf-related-card small{display:block;margin-top:5px;color:#968879;font-size:10px}
@media(max-width:800px){
 .bf-single-wrap{width:calc(100% - 32px);margin-bottom:52px}
 .bf-article-layout{grid-template-columns:minmax(0,1fr);gap:38px}
 .bf-article-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:24px}
 .bf-sidebar-section{margin-bottom:0}
 .bf-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
}
@media(max-width:560px){
 .bf-single-wrap{width:calc(100% - 28px)}
 .bf-breadcrumb{padding:15px 0 13px;font-size:10px}
 .bf-article-hero{aspect-ratio:1.55/1}
 .bf-article-header{padding:14px 0 18px}
 .bf-article-header h1{font-size:25px;line-height:1.55}
 .bf-article-lead{font-size:13px}
 .bf-article-meta{gap:10px;font-size:10px}
 .bf-article-body{padding-top:20px}
 .bf-toc{float:none;width:auto;margin:0 0 25px;padding:15px 17px}
 .bf-entry-content{font-size:14px;line-height:2.05}
 .bf-entry-content h2{font-size:22px;margin-top:2.1em}
 .bf-entry-content h3{font-size:18px}
 .bf-article-sidebar{grid-template-columns:1fr;gap:30px}
 .bf-related{margin-top:42px}
 .bf-related-grid{gap:18px 12px}
 .bf-related-card strong{font-size:11px}
}


/* BREW FRAME 2.0 — supporting page system. Homepage rules above remain intact. */
.skip-link{position:absolute;left:-9999px;top:auto}.skip-link:focus{left:12px;top:12px;z-index:9999;background:#fff;padding:12px}
.site-header{position:relative;z-index:50}
.menu-toggle{cursor:pointer}
.menu-toggle:focus-visible,.main-nav a:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #80634d;outline-offset:4px}
.bf-archive,.bf-page-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto 80px}
.bf-archive-head{padding:22px 0 34px;border-bottom:1px solid var(--line);margin-bottom:30px}
.bf-archive-head h1,.bf-page-article h1{font:400 clamp(32px,4vw,48px)/1.3 var(--serif);margin:10px 0}
.bf-archive-description{max-width:760px;color:var(--muted);font-size:14px;line-height:1.9}
.bf-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 24px}
.bf-list-card{min-width:0}
.bf-list-card>a{display:block;color:inherit}
.bf-list-image{display:block;aspect-ratio:1.45/1;overflow:hidden;background:#e7ded2}
.bf-list-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.bf-list-card>a:hover .bf-list-image img{transform:scale(1.035)}
.bf-list-meta{display:block;margin:13px 0 7px;color:var(--accent);font-size:10px;letter-spacing:.08em}
.bf-list-card h2{font:400 22px/1.45 var(--serif);margin:0 0 8px}
.bf-list-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}
.bf-pagination{margin:48px 0;text-align:center}
.bf-pagination .nav-links{display:flex;justify-content:center;gap:7px;flex-wrap:wrap}
.bf-pagination a,.bf-pagination span{display:inline-block;padding:9px 13px;border:1px solid var(--line);font-size:12px}
.bf-pagination .current{background:#493426;color:#fff;border-color:#493426}
.bf-no-results{padding:30px 0;color:var(--muted)}
.bf-page-wrap{padding-top:20px}
.bf-page-article{max-width:850px;margin:0 auto}
.bf-page-article>header{padding:18px 0 28px;border-bottom:1px solid var(--line)}
.bf-page-content{padding:30px 0;font-size:15px;line-height:2.05}
.bf-page-content h2{font:400 27px/1.5 var(--serif);margin:2.2em 0 .8em;border-bottom:1px solid var(--line);padding-bottom:10px}
.bf-page-content h3{font:400 21px var(--serif);margin:1.8em 0 .7em}
.bf-page-content p{margin:0 0 1.4em}
.bf-page-content img{height:auto}
.bf-page-content table{width:100%;border-collapse:collapse}
.bf-page-content td,.bf-page-content th{border:1px solid var(--line);padding:10px}
.bf-page-content th{background:var(--cream)}
.bf-error-page{max-width:760px;margin:100px auto;text-align:center;padding:0 24px}
.bf-error-page h1{font:400 clamp(32px,5vw,52px)/1.4 var(--serif)}
.bf-error-page p{color:var(--muted)}
.bf-error-search{max-width:440px;margin:35px auto}
.bf-search-form{display:flex;gap:8px}
.bf-search-form label{flex:1}
.bf-search-form input{width:100%;padding:12px;border:1px solid var(--line);background:#fffdf9;font:inherit}
.bf-search-form button{padding:0 20px;border:0;background:#493426;color:#fff;cursor:pointer}
.footer-links{display:flex;flex-direction:column;gap:9px;font-size:11px}
.footer-links a{color:var(--muted)}
.footer-wordmark{display:inline-block}
.footer-brand p{font:16px var(--serif);margin:8px 0;color:var(--muted)}
@media(max-width:800px){.bf-archive,.bf-page-wrap{width:calc(100% - 36px)}.bf-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 16px}.footer-links{margin-top:22px}}
@media(max-width:520px){.bf-archive,.bf-page-wrap{width:calc(100% - 30px)}.bf-archive-grid{grid-template-columns:1fr}.bf-list-image{aspect-ratio:1.55/1}.bf-list-card h2{font-size:21px}.bf-error-page{margin:65px auto}}

.bf-product-lead{color:var(--muted);font-size:15px;line-height:1.9}.bf-product-intro{max-width:850px;margin:0 auto;font-size:15px;line-height:2}.bf-product-intro .wp-block-table{overflow-x:auto}.bf-product-intro .wp-block-table table{min-width:560px;border-collapse:collapse}.bf-product-intro th,.bf-product-intro td{padding:12px;border:1px solid var(--line)}.bf-product-intro th{background:var(--cream)}


/* 2.0.3: move the mobile logo further left without changing desktop layout */
@media screen and (max-width: 800px) {
  .site-header .brand {
    margin-left: -28px !important;
  }
}


/* 2.0.5: refine mobile hero copy and give the lead photograph more presence */
@media screen and (max-width: 600px) {
  .hero-copy {
    font-size: 16px !important;
    line-height: 1.85 !important;
    letter-spacing: 0 !important;
    margin-bottom: 24px !important;
  }

  .hero .text-link {
    margin-bottom: 26px !important;
  }

  .hero-image {
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
  }

  .hero-image img {
    width: 100% !important;
    aspect-ratio: 0.98 / 1 !important;
    min-height: 0 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}


/* 2.0.6 — restrained editorial motion */
.bf-motion-ready .bf-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--bf-delay, 0ms);
  will-change: opacity, transform;
}
.bf-motion-ready .bf-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.bf-motion-ready .hero-image {
  opacity: 0;
  transform: scale(1.035);
  animation: bf-hero-arrive 1.25s .15s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes bf-hero-arrive {
  to { opacity: 1; transform: scale(1); }
}
.category-grid .category-photo,
.post-thumb,
.bf-list-image,
.bf-article-hero,
.bf-related-image {
  overflow: hidden;
}
.category-grid .category-photo img,
.post-thumb img,
.bf-list-image img,
.bf-article-hero img,
.bf-related-image img {
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.category-grid .category-card:hover .category-photo img,
.post-card:hover .post-thumb img,
.bf-list-card>a:hover .bf-list-image img,
.bf-related-card:hover .bf-related-image img {
  transform: scale(1.045);
}
.category-grid .category-arrow,
.text-link span {
  display: inline-block;
  transition: transform .35s ease;
}
.category-grid .category-card:hover .category-arrow,
.text-link:hover span {
  transform: translateX(5px);
}
.text-link {
  background-image: linear-gradient(currentColor,currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0 1px;
  transition: background-size .4s ease, opacity .3s ease;
}
.text-link:hover { background-size: 100% 1px; opacity: 1; }
.post-card, .category-card, .bf-list-card, .bf-related-card {
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.category-grid .category-card:hover,
.bf-list-card>a:hover,
.bf-related-card:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bf-motion-ready .bf-reveal,
  .bf-motion-ready .hero-image,
  .category-grid .category-photo img,
  .post-thumb img,
  .bf-list-image img,
  .bf-article-hero img,
  .bf-related-image img,
  .category-grid .category-arrow,
  .text-link span,
  .text-link, .post-card, .category-card, .bf-list-card, .bf-related-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* 2.0.7 — richer editorial motion, with staggered category reveals */
.bf-motion-ready .bf-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985);
  transition:
    opacity 1.05s cubic-bezier(.16,1,.3,1),
    transform 1.05s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--bf-delay, 0ms);
  will-change: opacity, transform;
}
.bf-motion-ready .bf-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}
.bf-motion-ready .hero-copy-block > * {
  animation: bf-copy-arrive 1.05s cubic-bezier(.16,1,.3,1) both;
}
.bf-motion-ready .hero-copy-block > *:nth-child(1) { animation-delay: .05s; }
.bf-motion-ready .hero-copy-block > *:nth-child(2) { animation-delay: .18s; }
.bf-motion-ready .hero-copy-block > *:nth-child(3) { animation-delay: .31s; }
.bf-motion-ready .hero-copy-block > *:nth-child(4) { animation-delay: .44s; }
.bf-motion-ready .hero-image {
  animation: bf-hero-cinematic 1.7s cubic-bezier(.16,1,.3,1) .2s both !important;
  overflow: hidden;
}
.bf-motion-ready .hero-image img {
  transform: scale(1.10);
  animation: bf-image-settle 2.4s cubic-bezier(.16,1,.3,1) .15s both;
}
.bf-motion-ready .category-grid .category-card {
  transition:
    opacity 1.05s cubic-bezier(.16,1,.3,1),
    transform 1.05s cubic-bezier(.16,1,.3,1),
    filter .8s ease;
}
.bf-motion-ready .category-grid .category-photo img {
  transform: scale(1.08);
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}
.bf-motion-ready .category-grid .category-card.is-visible .category-photo img {
  transform: scale(1);
}
.bf-motion-ready .category-grid .category-card:hover .category-photo img {
  transform: scale(1.055);
}
.bf-motion-ready .feature-large .post-thumb img,
.bf-motion-ready .latest-grid .post-thumb img,
.bf-motion-ready .journal-band {
  transform: translate3d(0,var(--bf-depth-y,0),0);
  transition: transform .5s ease-out;
}
@keyframes bf-copy-arrive {
  from { opacity: 0; transform: translate3d(0,28px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes bf-hero-cinematic {
  from { opacity: 0; clip-path: inset(8% 0 8% 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes bf-image-settle {
  from { transform: scale(1.10); }
  to { transform: scale(1); }
}
@media (max-width: 600px) {
  .bf-motion-ready .bf-reveal {
    transform: translate3d(0,34px,0) scale(.99);
    transition-duration: .9s;
  }
  .bf-motion-ready .hero-image {
    animation-duration: 1.5s !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-motion-ready .hero-copy-block > *,
  .bf-motion-ready .hero-image,
  .bf-motion-ready .hero-image img {
    animation: none !important;
  }
}


/* 2.0.8 — slower, more noticeable editorial motion */
.bf-motion-ready .bf-reveal {
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0,64px,0) scale(.975);
  transition:
    opacity 1.85s cubic-bezier(.16,1,.3,1),
    transform 1.85s cubic-bezier(.16,1,.3,1),
    filter 1.65s ease;
  transition-delay: var(--bf-delay, 0ms);
  will-change: opacity, transform, filter;
}
.bf-motion-ready .bf-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0,0,0) scale(1);
}
.bf-motion-ready .category-grid .category-card {
  transform-origin: 50% 60%;
}
.bf-motion-ready .category-grid .category-card .category-photo {
  overflow: hidden;
}
.bf-motion-ready .category-grid .category-card .category-photo img {
  transform: scale(1.16);
  transition: transform 2.8s cubic-bezier(.16,1,.3,1);
}
.bf-motion-ready .category-grid .category-card.is-visible .category-photo img {
  transform: scale(1);
}
.bf-motion-ready .hero-image {
  animation-duration: 2.6s !important;
}
.bf-motion-ready .hero-image img {
  animation-duration: 3.8s !important;
}
.bf-motion-ready .hero-copy-block > * {
  animation-duration: 1.8s !important;
}
.bf-motion-ready .feature-grid,
.bf-motion-ready .latest-grid .post-card,
.bf-motion-ready .journal-band .inner > * {
  transition-duration: 1.85s;
}
@media (max-width: 600px) {
  .bf-motion-ready .bf-reveal {
    transform: translate3d(0,48px,0) scale(.985);
    transition-duration: 1.55s;
  }
  .bf-motion-ready .category-grid .category-card .category-photo img {
    transition-duration: 2.5s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-motion-ready .bf-reveal,
  .bf-motion-ready .category-grid .category-card .category-photo img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}


/* 2.0.9 — category image fade-in and refined hover response */
.bf-motion-ready .category-grid .category-card .category-photo {
  position: relative;
  overflow: hidden;
  background: #e9e3da;
}
.bf-motion-ready .category-grid .category-card .category-photo img {
  opacity: .48;
  filter: brightness(.92) saturate(.88);
  transform: scale(1.16);
  transition:
    opacity 1.9s cubic-bezier(.16,1,.3,1),
    filter 1.1s ease,
    transform 2.8s cubic-bezier(.16,1,.3,1);
}
.bf-motion-ready .category-grid .category-card.is-visible .category-photo img {
  opacity: 1;
  filter: brightness(1) saturate(1);
  transform: scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .category-grid .category-card .category-photo img {
    transition:
      opacity 1.9s cubic-bezier(.16,1,.3,1),
      filter .8s ease,
      transform 1.2s cubic-bezier(.16,1,.3,1);
  }
  .category-grid .category-card:hover .category-photo img {
    filter: brightness(.82) saturate(1.08);
    transform: scale(1.065);
  }
  .category-grid .category-card:hover .category-photo::after {
    opacity: 1;
  }
}
.category-grid .category-card .category-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(30,22,16,.16));
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
@media (prefers-reduced-motion: reduce) {
  .category-grid .category-card .category-photo img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}


/* 2.1.0 — smoother category motion: avoid expensive filter animation */
.bf-motion-ready .category-grid .category-card {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.bf-motion-ready .category-grid .category-card .category-photo {
  isolation: isolate;
  transform: translateZ(0);
}
.bf-motion-ready .category-grid .category-card .category-photo img {
  opacity: .55;
  filter: none !important;
  transform: translate3d(0,0,0) scale(1.12);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: opacity, transform;
  transition:
    opacity 1.35s ease-out,
    transform 2.1s cubic-bezier(.2,.7,.2,1);
}
.bf-motion-ready .category-grid .category-card.is-visible .category-photo img {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}
@media (hover: hover) and (pointer: fine) {
  .bf-motion-ready .category-grid .category-card:hover .category-photo img {
    opacity: 1;
    filter: none !important;
    transform: translate3d(0,0,0) scale(1.045);
    transition-duration: .85s;
  }
}
.category-grid .category-card .category-photo::after {
  transition: opacity .65s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .bf-motion-ready .category-grid .category-card,
  .bf-motion-ready .category-grid .category-card .category-photo img {
    will-change: auto !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}


/* 2.1.1 — category cards use a pure fade-in, without sliding or zooming */
.bf-motion-ready .category-grid .category-card.bf-reveal {
  opacity: 0;
  transform: none !important;
  filter: none !important;
  transition: opacity 1.45s ease-in-out !important;
}
.bf-motion-ready .category-grid .category-card.bf-reveal.is-visible {
  opacity: 1;
  transform: none !important;
  filter: none !important;
}
.bf-motion-ready .category-grid .category-card .category-photo img {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  will-change: auto !important;
}
.bf-motion-ready .category-grid .category-card .category-photo::after {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .bf-motion-ready .category-grid .category-card:hover .category-photo img {
    transform: none !important;
    filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bf-motion-ready .category-grid .category-card.bf-reveal {
    opacity: 1 !important;
    transition: none !important;
  }
}


/* 2.1.2 — reveal each complete category card (photo + label) like the other sections */
.bf-js .category-grid .category-card.bf-reveal {
  opacity: 0;
  transform: translate3d(0,42px,0) scale(.985) !important;
  transition:
    opacity 1.7s cubic-bezier(.16,1,.3,1),
    transform 1.7s cubic-bezier(.16,1,.3,1) !important;
  transition-delay: var(--bf-delay, 0ms) !important;
  will-change: opacity, transform;
}
.bf-js .category-grid .category-card.bf-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1) !important;
}
.bf-js .category-grid .category-card .category-photo img {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .bf-js .category-grid .category-card.bf-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* 2.1.3 — prevent category cards from flashing before reveal setup.
   The early bf-js class is printed in wp_head; hide the complete card from first paint. */
.bf-js .category-section .category-grid .category-card {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(.985) !important;
  transition: opacity 1.7s cubic-bezier(.16,1,.3,1),
              transform 1.7s cubic-bezier(.16,1,.3,1) !important;
  transition-delay: var(--bf-delay, 0ms) !important;
  will-change: opacity, transform;
}
.bf-js .category-section .category-grid .category-card.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1) !important;
}
@media (prefers-reduced-motion: reduce) {
  .bf-js .category-section .category-grid .category-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}


/* 2.1.4 — enforce a painted start frame for category-card reveal */
.bf-js .category-section .category-grid .category-card {
  opacity: 0 !important;
  transform: translate3d(0, 38px, 0) !important;
  transition: opacity 1.35s ease, transform 1.35s cubic-bezier(.2,.7,.2,1) !important;
  transition-delay: var(--bf-delay, 0ms) !important;
  will-change: opacity, transform;
}
.bf-js .category-section .category-grid .category-card.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}
@media (prefers-reduced-motion: reduce) {
  .bf-js .category-section .category-grid .category-card,
  .bf-js .category-section .category-grid .category-card.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}


/* BREW FRAME 2.3.0 — editorial category archive pages */
.bf-category-page{padding-bottom:clamp(70px,9vw,120px)}
.bf-category-page .bf-breadcrumb{padding:22px 0 30px}
.bf-category-hero{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,82px);align-items:center;padding:clamp(22px,4vw,48px) 0 clamp(45px,6vw,76px);border-bottom:1px solid var(--line)}
.bf-category-intro{padding:10px 0}
.bf-category-intro h1{font:400 clamp(56px,8vw,100px)/.98 var(--serif);letter-spacing:.045em;margin:20px 0 18px}
.bf-category-subtitle{font:400 clamp(20px,2.2vw,27px)/1.55 var(--serif);margin:0 0 18px;color:#59483a}
.bf-category-description{max-width:440px;margin:0;color:var(--muted);font-size:13px;line-height:2.15}
.bf-category-count{display:inline-block;margin-top:28px;padding-top:12px;border-top:1px solid #bca994;color:var(--accent);font-size:9px;letter-spacing:.2em}
.bf-category-hero-image{height:clamp(260px,34vw,430px);overflow:hidden;background:var(--cream)}
.bf-category-hero-image img{width:100%;height:100%;object-fit:cover}
.bf-category-switch{display:flex;align-items:center;gap:clamp(15px,2.7vw,34px);padding:24px 0 58px;border-bottom:1px solid var(--line)}
.bf-category-switch-label{font-size:9px;letter-spacing:.2em;color:var(--muted);margin-right:5px}
.bf-category-switch a{font:11px var(--serif);letter-spacing:.13em;color:var(--muted);padding:7px 0;border-bottom:1px solid transparent}
.bf-category-switch a.is-current{color:var(--ink);border-color:var(--accent)}
.bf-category-articles{padding-top:58px}
.bf-category-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}
.bf-category-section-head h2{font:400 clamp(30px,3.2vw,42px)/1.2 var(--serif);margin:9px 0 0}
.bf-category-total{font-size:9px;letter-spacing:.18em;color:var(--muted);padding-bottom:5px}
.bf-category-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:26px;row-gap:48px}
.bf-category-post-card{min-width:0}
.bf-category-post-link{display:block}
.bf-category-post-image{aspect-ratio:1.38/1;overflow:hidden;background:#e5dbce}
.bf-category-post-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.bf-category-post-link:hover .bf-category-post-image img{transform:scale(1.045)}
.bf-category-placeholder{height:100%;display:grid;place-items:center;font:18px var(--serif);letter-spacing:.18em;color:#9a8267}
.bf-category-post-copy{padding:15px 1px 0}
.bf-category-post-meta{font-size:9px;letter-spacing:.15em;color:var(--accent)}
.bf-category-post-copy h3{font:400 clamp(19px,2vw,23px)/1.45 var(--serif);margin:9px 0 8px}
.bf-category-post-copy p{font-size:11px;line-height:1.9;color:var(--muted);margin:0}
.bf-category-readmore{display:inline-flex;gap:12px;align-items:center;margin-top:17px;padding-bottom:5px;border-bottom:1px solid #bca994;font-size:9px;letter-spacing:.17em;color:var(--accent)}
.bf-category-readmore span{font-size:13px}
.bf-category-pagination{margin-top:58px;text-align:center}
.bf-category-pagination .nav-links{display:flex;justify-content:center;align-items:center;gap:8px}
.bf-category-pagination a,.bf-category-pagination span{display:inline-flex;min-width:36px;height:36px;align-items:center;justify-content:center;padding:0 10px;border:1px solid var(--line);font-size:9px;letter-spacing:.08em}
.bf-category-pagination .current{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.bf-category-empty{padding:65px 25px;text-align:center;background:#eee8df}
.bf-category-empty p{margin:12px 0 0;color:var(--muted);font-size:13px}
@media(max-width:800px){
 .bf-category-hero{grid-template-columns:1fr;gap:25px}
 .bf-category-intro h1{font-size:clamp(58px,12vw,84px)}
 .bf-category-hero-image{height:clamp(230px,55vw,360px)}
 .bf-category-switch{gap:18px;overflow-x:auto;white-space:nowrap;padding-bottom:24px}
 .bf-category-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 18px}
}
@media(max-width:520px){
 .bf-category-page .bf-breadcrumb{padding:16px 0 20px}
 .bf-category-hero{padding:18px 0 36px}
 .bf-category-intro h1{margin:16px 0 13px}
 .bf-category-subtitle{font-size:20px}
 .bf-category-description{font-size:12px}
 .bf-category-switch{gap:17px;padding-top:19px}
 .bf-category-switch-label{display:none}
 .bf-category-articles{padding-top:38px}
 .bf-category-section-head{margin-bottom:20px}
 .bf-category-section-head h2{font-size:30px}
 .bf-category-post-grid{gap:30px 13px}
 .bf-category-post-image{aspect-ratio:1.05/1}
 .bf-category-post-copy{padding-top:11px}
 .bf-category-post-copy h3{font-size:17px;line-height:1.45}
 .bf-category-post-copy p{font-size:10px;line-height:1.75}
 .bf-category-readmore{margin-top:12px;font-size:8px}
}


/* BREW FRAME 2.3.2 — prevent category labels being clipped/overlapped on tablet and landscape */
@media (max-width: 1100px) {
  .category-section .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(14px, 2.4vw, 24px);
    row-gap: clamp(28px, 4vw, 42px);
    align-items: start;
  }
  .category-section .category-grid > .category-card {
    display: block !important;
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    align-self: start;
  }
  .category-section .category-grid > .category-card .category-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.28 / 1;
    overflow: hidden;
  }
  .category-section .category-grid > .category-card .category-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .category-section .category-grid > .category-card .category-label {
    position: relative !important;
    display: flex !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 2px 0 !important;
    align-items: center;
    gap: 8px;
    overflow: visible !important;
    background: transparent !important;
    z-index: 1;
  }
  .category-section .category-grid > .category-card .category-label strong {
    position: static !important;
    display: block;
    flex: 0 0 auto;
    font-size: clamp(18px, 3vw, 27px);
    line-height: 1.2;
    white-space: nowrap;
  }
  .category-section .category-grid > .category-card .category-rule {
    display: block;
    flex: 1 1 auto;
    min-width: 10px;
  }
  .category-section .category-grid > .category-card .category-arrow {
    display: block;
    flex: 0 0 auto;
    line-height: 1;
  }
}

@media (max-width: 600px) {
  .category-section .category-grid {
    row-gap: 30px;
    column-gap: 12px;
  }
  .category-section .category-grid > .category-card .category-photo {
    aspect-ratio: 1.12 / 1;
  }
  .category-section .category-grid > .category-card .category-label {
    padding-top: 8px !important;
    gap: 6px;
  }
  .category-section .category-grid > .category-card .category-label strong {
    font-size: clamp(15px, 4.1vw, 21px);
  }
  .category-section .category-grid > .category-card .category-arrow {
    font-size: 19px;
  }
}


/* BREW FRAME 2.3.3 — consistent Japanese serif metrics in headings */
.bf-entry-content h2,
.bf-entry-content h3,
.bf-page-content h2,
.bf-page-content h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", Georgia, serif !important;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
}
