/*
Theme Name: Paper Trends 101
Theme URI: https://papertrends101.com
Author: Garcia (Claude), for Renee and Andi
Description: Free vintage paper printables, bullet journaling, note-taking and paper book flip-throughs. v1.1.0 is the clean sage-and-green look Renee and Andi picked on Nov 13 2026 (from paper-trends-101.html), replacing the v1.0.0 scrapbook look. Same layout, same post fields.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: papertrends101
*/

:root {
  --paper: #faf8f2;
  --white: #fffefa;
  --ink: #252e28;
  --muted: #59625a;
  --green: #314f40;
  --green-dark: #213d2f;
  --line: #d7d9cf;
  --sage: #e8ece3;
  --gray: #dededb;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #976b2d; outline-offset: 4px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: normal; line-height: 1.12; color: var(--ink); }
h1 { font-size: 60px; letter-spacing: -2.3px; }
h2 { font-size: 34px; letter-spacing: -1px; }
h3 { font-size: 23px; letter-spacing: -0.3px; }
p { margin-bottom: 1em; }
.screen-reader-text { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 12px; top: 10px; width: auto; height: auto; z-index: 100; background: var(--white); padding: 12px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

/* Header */
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 0 23px; }
.brand { text-decoration: none; font-family: var(--serif); font-size: 34px; line-height: 1.1; letter-spacing: -1.4px; color: var(--ink); }
.brand em { font-weight: normal; color: var(--green); }
.brand small { font-family: var(--sans); font-size: 11px; letter-spacing: 2.5px; display: block; margin-top: 9px; color: var(--muted); text-transform: uppercase; }
.header-note { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); padding: 9px 13px; min-height: 44px; color: var(--ink); font-size: 12px; }
.navigation { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 42px; }
.navigation a { display: flex; align-items: center; min-height: 55px; text-decoration: none; font-size: 14px; }
.navigation a:hover { text-decoration: underline; }
.navigation li:first-child a, .navigation .current-menu-item > a, .navigation .current-cat > a { font-weight: bold; color: var(--green); }

/* Shared pieces */
.eyebrow { font-size: 11px; font-weight: bold; letter-spacing: 1.7px; text-transform: uppercase; color: var(--green); margin: 0 0 14px; display: block; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 50px; padding: 12px 23px; border: 1px solid var(--green); background: var(--green); color: var(--white); text-decoration: none; font-size: 14px; font-weight: bold; border-radius: 2px; line-height: 1.4; }
.btn:hover { background: var(--green-dark); color: var(--white); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: bold; color: var(--green); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 22px; }
.section-title h2 { margin: 0; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 23px; }
.tag { display: inline-block; background: var(--sage); padding: 5px 10px; border: 1px solid #ccd4c6; border-radius: 3px; font-size: 11px; line-height: 1.5; color: #304636; }

/* Homepage intro */
.intro { padding: 54px 0 42px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.intro h1 { margin-bottom: 0; max-width: 600px; }
.intro-copy { max-width: 450px; }
.intro-copy p { font-size: 18px; margin-bottom: 23px; }

/* Printable cards */
.printable-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.print-card { text-decoration: none; display: block; color: inherit; }
.sheet-mat { background: #eeeee9; padding: 20px 28px; display: flex; align-items: center; justify-content: center; border: 1px solid #e1e2db; }
.sheet { position: relative; aspect-ratio: 8.5 / 11; width: 100%; box-shadow: 0 4px 8px #252e2810; overflow: hidden; background: var(--white); }
.sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placeholder { background: var(--gray); color: #59605a; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 7px; padding: 12px; font: 12px/1.5 var(--sans); border: 1px solid #cececa; }
.placeholder small { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.print-card h3 { font-size: 21px; margin: 14px 0 6px; line-height: 1.25; }
a.print-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.card-meta { font-size: 11px; color: var(--muted); letter-spacing: 0.7px; text-transform: uppercase; margin: 0; }
.print-card.is-empty h3 { color: var(--muted); }

/* Find your paper trail */
.directory { padding: 56px 0 44px; }
.directory-lead { max-width: 600px; margin: 0 0 30px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 35px; }
.topic { border-top: 2px solid var(--green); padding-top: 20px; }
.topic-head { display: flex; align-items: center; gap: 12px; }
.topic-number { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.topic h3 { font-size: 26px; margin: 0; }
.topic h3 a { text-decoration: none; }
.topic h3 a:hover { text-decoration: underline; }
.topic-byline { font-size: 12px; margin: 8px 0; color: var(--muted); }
.topic ul { list-style: none; padding: 0; margin: 11px 0 0; }
.topic li + li { border-top: 1px solid var(--line); }
.topic li a, .topic li span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; padding: 10px 0; text-decoration: none; font-size: 14px; line-height: 1.5; }
.topic li a:hover { text-decoration: underline; }
.topic li a::after { content: '\203A'; color: var(--green); font-size: 16px; flex-shrink: 0; }
.topic li span { color: var(--muted); }
.topic-note { border: 1px solid var(--line); background: var(--sage); padding: 27px; display: flex; flex-direction: column; justify-content: center; }
.topic-note h3 { font-size: 29px; margin-bottom: 18px; }
.topic-note p { margin: 0; color: #445046; font-size: 15px; }

/* Newsletter (full-width band, hidden until a Kit form ID is set) */
.newsletter { background: var(--sage); border-top: 1px solid #d3dacd; border-bottom: 1px solid #d3dacd; padding: 38px 0; margin: 16px 0 0; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.newsletter h2 { font-size: 32px; margin-bottom: 10px; }
.newsletter p { margin-bottom: 0; font-size: 14px; color: var(--muted); }
.newsletter label { display: block; font-size: 12px; font-weight: bold; margin-bottom: 6px; }
.form-row { display: flex; gap: 8px; }
.form-row input { min-width: 0; flex: 1; min-height: 50px; background: var(--white); border: 1px solid #869584; border-radius: 2px; padding: 12px; color: var(--ink); }
.newsletter .form-note { margin-top: 10px; font-size: 11px; }

/* Single post */
.post-wrap { width: min(1000px, calc(100% - 64px)); margin: 0 auto; }
.breadcrumbs { font-size: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 18px 0; }
.breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; }
.post-top { padding: 15px 0 28px; }
.post-top.has-preview { display: grid; grid-template-columns: 1.08fr 0.92fr; column-gap: 65px; align-items: start; }
.post-heading { grid-column: 1; grid-row: 1; }
.post-title { font-size: 51px; margin: 0 0 20px; letter-spacing: -1.8px; }
.byline { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.post-preview { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.post-preview .sheet-mat { padding: 27px 42px; }
.post-preview .sheet { aspect-ratio: auto; }
.post-preview .sheet img { position: static; height: auto; }
.post-preview figcaption { font-size: 11px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.post-intro { grid-column: 1; grid-row: 2; }
.post-top:not(.has-preview) .post-intro { max-width: 760px; }
.jump { margin-bottom: 23px; }
.entry { font-size: 16px; }
.entry p { margin-bottom: 18px; }
.entry h2 { font-size: 30px; margin: 1.4em 0 0.5em; }
.entry h3 { font-size: 23px; margin: 1.3em 0 0.4em; }
.entry img { margin: 1.2em auto; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry a { color: var(--green); }
.entry blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--green); font-family: var(--serif); font-style: italic; }
.post-body { max-width: 760px; margin: 0 auto; }
.download-box { background: var(--sage); border: 1px solid #bcc8b7; border-top: 4px solid var(--green); padding: 30px; text-align: center; scroll-margin-top: 20px; margin: 20px 0 0; }
.download-box h2 { font-size: 34px; margin-bottom: 12px; }
.download-box p { font-size: 14px; max-width: 500px; margin: 0 auto 22px; color: #475344; }
.download-box .btn { min-width: 260px; font-size: 16px; min-height: 55px; }
.download-box .download-note { font-size: 11px; margin: 13px 0 0; max-width: none; color: #596450; }
.set-details { padding: 37px 0 15px; }
.set-details h2 { font-size: 30px; margin-bottom: 16px; }
.set-details ul { padding-left: 22px; margin: 0; }
.set-details li { padding: 5px 0; font-size: 15px; }
.sources { background: var(--white); border: 1px solid var(--line); padding: 27px 30px; margin: 22px 0 43px; }
.sources h2 { font-size: 29px; margin-bottom: 14px; }
.sources p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.sources ul { list-style: none; margin: 0; padding: 0; }
.sources li a, .sources li span { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-size: 14px; color: var(--green); border-top: 1px solid var(--line); padding: 10px 0; }
.sources li a::after { content: '\203A'; flex-shrink: 0; }
.sources li span { color: var(--muted); }
.related { border-top: 1px solid var(--line); padding: 34px 0 45px; margin-top: 20px; }
.related h2 { margin-bottom: 23px; }
.related .printable-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.related .sheet-mat { padding: 20px 35px; }
.related .print-card h3 { font-size: 20px; }

/* Archive, page, search */
.archive-head { padding: 46px 0 26px; }
.archive-head h1 { margin-bottom: 10px; }
.archive-head p { color: var(--muted); max-width: 600px; margin: 0; }
.archive-grid { padding-bottom: 40px; }
.page-wrap { padding-bottom: 40px; }
.page-wrap .post-title { margin-top: 20px; }
.pagination { margin: 10px 0 40px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.pagination a, .pagination span { min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }
.pagination .current { font-weight: bold; color: var(--green); }
.search-form { display: flex; gap: 8px; margin-top: 14px; max-width: 520px; }
.search-form input[type=search] { flex: 1; min-width: 0; min-height: 50px; border: 1px solid #869584; border-radius: 2px; padding: 12px; background: var(--white); color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 35px 0 25px; margin-top: 0; }
.footer-main { display: flex; justify-content: space-between; gap: 35px; align-items: start; }
.site-footer .brand { font-size: 25px; letter-spacing: -0.8px; }
.site-footer .footer-note { font-size: 12px; max-width: 430px; color: var(--muted); margin: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 25px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; }

/* Tablet */
@media (max-width: 900px) {
  .navigation ul { gap: 0 25px; }
  .intro { gap: 35px; }
  .intro h1 { font-size: 49px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .printable-grid { gap: 18px; }
  .sheet-mat { padding: 16px; }
  .post-top.has-preview { column-gap: 35px; }
  .post-title { font-size: 42px; }
  .newsletter .wrap { gap: 30px; }
  .form-row { flex-wrap: wrap; }
  .form-row .btn { flex: 1; }
  .header-note { font-size: 14px; }
}

/* Phone */
@media (max-width: 600px) {
  .wrap, .post-wrap { width: calc(100% - 40px); }
  .masthead { padding: 22px 0; }
  .brand { font-size: 27px; letter-spacing: -1px; }
  .brand small { font-size: 8px; letter-spacing: 1.9px; margin-top: 8px; }
  .header-note { display: none; }
  .menu-toggle { display: block; }
  .navigation { border-top: 0; }
  .navigation ul { display: none; padding-bottom: 14px; gap: 0; flex-direction: column; }
  .navigation.is-open ul { display: flex; }
  .navigation a { min-height: 48px; border-top: 1px solid var(--line); font-size: 15px; }
  .intro { display: block; padding: 30px 0 31px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 12px; }
  .intro h1 { font-size: 42px; line-height: 1.07; letter-spacing: -1.7px; margin-bottom: 18px; }
  .intro-copy p { font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
  .intro .btn { min-height: 48px; padding: 11px 18px; }
  .section-title { align-items: center; gap: 10px; margin-bottom: 16px; }
  .section-title h2 { font-size: 27px; letter-spacing: -0.8px; }
  .section-title .text-link { font-size: 11px; flex-shrink: 0; }
  .printable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 15px; }
  .sheet-mat { padding: 13px 15px; }
  .placeholder { font-size: 10px; padding: 7px; }
  .placeholder small { font-size: 8px; letter-spacing: 0.6px; }
  .print-card h3 { font-size: 18px; margin-top: 10px; line-height: 1.25; }
  .card-meta { font-size: 9px; line-height: 1.6; letter-spacing: 0.4px; }
  .directory { padding: 40px 0 30px; }
  .directory-lead { font-size: 14px; margin-bottom: 23px; }
  .topic-grid { grid-template-columns: 1fr; gap: 26px; }
  .topic { padding-top: 17px; }
  .topic h3 { font-size: 25px; }
  .topic li a, .topic li span { min-height: 48px; }
  .topic-note { padding: 24px; }
  .topic-note h3 { font-size: 27px; margin-bottom: 12px; }
  .topic-note p { font-size: 14px; }
  .newsletter { padding: 29px 0; margin-top: 0; }
  .newsletter .wrap { display: block; }
  .newsletter h2 { font-size: 29px; letter-spacing: -0.7px; }
  .newsletter form { margin-top: 22px; }
  .form-row { display: block; }
  .form-row input { width: 100%; min-height: 52px; }
  .form-row .btn { width: 100%; margin-top: 9px; }
  .site-footer { padding: 30px 0 20px; }
  .footer-main { display: block; }
  .site-footer .brand { display: block; margin-bottom: 17px; }
  .site-footer .footer-note { line-height: 1.7; }
  .footer-bottom { margin-top: 20px; font-size: 10px; }
  .breadcrumbs { font-size: 11px; padding: 4px 0; gap: 8px; }
  .post-top, .post-top.has-preview { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 0; }
  .post-title { font-size: 39px; line-height: 1.09; letter-spacing: -1.3px; margin-bottom: 17px; }
  .byline { font-size: 12px; margin-bottom: 15px; }
  .tags { gap: 6px; margin-bottom: 0; }
  .tag { font-size: 10px; padding: 5px 8px; }
  .post-preview { margin: 22px 0; width: 100%; }
  .post-preview .sheet-mat { padding: 23px 40px; }
  .post-preview figcaption { font-size: 10px; }
  .jump { display: none; }
  .download-box { padding: 25px 20px; }
  .download-box h2 { font-size: 30px; }
  .download-box .btn { min-width: 0; width: 100%; font-size: 15px; min-height: 54px; padding: 12px; }
  .download-box .download-note { font-size: 10px; }
  .set-details { padding: 30px 0 25px; }
  .set-details h2 { font-size: 28px; }
  .set-details li { font-size: 14px; padding: 6px 0; }
  .sources { padding: 23px 20px; margin-bottom: 30px; }
  .sources h2 { font-size: 27px; }
  .sources li a, .sources li span { font-size: 13px; }
  .related { padding: 28px 0 32px; }
  .related h2 { font-size: 28px; }
  .related .printable-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 15px; }
  .related .sheet-mat { padding: 13px 15px; }
  .related .print-card h3 { font-size: 18px; }
  .related .print-card:nth-child(3) { display: none; }
  .archive-head { padding: 30px 0 20px; }
  .archive-head h1, .page-wrap .post-title { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .menu-toggle, .navigation, .newsletter { display: none; } .print-card, .topic, .download-box { break-inside: avoid; } }
