:root {
  --cpt-forest: #304b18;
  --cpt-forest-deep: #1e3310;
  --cpt-leaf: #5e7f2b;
  --cpt-blue: #21658c;
  --cpt-tomato: #d95132;
  --cpt-paper: #fffdf8;
  --cpt-ink: #20241e;
  --cpt-muted: #62685d;
  --cpt-line: #ded9cd;
  --cpt-shadow: 0 18px 50px rgba(31, 45, 18, .11);
}

body.cpt-portada-page,
body.cpt-recipe-page,
body.cpt-archive-page {
  margin: 0;
  background: var(--cpt-paper);
  color: var(--cpt-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.cpt-portada-page *, .cpt-portada-page *::before, .cpt-portada-page *::after,
.cpt-recipe-page *, .cpt-recipe-page *::before, .cpt-recipe-page *::after,
.cpt-archive-page *, .cpt-archive-page *::before, .cpt-archive-page *::after { box-sizing: border-box; }
.cpt-portada-page img, .cpt-recipe-page img, .cpt-archive-page img { display: block; max-width: 100%; }
.cpt-portada-page .cpt-wrap, .cpt-recipe-page .cpt-wrap, .cpt-archive-page .cpt-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.cpt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cpt-skip-link { position: fixed; left: 16px; top: -80px; z-index: 100000; padding: 10px 16px; border-radius: 8px; background: #fff; color: #111; font-weight: 700; }
.cpt-skip-link:focus { top: 16px; }

.cpt-header {
  position: sticky;
  top: 0;
  z-index: 999;
  color: #fff;
  background: rgba(30, 51, 16, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.admin-bar .cpt-header { top: 32px; }
.cpt-header-inner { width: min(1240px, calc(100% - 40px)); min-height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cpt-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff !important; text-decoration: none !important; }
.cpt-brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: var(--cpt-forest-deep); background: #f6c95d; box-shadow: inset 0 0 0 3px rgba(255,255,255,.45); font: 800 1.65rem/1 Georgia, serif; }
.cpt-brand-copy { display: grid; line-height: 1; }
.cpt-brand-copy strong { font: italic 700 1.5rem/1 Georgia, serif; }
.cpt-brand-copy small { margin-top: 5px; font-size: .58rem; font-weight: 800; letter-spacing: .24em; }
.cpt-main-nav { display: flex; align-items: center; gap: 7px; }
.cpt-main-nav a { padding: 9px 12px; border-radius: 999px; color: rgba(255,255,255,.78) !important; text-decoration: none !important; font-size: .92rem; font-weight: 650; transition: .2s ease; }
.cpt-main-nav a:hover, .cpt-main-nav a:focus-visible, .cpt-main-nav a.is-active { color: #fff !important; background: rgba(255,255,255,.12); outline: none; }
.cpt-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; box-shadow: none; }
.cpt-menu-toggle span:not(.cpt-sr-only) { display: block; height: 2px; margin: 4px 0; background: #fff; }

.cpt-home { overflow: hidden; background: var(--cpt-paper); }
.cpt-intro { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 70px; padding-block: 74px 45px; border-bottom: 1px solid var(--cpt-line); }
.cpt-eyebrow { margin: 0 0 16px; color: var(--cpt-tomato); font-size: .75rem; font-weight: 800; letter-spacing: .18em; }
.cpt-home h1, .cpt-home h2, .cpt-home h3 { color: inherit; font-family: Georgia, "Times New Roman", serif; text-wrap: balance; }
.cpt-home h1 { max-width: 780px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.045em; }
.cpt-intro-copy { max-width: 440px; margin: 0 0 6px; color: var(--cpt-muted); font-size: 1.08rem; }

.cpt-recipes { padding-block: 42px 90px; }
.cpt-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.cpt-section-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
.cpt-text-link { color: var(--cpt-forest) !important; font-weight: 750; text-underline-offset: 4px; }
.cpt-recipe-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cpt-recipe-card { min-width: 0; overflow: hidden; margin: 0; background: #fff; border: 1px solid var(--cpt-line); border-radius: 4px 4px 18px 4px; box-shadow: 0 8px 28px rgba(35,44,28,.06); transition: transform .25s ease, box-shadow .25s ease; }
.cpt-recipe-card:hover { transform: translateY(-5px); box-shadow: var(--cpt-shadow); }
.cpt-recipe-image { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: #e7e3d8; text-decoration: none !important; }
.cpt-recipe-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.cpt-recipe-card:hover .cpt-recipe-image img { transform: scale(1.035); }
.cpt-image-fallback { width: 100%; height: 100%; display: grid; place-items: center; padding: 30px; color: var(--cpt-forest); background: linear-gradient(145deg, #e6ecd8, #d8e1c2); text-align: center; font: 700 1.2rem/1.3 Georgia, serif; }
.cpt-category { position: absolute; left: 15px; bottom: 15px; padding: 6px 10px; color: #fff; background: rgba(30,51,16,.9); border-radius: 999px; font-size: .72rem; font-weight: 750; letter-spacing: .02em; }
.cpt-recipe-content { padding: 20px 21px 22px; }
.cpt-recipe-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 10px; color: var(--cpt-leaf); font-size: .73rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.cpt-recipe-meta span + span::before { content: "·"; margin-right: 14px; color: #a8ad9e; }
.cpt-recipe-content h3 { min-height: 2.35em; margin: 0 0 10px; font-size: 1.42rem; line-height: 1.17; }
.cpt-recipe-content h3 a { color: var(--cpt-ink) !important; text-decoration: none !important; }
.cpt-recipe-content h3 a:hover { color: var(--cpt-blue) !important; }
.cpt-recipe-content > p:not(.cpt-recipe-meta) { min-height: 4.8em; margin: 0 0 18px; color: var(--cpt-muted); font-size: .94rem; line-height: 1.55; }
.cpt-recipe-link { display: inline-flex; gap: 8px; color: var(--cpt-forest) !important; font-size: .9rem; font-weight: 800; text-decoration: none !important; }
.cpt-recipe-link:hover { color: var(--cpt-tomato) !important; }
.cpt-empty { grid-column: 1/-1; padding: 40px; border: 1px dashed var(--cpt-line); text-align: center; }

/* Categorías y archivo de todas las recetas */
.cpt-archive { min-height: 70vh; padding: 62px 0 90px; overflow: hidden; background: var(--cpt-paper); }
.cpt-archive-header { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 60px; margin-bottom: 38px; padding-bottom: 36px; border-bottom: 1px solid var(--cpt-line); }
.cpt-archive-header h1 { margin: 0; color: var(--cpt-ink); font: 700 clamp(2.7rem, 6vw, 5rem)/1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; text-wrap: balance; }
.cpt-archive-description, .cpt-archive-description p { margin: 0; color: var(--cpt-muted); font-size: 1.04rem; line-height: 1.7; }
.cpt-archive-count { margin: 13px 0 0; color: var(--cpt-leaf); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cpt-pagination { margin-top: 42px; }
.cpt-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cpt-pagination .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--cpt-line); border-radius: 999px; color: var(--cpt-forest) !important; background: #fff; font-weight: 800; text-decoration: none !important; }
.cpt-pagination .page-numbers:hover, .cpt-pagination .page-numbers:focus-visible, .cpt-pagination .page-numbers.current { color: #fff !important; background: var(--cpt-forest); border-color: var(--cpt-forest); }

.cpt-about { position: relative; overflow: hidden; color: #fff; background: var(--cpt-forest-deep); }
.cpt-about::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 40%; opacity: .15; background: radial-gradient(circle at 30% 20%, #f6c95d 0 2px, transparent 3px) 0 0/24px 24px; }
.cpt-about-inner { position: relative; display: grid; grid-template-columns: .82fr 1.05fr .58fr; align-items: center; gap: clamp(35px, 6vw, 80px); padding-block: 96px; }
.cpt-portrait-wrap { position: relative; }
.cpt-portrait-wrap::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid #f6c95d; border-radius: 50% 50% 8px 50%; }
.cpt-portrait-wrap img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 8px 50%; filter: saturate(.9) contrast(1.04); }
.cpt-portrait-note { position: absolute; right: -16px; bottom: 24px; z-index: 2; padding: 8px 13px; color: var(--cpt-forest-deep); background: #f6c95d; font-size: .75rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.cpt-eyebrow-light { color: #f6c95d; }
.cpt-about-copy h2 { margin: 0 0 14px; color: #fff; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.035em; }
.cpt-about-copy p { margin: 0 0 16px; color: rgba(255,255,255,.74); }
.cpt-about-copy .cpt-about-lead { color: #fff; font: 1.35rem/1.45 Georgia, serif; }
.cpt-about-link { display: inline-flex; gap: 8px; margin-top: 15px; color: #fff !important; font-weight: 800; text-decoration-color: #f6c95d !important; text-decoration-thickness: 2px !important; text-underline-offset: 6px; }
.cpt-about blockquote { margin: 0; padding: 26px 0 26px 24px; border: 0; border-left: 1px solid rgba(255,255,255,.3); background: transparent !important; box-shadow: none !important; }
.cpt-about blockquote p { margin: 0 0 12px; color: #fff; font: italic 1.55rem/1.35 Georgia, serif; }
.cpt-about blockquote cite { color: rgba(255,255,255,.55); font-size: .76rem; font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

.cpt-footer { background: #14230a; color: #fff; }
.cpt-footer,
.cpt-footer p,
.cpt-footer a,
.cpt-footer .cpt-footer-brand,
.cpt-footer .cpt-copyright { color: #fff !important; }
.cpt-footer-inner { min-height: 170px; display: grid; grid-template-columns: 1fr; align-items: center; justify-items: center; gap: 18px; padding-block: 34px; text-align: center; }
.cpt-footer-brand { color: #fff !important; font: italic 700 1.45rem Georgia, serif; text-decoration: none !important; }
.cpt-footer-inner p { margin: 5px 0 0; font-size: .85rem; }
.cpt-footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.cpt-footer-inner nav a { color: #fff !important; font-size: .83rem; text-underline-offset: 4px; }
.cpt-copyright { width: 100%; grid-column: 1/-1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }

/* Entrada individual */
.cpt-recipe-page { background: var(--cpt-paper); color: var(--cpt-ink); }
.cpt-single { min-height: 70vh; padding: 58px 0 88px; background: var(--cpt-paper); }
.cpt-article-wrap { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.cpt-wide-wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }
body.cpt-recipe-page .cpt-single .cpt-article {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}
body.cpt-recipe-page .cpt-article .cpt-article-wrap {
  display: block !important;
  float: none !important;
  width: min(820px, calc(100% - 40px)) !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  grid-column: auto !important;
}
body.cpt-recipe-page .cpt-article .cpt-featured-image {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: min(1080px, calc(100% - 40px)) !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.cpt-recipe-page .cpt-featured-image img { margin-left: auto !important; margin-right: auto !important; }
body.cpt-recipe-page .cpt-footer-inner {
  float: none !important;
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cpt-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: var(--cpt-muted); font-size: .82rem; }
.cpt-breadcrumbs a { color: var(--cpt-forest) !important; text-decoration: none !important; }
.cpt-breadcrumbs a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.cpt-article-header { margin-bottom: 34px; }
.cpt-article-header .cpt-eyebrow { margin-bottom: 13px; }
.cpt-article-header h1 { max-width: 800px; margin: 0 0 20px; color: var(--cpt-ink); font: 700 clamp(2.5rem, 6vw, 5rem)/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.cpt-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--cpt-muted); font-size: .88rem; }
.cpt-byline span:first-child { color: var(--cpt-forest); font-weight: 800; }
.cpt-featured-image { overflow: hidden; margin-top: 0; margin-bottom: 44px; border-radius: 5px 5px 26px 5px; box-shadow: var(--cpt-shadow); }
.cpt-featured-image img { width: 100%; max-height: 720px; object-fit: cover; }
.cpt-entry-content { color: #30352d; font-size: 1.09rem; line-height: 1.82; }
.cpt-entry-content > * { max-width: 100%; }
.cpt-entry-content > p:first-child { color: #3c4437; font: 1.3rem/1.68 Georgia, serif; }
.cpt-entry-content h2, .cpt-entry-content h3, .cpt-entry-content h4 { margin: 2.2em 0 .7em; color: var(--cpt-ink); font-family: Georgia, "Times New Roman", serif; line-height: 1.14; letter-spacing: -.025em; }
.cpt-entry-content h2 { padding-bottom: 12px; border-bottom: 1px solid var(--cpt-line); font-size: clamp(1.8rem, 4vw, 2.45rem); }
.cpt-entry-content h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.cpt-entry-content a { color: var(--cpt-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cpt-entry-content ul, .cpt-entry-content ol { margin-block: 1.25em; padding-left: 1.35em; }
.cpt-entry-content li { margin-bottom: .72em; padding-left: .3em; }
.cpt-entry-content li::marker { color: var(--cpt-leaf); font-weight: 800; }
.cpt-entry-content blockquote { margin: 2em 0; padding: 24px 28px; border: 0; border-left: 5px solid #f6c95d; background: #eef2e7; color: var(--cpt-forest-deep); font: 1.2rem/1.6 Georgia, serif; }
.cpt-entry-content img { height: auto; border-radius: 4px; }
.cpt-entry-content table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-size: .96rem; }
.cpt-entry-content th, .cpt-entry-content td { padding: 12px 14px; border: 1px solid var(--cpt-line); text-align: left; }
.cpt-entry-content th { background: #e9efde; color: var(--cpt-forest-deep); }
.cpt-entry-content hr { margin: 3em 0; border: 0; border-top: 1px solid var(--cpt-line); }
.cpt-article-footer { margin-top: 55px; padding-top: 30px; border-top: 1px solid var(--cpt-line); }
.cpt-author-card { display: flex; align-items: center; gap: 16px; padding: 20px; background: #eef2e7; border-radius: 4px 4px 16px 4px; }
.cpt-author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.cpt-author-card span, .cpt-author-card strong { display: block; }
.cpt-author-card span { color: var(--cpt-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cpt-author-card strong { color: var(--cpt-forest-deep); font: 700 1.25rem Georgia, serif; }
.cpt-comments { margin-top: 48px; }
.cpt-comments h2, .cpt-comments h3 { color: var(--cpt-ink); font-family: Georgia, serif; }
.cpt-comments input:not([type="submit"]), .cpt-comments textarea { width: 100%; padding: 12px; border: 1px solid var(--cpt-line); border-radius: 4px; background: #fff; }
.cpt-comments input[type="submit"] { padding: 12px 20px; border: 0; border-radius: 999px; background: var(--cpt-forest); color: #fff; font-weight: 800; cursor: pointer; }

.cpt-portada-page :focus-visible, .cpt-recipe-page :focus-visible, .cpt-archive-page :focus-visible { outline: 3px solid #f6c95d; outline-offset: 3px; }

@media (max-width: 920px) {
  .cpt-menu-toggle { display: block; }
  .cpt-main-nav { position: absolute; inset: 82px 20px auto; display: none; align-items: stretch; padding: 12px; background: var(--cpt-forest-deep); border: 1px solid rgba(255,255,255,.14); border-radius: 0 0 14px 14px; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
  .cpt-main-nav.is-open { display: grid; }
  .cpt-main-nav a { padding: 12px 14px; border-radius: 8px; }
  .cpt-intro { grid-template-columns: 1fr; gap: 22px; padding-top: 56px; }
  .cpt-archive-header { grid-template-columns: 1fr; gap: 18px; }
  .cpt-recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpt-about-inner { grid-template-columns: .75fr 1.25fr; }
  .cpt-about blockquote { grid-column: 1/-1; }
}

@media (max-width: 782px) { .admin-bar .cpt-header { top: 46px; } }

@media (max-width: 620px) {
  .cpt-portada-page .cpt-wrap, .cpt-recipe-page .cpt-wrap, .cpt-archive-page .cpt-wrap, .cpt-header-inner { width: min(100% - 28px, 1180px); }
  .cpt-header-inner { min-height: 72px; }
  .cpt-main-nav { inset: 72px 14px auto; }
  .cpt-brand-mark { width: 40px; height: 40px; }
  .cpt-brand-copy strong { font-size: 1.3rem; }
  .cpt-intro { padding-block: 46px 31px; }
  .cpt-home h1 { font-size: clamp(2.45rem, 13vw, 3.75rem); }
  .cpt-recipes { padding-block: 30px 62px; }
  .cpt-archive { padding-block: 42px 64px; }
  .cpt-archive-header { margin-bottom: 26px; padding-bottom: 28px; }
  .cpt-archive-header h1 { font-size: clamp(2.4rem, 13vw, 3.7rem); }
  .cpt-recipe-grid { grid-template-columns: 1fr; gap: 18px; }
  .cpt-recipe-content h3, .cpt-recipe-content > p:not(.cpt-recipe-meta) { min-height: 0; }
  .cpt-about-inner { grid-template-columns: 1fr; padding-block: 70px; }
  .cpt-portrait-wrap { width: min(78vw, 350px); }
  .cpt-about blockquote { grid-column: auto; }
  .cpt-footer-inner { grid-template-columns: 1fr; }
  .cpt-footer-inner nav { justify-content: center; }
  .cpt-copyright { grid-column: auto; }
  .cpt-single { padding-top: 38px; }
  .cpt-article-wrap, .cpt-wide-wrap { width: min(100% - 28px, 820px); }
  .cpt-article-header h1 { font-size: clamp(2.2rem, 12vw, 3.5rem); }
  .cpt-featured-image { margin-bottom: 30px; border-radius: 3px 3px 18px 3px; }
  .cpt-entry-content { font-size: 1rem; line-height: 1.72; }
}

@media (prefers-reduced-motion: reduce) {
  .cpt-portada-page *, .cpt-portada-page *::before, .cpt-portada-page *::after,
  .cpt-recipe-page *, .cpt-recipe-page *::before, .cpt-recipe-page *::after,
  .cpt-archive-page *, .cpt-archive-page *::before, .cpt-archive-page *::after { transition-duration: .01ms !important; }
}
