@charset "UTF-8";
/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #069494;
  text-decoration: none;
}
a:visited {
  color: rgb(3.0194805195, 74.4805194805, 74.4805194805);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #828282;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(62.9, 62.9, 62.9);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(247.3, 247.3, 247.3);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(239.65, 239.65, 239.65);
  border: 1px solid rgb(221.8, 221.8, 221.8);
  border-bottom-color: rgb(201.4, 201.4, 201.4);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(66.25, 66.25, 66.25);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(66.25, 66.25, 66.25);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(66.25, 66.25, 66.25);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

/* ---- Background vs. post: tinted page, content as a centered white card ---- */
body {
  background-color: #ebeeee;
}

/* ---- Header: a white bar with an accent edge + shadow, so it has presence
        above the tinted feed (minima's default is just a hairline border) ---- */
.site-header {
  background: #fff;
  border-top: 4px solid #069494; /* the accent line; the full-height active tab blends into it */
  border-bottom: none;
  /* tight, negative-spread shadow: sits just below the bar instead of bleeding a
     soft gradient that clashes with the tab's crisp bottom edge */
  box-shadow: 0 3px 5px -3px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.4em;
}

.site-title, .site-title:visited {
  color: #434a54;
  font-weight: 600;
}

.site-title:hover {
  color: #069494;
  text-decoration: none;
}

.site-nav .page-link, .site-nav .page-link:visited {
  color: #434a54;
  text-decoration: none;
}

.site-nav .page-link:hover {
  color: #057a7a;
  background: rgba(6, 148, 148, 0.12);
  text-decoration: none;
}

.site-nav .page-link.active, .site-nav .page-link.active:visited {
  background: #069494;
  color: #fff;
}

.site-nav .page-link.active:hover {
  color: #fff;
  background: #069494;
}

/* Desktop: lay the header out with flexbox so the active nav item is a
   full-height teal tab (minima's float layout can't fill the bar height).
   Mobile (<=600px) keeps minima's hamburger dropdown untouched. */
@media (min-width: 601px) {
  .site-header {
    min-height: 0;
  } /* let the wrapper define the bar height — no sliver below the tab */
  .site-header .wrapper {
    display: flex;
    align-items: stretch;
    min-height: 56px;
  }
  .site-title {
    float: none;
    display: inline-flex;
    align-items: center;
  }
  .site-nav {
    float: none;
    margin-left: auto;
    line-height: normal;
    display: flex;
    align-items: stretch;
  }
  .site-nav .trigger {
    display: flex;
    align-items: stretch;
  }
  .site-nav .page-link {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 1em;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}
.page-content {
  padding: 0;
}

.page-content > .wrapper {
  background: #fff;
  padding: 2em 2.5em 2.5em;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  margin-top: 1.6em;
  margin-bottom: 2em;
}

@media (max-width: 600px) {
  .page-content > .wrapper {
    padding: 1.1em 1.2em 1.4em;
  }
}
/* The article index AND the recipe index are stacks of cards on the tinted
   background — no white card behind them, so the background separates each card
   (like the old blog). */
.page-content > .wrapper:has(> .home),
.page-content > .wrapper:has(> .recipe-index) {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* ---- Justified body text: hyphenation (needs <html lang>, which is fr here)
        tightens the inter-word gaps justification would otherwise stretch ---- */
.post-content {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 2; /* don't hyphenate very short words / tiny fragments */
  overflow-wrap: break-word;
}

.post-content p {
  margin-bottom: 1.4em;
  text-indent: 1.6em;
}

/* Lettrine: a large initial on the article's very first paragraph only (no indent
   there, and never on dialogue paragraphs further down). */
.post:not(.recipe) .post-content > p:first-of-type {
  text-indent: 0;
}

.post:not(.recipe) .post-content > p:first-of-type::first-letter {
  float: left;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #069494;
  font-size: 3.6em;
  line-height: 0.72;
  margin: 0.02em 0.1em 0 0;
}

/* more breathing room above section headings */
.post-content h1 {
  margin-top: 1.9em;
}

.post-content h2 {
  margin-top: 1.7em;
}

.post-content h3 {
  margin-top: 1.3em;
}

/* ---- Floated, bordered caption boxes ---- */
.caption-wrapper {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 0.8em;
  background: #fff;
  border: #fff 0.5em solid;
  border-radius: 0.3em;
  box-shadow: rgba(0, 0, 0, 0.15) 0 1px 4px;
  box-sizing: border-box;
}
.caption-wrapper.left {
  float: left;
  margin-right: 1.5em;
}
.caption-wrapper.right {
  float: right;
  margin-left: 1.5em;
}
.caption-wrapper.center {
  display: table;
  margin: 0 auto 1.5em;
}
.caption-wrapper { /* shrink-wrap the border to the image, centered */ }
.caption-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.caption-wrapper .caption-text {
  display: block;
  background: #fff;
  text-align: center;
  font-size: 0.8em;
  color: #666;
  padding-top: 0.4em;
}

/* ---- Article index: full-width rectangular cards, separated by the background ---- */
.post-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin: 1.6em 0 2em;
}

.post-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 170px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.post-card:hover {
  box-shadow: 0 10px 26px rgba(6, 148, 148, 0.22);
  transform: translateY(-2px);
}

.post-card .post-card-img {
  flex: 0 0 230px;
  background-size: cover;
  background-position: center;
}

.post-card .post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.2em 1.6em;
}

.post-card .post-meta {
  font-size: 0.78em;
  margin: 0;
}

.post-card .post-card-title {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.25;
  color: #434a54;
  margin: 0.15em 0 0.5em;
}

.post-card .post-excerpt {
  text-align: left;
  font-size: 0.92em;
  color: #555;
  line-height: 1.5;
}

.post-card .post-readmore {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.6em;
  color: #069494;
  font-weight: bold;
  font-size: 0.85em;
}

@media (max-width: 600px) {
  .post-card {
    flex-direction: column;
  }
  .post-card .post-card-img {
    flex: none;
    height: 170px;
  }
}
/* ---- Article tags (on the post detail page) ---- */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 2em;
  padding-top: 1.2em;
  border-top: 1px solid #e0e6e6;
}

.post-tag {
  display: inline-block;
  padding: 0.2em 0.8em;
  border-radius: 2em;
  font-size: 0.8em;
  background: rgba(6, 148, 148, 0.1);
  color: #057a7a;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.post-tag::before {
  content: "#";
  opacity: 0.6;
}

.post-tag:hover {
  background: rgba(6, 148, 148, 0.22);
}

/* Tags index — a cloud of clickable chips with a post-count badge */
.tags-intro {
  color: #777;
  margin-top: -0.4em;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7em;
  margin: 1.4em 0 1em;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 0.5em 0.35em 0.95em;
  border-radius: 2em;
  background: rgba(6, 148, 148, 0.1);
  color: #057a7a;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.tag-chip:hover {
  background: rgba(6, 148, 148, 0.22);
  transform: translateY(-1px);
}

.tag-chip .tag-count {
  background: #069494;
  color: #fff;
  border-radius: 1em;
  font-size: 0.72em;
  padding: 0.1em 0.55em;
}

.tags-back {
  margin-top: 1.6em;
}

.tags-back a {
  color: #069494;
  font-weight: 600;
  text-decoration: none;
}

.tags-back a:hover {
  text-decoration: underline;
}

/* ---- Footer: clean, centered, mirrors the header (accent line + tight shadow) ---- */
.site-footer {
  border-top: 4px solid #069494;
  background: #fff;
  text-align: center;
  padding: 1.9em 0 1.7em;
  margin-top: 2.5em;
  box-shadow: 0 -3px 5px -3px rgba(0, 0, 0, 0.18);
}

.site-footer .footer-title {
  font-weight: 700;
  color: #434a54;
  font-size: 1.12em;
  margin: 0 0 0.25em;
}

.site-footer .footer-desc {
  color: #888;
  font-style: italic;
  margin: 0 0 1em;
}

.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 1.4em;
  margin-bottom: 0.9em;
}

.site-footer .footer-nav a {
  color: #069494;
  font-weight: 600;
  text-decoration: none;
}

.site-footer .footer-nav a:hover {
  text-decoration: underline;
}

.site-footer .footer-copy {
  color: #aaa;
  font-size: 0.8em;
  margin: 0;
}

.site-footer .footer-copy a {
  color: #888;
}

/* ---- Page banner (recipes + articles): bleeds to the card edges, title at the bottom.
        Articles get a random abstract image; recipes get the food banner. ---- */
.page-banner {
  position: relative;
  margin: -2em -2.5em 2em;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.recipe-banner {
  min-height: 320px;
  margin-bottom: 2.8em;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.72) 100%);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 1.4em 1.5em;
  max-width: 92%;
}

.page-banner .banner-title {
  color: #fff;
  margin: 0 0 0.4em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

@media (max-width: 600px) {
  .page-banner {
    margin: -1.1em -1.2em 1.4em;
    min-height: 200px;
  }
}
/* Banner pills — shared by recipe prep/cook times and article date/reading-time */
.recipe-times, .banner-pills {
  margin: 0;
  font-size: 0.8em;
}

.recipe-times .recipe-time, .banner-pills .banner-pill {
  display: inline-block;
  margin: 0 0.25em 0.3em;
  padding: 0.18em 0.8em;
  background: rgba(255, 255, 255, 0.94);
  color: #434a54;
  border-radius: 1em;
  white-space: nowrap;
}

.recipe-times .recipe-time i, .banner-pills .banner-pill i {
  margin-right: 0.4em;
  color: #069494;
}

/* ---- Recipe ingredients box: floats right and bleeds well past the card edge,
        recipe text flowing to its left (as the original blog) ---- */
.recipe-ingredients {
  float: right;
  width: 40%;
  margin: 0.3em -4.5em 1.2em 1.8em;
  padding: 0.25em 1.5em 1.1em;
  background-color: #434a54;
  color: #fff;
  border-radius: 0.4em;
  box-shadow: rgba(0, 0, 0, 0.22) 0 2px 8px;
}

.recipe-ingredients h3 {
  margin-top: 0.6em;
  color: #fff;
}

.recipe-ingredients ul {
  margin: 0;
  padding-left: 1.2em;
}

.recipe-ingredients li {
  margin-bottom: 0.3em;
}

@media (max-width: 800px) {
  .recipe-ingredients {
    float: none;
    width: auto;
    margin: 0 0 1.2em;
  }
}
/* ---- Recettes landing: a square card per meal category ---- */
.recipe-cat-squares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5em;
  margin: 1.6em 0 2em;
}

.recipe-cat-square {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.recipe-cat-square:hover {
  box-shadow: 0 12px 28px rgba(6, 148, 148, 0.28);
  transform: translateY(-3px);
}

.recipe-cat-square-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.recipe-cat-square:hover .recipe-cat-square-img {
  transform: scale(1.06);
}

.recipe-cat-square::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(4, 60, 60, 0.62));
}

.recipe-cat-square-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.7em;
  font-weight: bold;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

/* ---- Category page: button row (direct selection) + the recipe heading ---- */
.recipe-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
  margin: 1.6em 0 1.6em;
}

.recipe-cat-btn {
  display: inline-block;
  padding: 0.4em 1.15em;
  border-radius: 2em;
  background: #fff;
  color: #434a54;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.recipe-cat-btn:hover {
  color: #069494;
  box-shadow: 0 2px 8px rgba(6, 148, 148, 0.25);
}

.recipe-cat-btn.active {
  background: #069494;
  color: #fff;
  box-shadow: 0 2px 8px rgba(6, 148, 148, 0.4);
}

.recipe-cat-heading {
  font-size: 1.5em;
  margin: 0 0 0.9em;
  padding: 0 0 0.3em;
  color: #434a54;
  border-bottom: 3px solid #069494;
}

/* ---- Recipe cards: same full-width floating rectangles as the home feed ---- */
.recipe-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.recipe-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 150px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.recipe-card:hover {
  box-shadow: 0 10px 26px rgba(6, 148, 148, 0.22);
  transform: translateY(-2px);
}

.recipe-card .recipe-card-img {
  flex: 0 0 230px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-card-img {
  transform: scale(1.04);
}

.recipe-card .recipe-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1em 1.6em;
}

.recipe-card .recipe-card-meta {
  font-size: 0.78em;
  color: #777;
  margin-bottom: 0.4em;
}

.recipe-card .recipe-card-meta i {
  color: #069494;
  margin-right: 0.25em;
}

.recipe-card .recipe-card-title {
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.25;
  color: #434a54;
}

@media (max-width: 600px) {
  .recipe-card {
    flex-direction: column;
  }
  .recipe-card .recipe-card-img {
    flex: none;
    height: 160px;
  }
}
/* ============================ Critiques ============================ */
/* Section index tiles reuse .recipe-cat-square; add an icon + count badge. */
.critique-intro {
  margin: 0.4em 0 1.4em;
  color: #434a54;
  font-size: 1.02em;
}

.recipe-cat-square-label i {
  margin-right: 0.35em;
  opacity: 0.95;
}

.recipe-cat-square-label .cat-count {
  display: inline-block;
  margin-left: 0.55em;
  background: #069494;
  color: #fff;
  border-radius: 1em;
  font-size: 0.55em;
  font-weight: bold;
  padding: 0.15em 0.6em;
  vertical-align: middle;
}

/* ---- Detail banner: cover poster + heading, blurred-cover backdrop ---- */
.critique-banner {
  min-height: 300px;
  background: #434a54;
}

.critique-banner::before {
  background: rgba(4, 40, 46, 0.58);
  -webkit-backdrop-filter: blur(20px) brightness(0.85);
  backdrop-filter: blur(20px) brightness(0.85);
}

.critique-banner-inner {
  display: flex;
  align-items: flex-end;
  gap: 1.5em;
  text-align: left;
  width: 100%;
  max-width: 760px;
}

.critique-cover {
  flex: 0 0 150px;
  width: 150px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
  display: block;
}

.critique-head {
  flex: 1;
  min-width: 0;
}

.critique-head .banner-title {
  margin: 0 0 0.25em;
  line-height: 1.15;
}

.critique-year {
  font-weight: normal;
  opacity: 0.85;
  font-size: 0.7em;
}

.critique-subtitle {
  color: #fff;
  font-style: italic;
  font-size: 1.05em;
  margin: 0 0 0.7em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

/* Rating pill: gold, with a colour shift by score (red→green via score class). */
.banner-pill.rating-pill {
  background: #f6c945;
  color: #3a2e00;
  font-weight: bold;
}

.banner-pill.rating-pill i {
  color: #b8860b;
}

.rating-pill .den {
  opacity: 0.7;
  font-weight: normal;
}

@media (max-width: 600px) {
  .critique-banner-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9em;
  }
  .critique-cover {
    flex-basis: 120px;
    width: 120px;
  }
}
/* ---- Critique list cards (category pages): poster + body + rating badge ---- */
.critique-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}

.critique-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 148, 148, 0.13);
  transition: box-shadow 0.2s, transform 0.2s;
}

.critique-card:hover {
  box-shadow: 0 10px 26px rgba(6, 148, 148, 0.22);
  transform: translateY(-2px);
}

.critique-card-cover {
  flex: 0 0 92px;
  background-size: cover;
  background-position: center;
}

.critique-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.9em 1.2em;
  min-width: 0;
}

.critique-card-title {
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.2;
  color: #434a54;
}

.critique-card-year {
  font-weight: normal;
  color: #888;
  font-size: 0.85em;
}

.critique-card-sub {
  font-style: italic;
  color: #666;
  font-size: 0.92em;
  margin: 0.2em 0;
}

.critique-card-meta {
  font-size: 0.78em;
  color: #777;
  margin-top: 0.25em;
}

.critique-card-meta i {
  color: #069494;
  margin-right: 0.25em;
}

.critique-card-type {
  margin-right: 0.9em;
}

.critique-rating {
  align-self: center;
  flex: 0 0 auto;
  margin: 0 1.1em;
  padding: 0.35em 0.55em;
  background: #f3f6f6;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.15em;
  color: #057a7a;
}

.critique-rating .den {
  font-size: 0.6em;
  color: #aaa;
  font-weight: normal;
}

@media (max-width: 600px) {
  .critique-card-cover {
    flex-basis: 70px;
  }
  .critique-rating {
    margin: 0 0.6em;
    font-size: 1em;
  }
}
/* Home-feed card for a critique: the cover is a poster, so don't crop it landscape. */
.post-card-critique .post-card-img {
  flex: 0 0 130px;
  background-size: cover;
  background-position: top center;
}

@media (max-width: 600px) {
  .post-card-critique .post-card-img {
    flex: none;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #1f2a2a;
  }
}
/* ---- Detail footer: source link + back ---- */
.critique-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.6em;
  padding-top: 1em;
  border-top: 1px solid #e3e8e8;
}

.critique-source, .critique-back {
  color: #069494;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
}

.critique-source:hover, .critique-back:hover {
  color: #057a7a;
}

/* Critique bodies: no first-line indent / lettrine — they read as short notes. */
.critique-post .post-content p {
  text-indent: 0;
}

.critique-post .post-content blockquote {
  font-style: italic;
}