/*
Theme Name: Behind the Lifestyle
Theme URI: https://behindthelifestyle.com/
Author: Behind the Lifestyle
Description: A clean editorial WordPress theme built for Behind the Lifestyle, using burgundy, charcoal, and white branding.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: behind-the-lifestyle
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns
*/

:root {
  --btl-burgundy: #791419;
  --btl-burgundy-dark: #4e0d11;
  --btl-charcoal: #171717;
  --btl-gray: #666;
  --btl-light: #f6f3f2;
  --btl-border: #ded7d4;
  --btl-white: #fff;
  --btl-content: 760px;
  --btl-wide: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--btl-white);
  color: var(--btl-charcoal);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.72;
}
a { color: var(--btl-burgundy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--btl-burgundy-dark); }
img { max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: .75rem 1rem;
  background: #fff;
  color: #000;
  z-index: 100000;
}

.site-header {
  border-top: 7px solid var(--btl-burgundy);
  border-bottom: 1px solid var(--btl-border);
  background: #fff;
}
.header-inner {
  width: min(calc(100% - 32px), var(--btl-wide));
  margin: 0 auto;
  padding: 24px 0 12px;
}
.branding { text-align: center; }
.branding img { display: block; width: 100%; max-width: 1080px; margin: 0 auto; }
.site-title { margin: 0; font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1; }
.site-title a { color: var(--btl-charcoal); text-decoration: none; }
.site-description { margin: .65rem 0 0; color: var(--btl-gray); font-style: italic; }

.primary-nav { margin-top: 20px; border-top: 1px solid var(--btl-border); }
.primary-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  display: block;
  padding: 13px 18px;
  color: var(--btl-charcoal);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--btl-burgundy); }

.site-main { width: min(calc(100% - 32px), var(--btl-wide)); margin: 0 auto; padding: 50px 0 70px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; align-items: start; }
.post-list { min-width: 0; }
.post-card { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--btl-border); }
.entry-title { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; font-weight: 500; }
.entry-title a { color: var(--btl-charcoal); text-decoration: none; }
.entry-title a:hover { color: var(--btl-burgundy); }
.entry-meta { margin-bottom: 24px; color: var(--btl-gray); font-family: Arial, Helvetica, sans-serif; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.entry-thumbnail { margin: 0 0 26px; }
.entry-thumbnail img { display: block; width: 100%; border-radius: 2px; }
.entry-content > * { max-width: var(--btl-content); }
.entry-content > .alignwide { max-width: 1050px; }
.entry-content > .alignfull { max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }
.entry-content blockquote {
  margin: 2rem 0;
  padding: .5rem 0 .5rem 1.5rem;
  border-left: 5px solid var(--btl-burgundy);
  color: #3d3d3d;
  font-size: 1.15em;
  font-style: italic;
}
.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--btl-burgundy);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.read-more:hover { background: var(--btl-burgundy-dark); color: #fff; }

.sidebar { padding: 24px; background: var(--btl-light); border-top: 4px solid var(--btl-burgundy); font-size: .95rem; }
.widget { margin-bottom: 34px; }
.widget:last-child { margin-bottom: 0; }
.widget-title { margin: 0 0 14px; font-family: Arial, Helvetica, sans-serif; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }
.widget ul { margin: 0; padding-left: 20px; }

.pagination, .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.page-numbers { padding: 8px 12px; border: 1px solid var(--btl-border); text-decoration: none; }
.page-numbers.current { background: var(--btl-burgundy); color: #fff; border-color: var(--btl-burgundy); }

.comments-area { margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--btl-border); }
.comment-list { padding-left: 24px; }
input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  background: #fff;
  color: var(--btl-charcoal);
  font: inherit;
}
button, input[type='submit'] {
  width: auto;
  padding: 11px 18px;
  border: 0;
  background: var(--btl-burgundy);
  color: #fff;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.site-footer { background: var(--btl-charcoal); color: #ddd; }
.footer-inner { width: min(calc(100% - 32px), var(--btl-wide)); margin: 0 auto; padding: 34px 0; text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: .83rem; }
.footer-inner a { color: #fff; }

@media (max-width: 850px) {
  body { font-size: 17px; }
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { order: 2; }
  .primary-nav a { padding: 11px 10px; font-size: .72rem; }
  .site-main { padding-top: 34px; }
}
