/* ============================================================
   GuruWalk blog — POST (single article) stylesheet.
   Ported from the accepted mockup (design source of truth):
     projects/blog-redesign/mockups/post/blog-mockup-post-es.html
     + projects/blog-redesign/mockups/shared/guruwalk-blog.css
   Loaded ONLY on single posts, alongside the site-wide header
   (assets/css/chrome.css). The trailing "WordPress integration
   layer" maps real post content into the design system and
   re-asserts the brand against the theme's global-styles.
   ============================================================ */

:root{
  --highlight-100:rgba(255,92,97,.20);
  --coral:hsl(358 100% 68%);          /* #FF5C61 highlight-400 */
  --coral-hover:#C92A30;
  --coral-tint:#FFF1F1;
  --primary:#1C1917;                  /* warm black */
  --primary-hover:#110F0F;
  --fill-100:#FFFFFF;
  --fill-200:#FAFAFA;
  --fill-300:#F6F5F4;
  --stroke-100:#EEEDEC;
  --stroke-200:#E1E0DF;
  --stroke-400:#CECBCA;
  --text-600:#110F0F;
  --text-500:rgba(17,15,15,.70);
  --text-400:rgba(17,15,15,.45);
  --radius:14px;
  --radius-lg:20px;
  --radius-pill:999px;
  --shadow-1:0 1px 2px rgba(28,16,15,.06), 0 1px 1px rgba(28,16,15,.04);
  --shadow-2:0 4px 14px rgba(28,16,15,.08), 0 2px 4px rgba(28,16,15,.05);
  --shadow-3:0 12px 32px rgba(28,16,15,.12), 0 4px 10px rgba(28,16,15,.06);
  --container:1200px;
  --prose:720px;
  --ease-out:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Nunito',system-ui,-apple-system,sans-serif;color:var(--text-600);background:var(--fill-100);line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,h4{overflow-wrap:break-word}
.wrap{max-width:var(--container);margin:0 auto;padding:0 24px}

/* --- atoms --- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--coral)}
.eyebrow::before{content:"";width:26px;height:0;border-top:2px dashed var(--coral);opacity:.7}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;font-weight:800;font-size:15px;border-radius:var(--radius-pill);border:1.5px solid transparent;padding:13px 22px;cursor:pointer;transition:.18s var(--ease-out);white-space:nowrap}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-hover);transform:translateY(-1px)}
.btn-coral{background:var(--coral);color:#fff;box-shadow:0 6px 18px rgba(255,92,97,.32)}
.btn-coral:hover{background:var(--coral-hover);transform:translateY(-1px)}
.btn-ghost{background:transparent;border-color:var(--stroke-400);color:var(--text-600)}
.btn-ghost:hover{background:var(--fill-300);border-color:var(--text-600)}
.btn-sm{padding:9px 16px;font-size:13.5px}
.badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:5px 11px;border-radius:var(--radius-pill);background:rgba(255,255,255,.92);color:var(--primary);box-shadow:var(--shadow-1)}
.badge-coral{background:var(--coral);color:#fff}

/* canonical logo lockup (used in the footer) */
.brandlock{display:flex;align-items:center;gap:9px}
.brand-icon{height:30px;width:30px;border-radius:7px;display:block}
.brand-word{height:21px;width:auto;display:block}

/* warm photo placeholders (related cards w/o a featured image) */
.photo{position:relative;border-radius:var(--radius);overflow:hidden;background:radial-gradient(120% 90% at 80% 0%, rgba(255,92,97,.28), transparent 60%),linear-gradient(135deg,#E9C9A8 0%,#D98C7A 45%,#B36A6E 100%);display:flex;align-items:flex-end}
.photo.alt{background:radial-gradient(120% 90% at 10% 0%, rgba(255,92,97,.30), transparent 55%),linear-gradient(135deg,#8FB7C9 0%,#7E92B3 50%,#C98C8C 100%)}
.photo.alt2{background:radial-gradient(120% 90% at 90% 10%, rgba(255,179,71,.40), transparent 55%),linear-gradient(135deg,#C7A98F 0%,#A88C7E 50%,#6E5E63 100%)}

/* --- breadcrumb (BreadcrumbList) --- */
.crumbs{background:var(--fill-200);border-bottom:1px solid var(--stroke-100)}
.crumbs .wrap{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;font-size:13px;font-weight:700;color:var(--text-400)}
.crumbs a{color:var(--text-500)}
.crumbs a:hover{color:var(--coral-hover)}
.crumbs .sep{color:var(--text-400);opacity:.6}
.crumbs .here{color:var(--text-600)}

/* --- post hero: a photo with the H1 + author + updated date inside --- */
.post-hero{position:relative;border-radius:var(--radius-lg);overflow:hidden;min-height:480px;margin-top:18px;display:flex;align-items:flex-end;background:radial-gradient(120% 80% at 75% 0%, rgba(255,92,97,.30), transparent 55%),linear-gradient(135deg,#CBA98D 0%,#9C6F64 58%,#5E4A4F 100%)}
.post-hero .ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.post-hero .ph-grad{position:absolute;inset:0;z-index:1;background:linear-gradient(transparent 22%,rgba(12,9,8,.80))}
.post-hero .ph-inner{position:relative;z-index:2;padding:38px 42px;color:#fff;width:100%}
.post-hero .ph-cat{display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);padding:5px 12px;border-radius:var(--radius-pill);margin-bottom:16px}
.post-hero h1{font-size:44px;line-height:1.08;font-weight:900;letter-spacing:-.02em;color:#fff;text-shadow:0 2px 22px rgba(0,0,0,.4);max-width:840px}
.post-hero .ph-meta{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:22px;color:rgba(255,255,255,.92);font-weight:700;font-size:14.5px}
.post-hero .ph-author{display:flex;align-items:center;gap:11px}
.post-hero .ph-ava{width:44px;height:44px;border-radius:50%;flex:none;object-fit:cover;border:2px solid rgba(255,255,255,.9);background:radial-gradient(circle at 40% 32%,#F4CBA6,#C9866A 72%);box-shadow:0 2px 12px rgba(0,0,0,.35)}
.post-hero .ph-name{font-weight:900}
.post-hero .ph-role{color:rgba(255,255,255,.82);font-weight:700}
.post-hero .ph-sep{opacity:.5}

/* --- article body shell --- */
.art-body{padding-top:30px;padding-bottom:8px}
.lead{font-size:20px;line-height:1.6;font-weight:600;color:var(--text-500);max-width:var(--prose);margin-bottom:8px}
.lead b{color:var(--text-600)}

/* --- prose typography --- */
.prose{max-width:var(--prose);font-size:17.5px;line-height:1.72;color:#27211f}
.prose>*+*{margin-top:20px}
.prose h2{font-size:27px;font-weight:900;letter-spacing:-.01em;line-height:1.2;margin-top:42px;scroll-margin-top:90px}
.prose h3{font-size:21px;font-weight:800;line-height:1.25;margin-top:30px;scroll-margin-top:90px}
.prose p{color:#27211f}
.prose a{color:var(--coral);font-weight:700;text-decoration:underline;text-decoration-color:var(--highlight-100);text-underline-offset:3px}
.prose a:hover{text-decoration-color:var(--coral)}
.prose strong{font-weight:800;color:var(--text-600)}
.prose ul,.prose ol{padding-left:4px;list-style:none}
.prose li{position:relative;padding-left:28px;margin-top:10px}
.prose ul li::before{content:"";position:absolute;left:4px;top:11px;width:8px;height:8px;border-radius:50%;background:var(--coral)}
.prose ol{counter-reset:i}
.prose ol li{counter-increment:i}
.prose ol li::before{content:counter(i);position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:7px;background:var(--coral-tint);color:var(--coral);font-size:12px;font-weight:900;display:flex;align-items:center;justify-content:center}
.prose figure{margin-top:26px}
.prose figure .photo{height:340px;border-radius:var(--radius-lg)}
.prose figcaption{margin-top:8px;font-size:13px;font-weight:600;color:var(--text-400);text-align:center}
.prose blockquote,.pullquote{border-left:4px solid var(--coral);background:var(--coral-tint);border-radius:0 12px 12px 0;padding:18px 22px;font-size:19px;font-weight:700;color:var(--text-600);font-style:normal}
.callout{display:flex;gap:14px;background:var(--fill-300);border:1px solid var(--stroke-200);border-radius:var(--radius);padding:18px 20px;font-size:15.5px;font-weight:600;color:var(--text-500)}
.callout .ic{font-size:22px;flex:none}
.callout b{color:var(--text-600)}

/* --- share row --- */
.share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--stroke-200);border-bottom:1px solid var(--stroke-200)}
.share .lbl{font-weight:800;font-size:13px;color:var(--text-500)}
.share a{width:38px;height:38px;border-radius:10px;background:var(--fill-300);border:1px solid var(--stroke-200);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:15px;cursor:pointer}
.share a:hover{border-color:var(--coral);color:var(--coral-hover)}
.share .save{margin-left:auto;width:auto;padding:0 14px;gap:6px}

/* --- author box (E-E-A-T) --- */
.authorbox{display:flex;gap:18px;align-items:flex-start;background:var(--fill-200);border:1px solid var(--stroke-200);border-radius:var(--radius-lg);padding:22px}
.authorbox .ava{width:64px;height:64px;border-radius:50%;flex:none;object-fit:cover;background:radial-gradient(circle at 35% 30%,#FF9CA0,var(--coral));border:3px solid #fff;box-shadow:var(--shadow-1)}
.authorbox .a-name{font-size:17px;font-weight:900}
.authorbox .a-role{color:var(--coral);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.04em;margin:2px 0 8px}
.authorbox p{color:var(--text-500);font-size:14.5px;font-weight:600;line-height:1.55}
.authorbox .a-bio p+p{margin-top:8px}
.authorbox .a-bio a{color:var(--coral);font-weight:800}
.authorbox .a-bio a:hover{text-decoration:underline}

/* --- layout + sidebar --- */
.layout{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
.layout>main{min-width:0}
.sidebar{position:sticky;top:90px;display:flex;flex-direction:column;gap:22px;min-width:0}
.widget{background:#fff;border:1px solid var(--stroke-200);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow-1)}
.widget.coral{background:var(--primary);color:#fff;border-color:transparent;position:relative;overflow:hidden}
.widget.coral::after{content:"";position:absolute;right:-50px;bottom:-50px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(255,92,97,.3),transparent 70%)}
.widget h4{font-size:16px;font-weight:900;margin-bottom:6px;position:relative;z-index:1}
.widget .w-sub{font-size:13.5px;font-weight:600;color:var(--text-500);position:relative;z-index:1}
.widget.coral .w-sub{color:rgba(255,255,255,.78)}
.widget .w-feats{position:relative;z-index:1;list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.widget .w-feats li{font-size:13.5px;font-weight:700;color:rgba(255,255,255,.92);display:flex;align-items:center;gap:9px}
.widget .w-feats li::before{content:"✓";color:var(--coral);font-weight:900}
.widget .w-list a{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid var(--stroke-100);font-weight:700;font-size:14px}
.widget .w-list a:first-child{border-top:none}
.widget .w-list a:hover{color:var(--coral-hover)}
.widget .w-list .ct{color:var(--text-400);font-size:12px;font-weight:700;white-space:nowrap}

/* --- related grid --- */
.related .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.rcard{background:#fff;border:1px solid var(--stroke-100);border-radius:var(--radius-lg);overflow:hidden;transition:.2s var(--ease-out);display:flex;flex-direction:column}
.rcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-3)}
.rcard .photo{height:160px;border-radius:0}
.rcard .rb{padding:16px;display:flex;flex-direction:column;gap:8px}
.rcard .cat{font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--coral)}
.rcard h3{font-size:17px;font-weight:800;line-height:1.28}
.rcard:hover h3{color:var(--coral-hover)}

/* --- section shell + footer (shared with homepage) --- */
.section{padding:56px 0}
.section.tint{background:var(--fill-200)}
.section-title{font-size:30px;font-weight:900;letter-spacing:-.01em}
.section-head{margin-bottom:28px}
.footcta{background:var(--primary);color:#fff;text-align:center;padding:68px 24px;position:relative;overflow:hidden}
.footcta::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 120% at 50% 0%,rgba(255,92,97,.30),transparent 60%)}
.footcta .inner{position:relative;z-index:1;max-width:680px;margin:0 auto}
.footcta h2{font-size:34px;font-weight:900;letter-spacing:-.02em;line-height:1.1}
.footcta p{color:rgba(255,255,255,.8);font-size:16px;font-weight:600;margin:12px 0 26px}
.footer{background:var(--fill-200);border-top:1px solid var(--stroke-100);padding:52px 0 26px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.foot-grid .tagline{color:var(--text-500);font-size:14px;margin-top:14px;font-weight:600;max-width:280px}
.foot-col h5{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--text-400);margin-bottom:14px}
.foot-col a{display:block;font-weight:700;font-size:14px;color:var(--text-600);padding:5px 0}
.foot-col a:hover{color:var(--coral-hover)}
.social-row{display:flex;gap:10px;margin-top:18px}
.social-row a{width:38px;height:38px;border-radius:10px;background:#fff;border:1px solid var(--stroke-200);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900}
.social-row a:hover{border-color:var(--coral);color:var(--coral-hover)}
.foot-bottom{margin-top:34px;padding-top:20px;border-top:1px solid var(--stroke-200);display:flex;justify-content:space-between;color:var(--text-400);font-size:13px;font-weight:700;flex-wrap:wrap;gap:10px}

@media(max-width:900px){
  .layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .related .grid-3{grid-template-columns:1fr}
}
@media(max-width:640px){
  .post-hero{min-height:330px;border-radius:var(--radius)}
  .post-hero .ph-inner{padding:22px 20px}
  .post-hero h1{font-size:23px;line-height:1.16}
  .post-hero .ph-cat{margin-bottom:12px}
  .post-hero .ph-meta{font-size:13px;gap:9px;margin-top:16px}
  .post-hero .ph-ava{width:36px;height:36px}
  .brand-word{display:none}
  .wrap{padding-left:20px;padding-right:20px}
  .crumbs .wrap{font-size:12px}
  .lead{font-size:18px}
  .prose{font-size:16.5px;line-height:1.66}
  .prose h2{font-size:22px;margin-top:32px}
  .prose h3{font-size:18px}
  .prose figure .photo{height:220px}
  .callout,.authorbox,.widget{padding:16px}
  .related .grid-3{grid-template-columns:1fr}
  .section{padding:40px 0}
  .section-title{font-size:24px}
  .footcta{padding:48px 20px}
  .footcta h2{font-size:26px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:24px;text-align:center}
  .foot-grid>div:first-child{grid-column:1 / -1}
  .foot-grid .brandlock{justify-content:center}
  .foot-grid .tagline{margin-left:auto;margin-right:auto}
  .foot-grid .social-row{justify-content:center}
  .foot-bottom{justify-content:center;text-align:center}
}

/* ============================================================
   WordPress integration layer — single posts only.
   Maps real `the_content()` HTML into the design system and
   re-asserts the brand against the theme's global-styles
   (which still load via wp_head()).  Learning L005: assert the
   brand FONT but let headings INHERIT color (white inside the
   dark hero / footer-CTA; warm-black in prose).
   ============================================================ */
h1,h2,h3,h4,h5,h6{font-family:'Nunito',system-ui,-apple-system,sans-serif;color:inherit;margin:0}
input,button,select,textarea{font-family:inherit}

/* Real media inside the prose: responsive, rounded, never overflow. */
.prose :where(img,iframe,video,embed,object){max-width:100%;height:auto}
.prose img{border-radius:var(--radius-lg);margin-left:auto;margin-right:auto}
.prose figure img,.prose .wp-block-image img{width:auto;max-width:100%}
.prose .wp-block-image,.prose .wp-caption{margin-top:26px;max-width:100%}
.prose .wp-block-image figcaption,.prose .wp-caption-text{margin-top:8px;font-size:13px;font-weight:600;color:var(--text-400);text-align:center}
.prose iframe{display:block;width:100%;border:0;border-radius:var(--radius-lg)}
.prose .wp-block-embed__wrapper{border-radius:var(--radius-lg);overflow:hidden}
.prose h4{font-size:18px;font-weight:800;line-height:1.3;margin-top:24px}
.prose h5,.prose h6{font-size:15.5px;font-weight:800;margin-top:20px}

/* Tables (e.g. opening hours, prices) made readable + scrollable on phones. */
.prose table{width:100%;border-collapse:collapse;margin-top:20px;font-size:15.5px;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--stroke-200);padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--fill-200);font-weight:800}

/* Gutenberg button blocks (embedded tour widgets) take the brand pill. */
.prose .wp-block-button__link,.prose .wp-element-button{background:var(--coral);color:#fff;border-radius:var(--radius-pill);padding:12px 22px;font-weight:800;text-decoration:none;display:inline-block}
.prose .wp-block-buttons{display:flex;gap:10px;flex-wrap:wrap}

/* Defensive: kill any horizontal overflow a wide embed/table could cause. */
.prose>*{max-width:100%}
