/*
Theme Name: Reitnour Blog
Theme URI: https://www.reitnour.biz/blog/
Author: Reitnour Bookkeeping, Inc.
Description: A focused WordPress blog theme matching the Reitnour Bookkeeping static website.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: reitnour-blog
*/

.wp-blog-main { min-height: 55vh; }
.wp-blog-hero { padding-block: 92px 76px; border-bottom: 1px solid var(--line); }
.wp-blog-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.wp-blog-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 78px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.wp-blog-hero-copy { margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.wp-post-list { padding-block: 94px; }
.wp-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.wp-post-card { min-height: 385px; display: flex; flex-direction: column; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.18); transition: background .2s ease, transform .2s ease; }
.wp-post-card:hover { background: var(--white); transform: translateY(-3px); }
.wp-post-card .wp-post-number { margin-bottom: 48px; color: var(--copper); font-family: var(--serif); font-size: 18px; }
.wp-post-meta { margin: 0 0 16px; color: var(--copper); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wp-post-card h2 { margin: 0; font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.18; }
.wp-post-card h2 a:hover, .wp-post-card h2 a:focus-visible { color: var(--copper); }
.wp-post-card .wp-excerpt { margin: 18px 0 28px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.wp-post-card .wp-read-more { margin-top: auto; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.wp-post-card .wp-read-more:hover, .wp-post-card .wp-read-more:focus-visible { color: var(--copper); }
.wp-pagination { margin-top: 48px; }
.wp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-pagination a, .wp-pagination span { min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); font-size: 12px; }
.wp-pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.wp-empty { padding-block: 100px; }
.wp-empty h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 44px; font-weight: 400; }
.wp-empty p { color: var(--muted); }
.wp-search-form { display: flex; max-width: 620px; margin-top: 30px; }
.wp-search-form label { flex: 1; }
.wp-search-form input[type="search"] { width: 100%; min-height: 50px; padding: 0 15px; border: 1px solid var(--line); background: var(--white); }
.wp-search-form input[type="submit"] { min-height: 50px; padding: 0 22px; border: 0; background: var(--ink); color: var(--white); font-weight: 800; cursor: pointer; }
.wp-search-form input[type="submit"]:hover { background: var(--copper); }

.wp-article-header { padding-block: 88px 66px; border-bottom: 1px solid var(--line); }
.wp-article-header-inner { max-width: 900px; }
.wp-article-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 6.2vw, 76px); font-weight: 400; line-height: 1.02; letter-spacing: -.05em; }
.wp-article-breadcrumb { display: inline-block; margin-bottom: 32px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wp-article-breadcrumb:hover { color: var(--copper); }
.wp-article-body { display: grid; grid-template-columns: minmax(0, 760px) 230px; gap: 90px; align-items: start; padding-block: 74px 104px; }
.wp-entry-content { font-family: var(--serif); font-size: 18px; line-height: 1.82; }
.wp-entry-content > *:first-child { margin-top: 0; }
.wp-entry-content h2, .wp-entry-content h3, .wp-entry-content h4 { margin: 2em 0 .65em; line-height: 1.2; font-weight: 400; }
.wp-entry-content h2 { font-size: 38px; }
.wp-entry-content h3 { font-size: 29px; }
.wp-entry-content p, .wp-entry-content li { color: #3f3b38; }
.wp-entry-content a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }
.wp-entry-content img { max-width: 100%; height: auto; }
.wp-entry-content blockquote { margin: 36px 0; padding: 2px 0 2px 28px; border-left: 3px solid var(--copper); color: var(--muted); font-size: 22px; }
.wp-entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 13px; }
.wp-entry-content th, .wp-entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; }
.wp-article-aside { position: sticky; top: 120px; padding: 28px; border-top: 3px solid var(--copper); background: var(--white); }
.wp-article-aside h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.wp-article-aside p { margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.wp-article-aside a { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wp-article-note { margin-top: 52px; padding: 24px 26px; border-left: 3px solid var(--copper); background: var(--paper-deep); font-family: var(--sans); color: var(--muted); font-size: 11px; line-height: 1.65; }
.wp-post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 55px; background: var(--line); border: 1px solid var(--line); }
.wp-post-navigation a { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 24px; background: var(--paper); text-decoration: none; }
.wp-post-navigation a:hover { background: var(--white); }
.wp-post-navigation span { color: var(--copper); font-family: var(--sans); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wp-post-navigation strong { margin-top: 8px; font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.3; }
.wp-blog-footer-note { padding-block: 64px; background: var(--paper-deep); text-align: center; }
.wp-blog-footer-note h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4.5vw, 54px); font-weight: 400; line-height: 1.08; letter-spacing: -.04em; }
.wp-blog-footer-note p { max-width: 650px; margin: 15px auto 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.wp-featured-image { margin: 0 0 42px; }

@media (max-width: 960px) {
  .wp-blog-hero-grid, .wp-article-body { grid-template-columns: 1fr; gap: 45px; }
  .wp-post-grid { grid-template-columns: 1fr 1fr; }
  .wp-article-aside { position: static; }
}

@media (max-width: 700px) {
  .wp-blog-hero { padding-block: 68px 58px; }
  .wp-blog-hero h1, .wp-article-header h1 { font-size: 47px; }
  .wp-post-grid { grid-template-columns: 1fr; }
  .wp-post-card { min-height: auto; }
  .wp-article-body { padding-block: 55px 78px; }
  .wp-entry-content { font-size: 17px; }
  .wp-post-navigation { grid-template-columns: 1fr; }
}
