/*
Theme Name: onebookone-niagara
Template: miyazaki
Version: 1.0.1784051043
Updated: 2026-07-14 17:44:03
*/
@import url("../miyazaki/style.css");
/* One Book Niagara - child theme styles */

:root{
  /* Palette */
  --obn-ink:#1f2430;
  --obn-paper:#f5f2ec;
  --obn-primary:#33478f;
  --obn-accent:#db4b45;
  --obn-accent-2:#2c9c82;
  /* Derived neutrals */
  --obn-line:#e2ddd2;
  --obn-primary-soft:#eef0f7;
  --obn-muted:#5a6379;
  /* Base text size for main content only. Plain px on purpose:
     the parent theme resets html{font-size:62.5%}, so any rem
     value we write here is silently scaled by the parent's root,
     not by the browser default. px keeps us independent of that. */
  --obn-font-base:17px;
  /* Content container width (matches artsproject.ca, no sidebar) */
  --obn-container:1238px;
}

/* --- Container fix: parent caps .post-inner at 60rem (600px) --- */
.post-inner{max-width:var(--obn-container);}
.section-inner, .obn-page{max-width:var(--obn-container);margin-left:auto;margin-right:auto;}

/* Parent theme shrinks any nested wp-block-group to 52rem (520px).
   That was quietly squashing .obn-brief and .obn-stage cards.
   Neutralize it inside our own page wrapper. */
.entry-content .obn-page .wp-block-group:not(.alignfull):not(.alignwide):not(.alignleft):not(.alignright){
  max-width:none;margin-left:0;margin-right:0;
}

/* Parent's .alignfull breaks images out to 100vw. Keep them inside
   our 1238px box instead, so they match the rounded/shadowed figure style. */
.entry-content .obn-page .alignfull{width:100%;max-width:100%;margin-left:0;margin-right:0;}

.wp-block-archives, .wp-block-button, .wp-block-buttons, .wp-block-categories, .wp-block-code, .wp-block-columns, .wp-block-cover, .wp-block-cover-image, .wp-block-embed, .wp-block-gallery, .wp-block-group, .wp-block-image, .wp-block-latest-comments, .wp-block-latest-posts, .wp-block-media-text, .wp-block-preformatted, .wp-block-pullquote, .wp-block-social, .wp-block-quote, .wp-block-quote.is-large, .wp-block-quote.is-style-large, .wp-block-verse, .wp-block-video {
	margin-bottom: 1.5rem;
	margin-top: 1.5rem;
}

.wp-block-archives, .wp-block-button, .wp-block-buttons, .wp-block-categories, .wp-block-code, .wp-block-columns, .wp-block-cover, .wp-block-cover-image, .wp-block-embed, .wp-block-gallery, .wp-block-group, .wp-block-image, .wp-block-latest-comments, .wp-block-latest-posts, .wp-block-media-text, .wp-block-preformatted, .wp-block-pullquote, .wp-block-social, .wp-block-quote, .wp-block-quote.is-large, .wp-block-quote.is-style-large, .wp-block-verse, .wp-block-video {
	margin-bottom: 2rem;
	margin-top: 2rem;
}
.entry-header {
	margin: 2rem 0 1.5rem;
}
.section-inner {
  margin: 0 auto;
  margin-right: auto;
  margin-left: auto;
  /*max-width: 168rem;*/
  width: calc( 100% - 2.4rem );
}

/* Page shell */
.section-inner, .obn-page{
  color:var(--obn-ink);
  background:var(--obn-paper);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.7;
  font-size:var(--obn-font-base);
}
/* Base size applies to main content elements only */
.obn-page p,
.obn-page li,
.obn-page td,
.obn-page th{
  font-size:var(--obn-font-base);
}
/* Headings keep their own scale (serif, literary feel) */
h1.entry-title,
.obn-page h1,
.obn-page h2,
.obn-page h3{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--obn-ink);
  line-height:1.2;
  letter-spacing:-.01em;
}
.obn-page h1, h1.entry-title {font-size:42px;margin:0 0 .35em;}
.obn-page h2{font-size:30px;margin:1.6em 0 .55em;position:relative;padding-left:18px;}
.obn-page h3{font-size:22px;margin:1.6em 0 .35em;}
/* Book-spine accent before each section title */
.obn-page h2::before{
  content:"";
  position:absolute;left:0;top:.18em;bottom:.18em;
  width:6px;border-radius:3px;
  background:linear-gradient(var(--obn-primary),var(--obn-accent-2));
}
/* Subtitle - auxiliary, not base size */
.obn-page .obn-subtitle{
  font-size:20px;
  color:var(--obn-muted);
  font-style:italic;
  margin:0 0 1.4em;
  /*max-width:48ch;*/
  border-bottom: 1px solid var(--obn-muted);
}
/* Links */
.obn-page a{
  color:var(--obn-primary);
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
}
.obn-page a:hover{color:var(--obn-accent);}
/* Signature: literary drop cap on the lead paragraph */
.obn-page .obn-lead::first-letter{
  float:left;
  font-family:Georgia,serif;
  font-weight:700;
  font-size:3.5em;
  line-height:.78;
  margin:.02em .1em 0 0;
  color:var(--obn-primary);
}
/* In brief card */
.obn-page .obn-brief{
  margin:0 0 1.8em;
  background:#fff;
  border:1px solid var(--obn-line);
  border-top:4px solid var(--obn-primary);
  border-radius:10px;
  padding:18px 22px;
  box-shadow:0 10px 30px -18px rgba(31,36,48,.35);
}
.obn-page .obn-brief-title{
  font-family:Georgia,serif;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--obn-accent);
  margin:0 0 6px;
}
.obn-page .obn-brief table{width:100%;border-collapse:collapse;}
.obn-page .obn-brief td{
  padding:12px 16px;
  /*border-bottom:1px solid var(--obn-line);*/
  vertical-align:top;
}
/*.obn-page .obn-brief tr:last-child td{border-bottom:0;}*/
.obn-page .obn-brief td:first-child{
  width:34%;font-weight:700;color:var(--obn-primary);
}
/* Stage cards (How a Year Unfolds) */
.obn-page .obn-stages{counter-reset:obn-stage;margin-bottom: 2em;}
.obn-page .obn-stage{
  height:100%;
  background:#fff;
  border:1px solid var(--obn-line);
  border-radius:10px;
  padding:17px 17px 18px;
  counter-increment:obn-stage;
  box-shadow:0 10px 30px -20px rgba(31,36,48,.4);
}
.obn-page .obn-stage-title{margin:2px 0 8px;}
.obn-page .obn-stage-title::before{
  content:counter(obn-stage);
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;margin-bottom:8px;
  font-family:Georgia,serif;font-size:16px;
  color:#fff;background:var(--obn-primary);
  border-radius:50%;
}
.obn-page .obn-stage-title strong{font-size:18px;}
/* Content tables (criteria) */
.obn-page .obn-table{
  background:#fff;
  border:1px solid var(--obn-line);
  /*border-radius:10px;*/
  overflow:hidden;
  box-shadow:0 10px 30px -20px rgba(31,36,48,.35);
  margin:0 0 1.8em;
}
.obn-page .obn-table table{width:100%;border-collapse:collapse;margin:0;}
.obn-page .obn-table th{
  text-align:left;background:var(--obn-primary-soft);
  color:var(--obn-primary);font-family:Georgia,serif;
  padding:14px 18px;border-bottom:2px solid var(--obn-primary);
}
.obn-page .obn-table td{
  padding:14px 18px;border-bottom:1px solid var(--obn-line);vertical-align:top;
}
.obn-page .obn-table tr:nth-child(even) td{background:rgba(31,36,48,.035);}
.obn-page .obn-table td:first-child{font-weight:600;}
.obn-page .obn-table tbody tr:last-child td{
border-bottom: 1px solid var(--obn-primary);
}
/* Libraries table */
.obn-page .obn-libraries{
  background:#fff;
  border:1px solid var(--obn-line);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 30px -20px rgba(31,36,48,.35);
  margin:0 0 1.8em;
}
.obn-page .obn-libraries table{width:100%;border-collapse:collapse;margin:0;}
.obn-page .obn-libraries td{
  padding:12px 16px;
  border-bottom:1px solid var(--obn-line);
  border-right:1px solid var(--obn-line);

  border-top: 1px solid var(--obn-line);
  border-left: 1px solid var(--obn-line);
}
.obn-page .obn-libraries tr:last-child td{border-bottom:0;}
.obn-page .obn-libraries td:last-child{border-right:0;}
@media (max-width:520px){
  .obn-page .obn-libraries tr{display:flex;flex-direction:column;}
  .obn-page .obn-libraries td{border-right:0;}
  .obn-page .obn-libraries td:empty{display:none;}
}
.obn-page .obn-libraries a{text-decoration:none;font-weight:600;}
.obn-page .obn-libraries a:hover{text-decoration:underline;color:var(--obn-accent);}
/* FAQ */
.obn-page .obn-faq-q{
  font-weight:700;color:var(--obn-ink);
  margin:1.25em 0 .1em;padding-left:14px;
  border-left:3px solid var(--obn-accent);
}
.obn-page .obn-faq-a{margin:.1em 0 0;}
/* Figures */
.obn-page .obn-figure img{
  border-radius:12px;
  box-shadow:0 24px 50px -24px rgba(31,36,48,.55);
  display:block;width:100%;height:auto;
}
.obn-page .obn-media-split{align-items:center;gap:24px;}
/* Disclaimer + footnote - auxiliary, smaller, not base size */
.obn-page .obn-disclaimer{
  font-size:15px;
  background:#fff;
  border-left:4px solid var(--obn-accent);
  border-radius:0 8px 8px 0;
  padding:14px 18px;
  color:#464f63;
  margin:2em 0 1em;
}
.obn-page .obn-footnote{
  font-size:14px;color:var(--obn-muted);font-style:italic;
  border-top:1px solid var(--obn-line);padding-top:1em;
}
/* Responsive */
@media (max-width:781px){
  h1.entry-title,.obn-page h1{font-size:28px;}
  .obn-page h2{font-size:24px;}
  .obn-page h3{font-size:20px;}
  .obn-page .obn-subtitle{font-size:18px;}
}

.schema-faq-section{margin:1.25em 0;padding-left:14px;border-left:3px solid var(--obn-accent);}
.schema-faq-question{display:block;font-weight:700;color:var(--obn-ink);margin-bottom:.2em;}
.schema-faq-answer{margin:0;}

@media (max-width:520px){
  .obn-page .obn-libraries tr{display:flex;flex-direction:column;}
  .obn-page .obn-libraries td{border-right:0;}
}

.obn-page .obn-lib-list{
  list-style:none;
  margin:0 0 1.8em;
  padding:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
  border:1px solid var(--obn-line);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 10px 30px -20px rgba(31,36,48,.35);
}
.obn-page .obn-lib-list li{
  margin:0;
  padding:12px 16px;
  border-bottom:1px solid var(--obn-line);
  border-right:1px solid var(--obn-line);
}
.obn-page .obn-lib-list li:nth-child(2n){border-right:0;}
.obn-page .obn-lib-list a{text-decoration:none;font-weight:600;color:var(--obn-primary);}
.obn-page .obn-lib-list a:hover{text-decoration:underline;color:var(--obn-accent);}
@media (max-width:520px){
  .obn-page .obn-lib-list{grid-template-columns:1fr;}
  .obn-page .obn-lib-list li{border-right:0;}
}

