/* ================================================
 Succession Holding LLC — Main Stylesheet
 Real estate education publication
 ================================================ */

:root {
 --green: #2d5a3d;
 --green-light: #3d7a52;
 --charcoal: #1a1a1a;
 --text: #333333;
 --text-light: #666666;
 --bg: #ffffff;
 --bg-secondary: #f8f8f6;
 --border: #e0ddd8;
 --max-width: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
 background: var(--bg);
 color: var(--text);
 font-family: system-ui, -apple-system, sans-serif;
 font-size: 17px;
 line-height: 1.7;
}

h1, h2, h3, h4 {
 font-family: Georgia, serif;
 color: var(--charcoal);
 line-height: 1.3;
 font-weight: 400;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.container {
 max-width: var(--max-width);
 margin: 0 auto;
 padding: 0 1.5rem;
}

/* Ad zones */
.ad-zone {
 background: var(--bg-secondary);
 border: 1px dashed var(--border);
 padding: 1rem;
 text-align: center;
 color: var(--text-light);
 font-size: 0.8rem;
 letter-spacing: 0.04em;
 margin: 1.5rem 0;
}
.ad-sidebar { margin: 0; }

/* Navigation */
#site-nav {
 border-bottom: 2px solid var(--green);
 padding: 1rem 0;
}

#site-nav .container {
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.nav-logo {
 font-family: Georgia, serif;
 font-size: 1.2rem;
 color: var(--charcoal);
 letter-spacing: 0.02em;
}

.main-nav ul {
 list-style: none;
 display: flex;
 gap: 2rem;
}

.main-nav a {
 color: var(--text-light);
 font-size: 0.88rem;
 letter-spacing: 0.05em;
 text-transform: uppercase;
}

.main-nav a:hover { color: var(--green); text-decoration: none; }

/* Footer */
#site-footer {
 border-top: 1px solid var(--border);
 padding: 2.5rem 0;
 margin-top: 4rem;
 color: var(--text-light);
 font-size: 0.85rem;
 text-align: center;
}

/* Homepage layout */
.home-grid {
 display: grid;
 grid-template-columns: 1fr 300px;
 gap: 3rem;
 padding: 3rem 0;
}

.home-main { min-width: 0; }
.home-sidebar { min-width: 0; }

/* Featured article */
.featured-article {
 border-bottom: 1px solid var(--border);
 padding-bottom: 2rem;
 margin-bottom: 2rem;
}

.featured-article .category {
 display: inline-block;
 background: var(--green);
 color: white;
 font-size: 0.75rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 padding: 0.2rem 0.6rem;
 margin-bottom: 0.75rem;
}

.featured-article h2 {
 font-size: 1.85rem;
 margin-bottom: 0.75rem;
 line-height: 1.25;
}

.featured-article .date {
 color: var(--text-light);
 font-size: 0.85rem;
 margin-bottom: 1rem;
}

.featured-article p {
 color: var(--text);
 font-size: 1.05rem;
 line-height: 1.75;
 margin-bottom: 1rem;
}

.read-more {
 color: var(--green);
 font-size: 0.9rem;
 font-weight: 600;
 letter-spacing: 0.03em;
}

/* Article cards */
.article-card {
 border-bottom: 1px solid var(--border);
 padding: 1.5rem 0;
}

.article-card:first-child { padding-top: 0; }

.card-category {
 display: inline-block;
 color: var(--green);
 font-size: 0.75rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 font-weight: 600;
 margin-bottom: 0.4rem;
}

.article-card h3 {
 font-size: 1.15rem;
 margin-bottom: 0.4rem;
 line-height: 1.35;
}

.article-card .date {
 color: var(--text-light);
 font-size: 0.82rem;
 margin-bottom: 0.5rem;
}

.article-card p {
 font-size: 0.95rem;
 color: var(--text-light);
 line-height: 1.65;
}

/* Sidebar widgets */
.sidebar-widget {
 margin-bottom: 2.5rem;
}

.sidebar-widget h4 {
 font-size: 0.85rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--text-light);
 margin-bottom: 1rem;
 border-bottom: 2px solid var(--green);
 padding-bottom: 0.5rem;
}

.sidebar-widget ul {
 list-style: none;
}

.sidebar-widget li {
 padding: 0.6rem 0;
 border-bottom: 1px solid var(--border);
 font-size: 0.95rem;
}

.sidebar-widget li:last-child { border-bottom: none; }

/* Section header */
.section-header {
 border-bottom: 2px solid var(--green);
 margin-bottom: 2rem;
 padding-bottom: 0.75rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.section-header h2 {
 font-size: 1.25rem;
 letter-spacing: 0.03em;
 text-transform: uppercase;
 font-family: system-ui, sans-serif;
 font-weight: 600;
 color: var(--charcoal);
}

.section-header a {
 font-size: 0.85rem;
 color: var(--green);
 letter-spacing: 0.04em;
}

/* Article page */
.article-header {
 padding: 3rem 0 2rem;
 border-bottom: 1px solid var(--border);
 margin-bottom: 2rem;
}

.article-header h1 {
 font-size: 2.25rem;
 margin-bottom: 1rem;
 line-height: 1.2;
}

.article-meta {
 display: flex;
 gap: 1.5rem;
 align-items: center;
 font-size: 0.85rem;
 color: var(--text-light);
}

.article-body {
 max-width: 720px;
 padding: 2rem 0;
}

.article-body p {
 margin-bottom: 1.5rem;
 font-size: 1.05rem;
 line-height: 1.85;
}

.article-body h2 {
 font-size: 1.5rem;
 margin: 2.5rem 0 1rem;
 color: var(--green);
 font-family: system-ui, sans-serif;
 font-weight: 600;
 letter-spacing: 0.02em;
 text-transform: none;
}

.article-body h3 {
 font-size: 1.2rem;
 margin: 2rem 0 0.75rem;
}

.article-body ul, .article-body ol {
 margin: 1.25rem 0 1.5rem 1.5rem;
}

.article-body li {
 margin-bottom: 0.5rem;
 line-height: 1.75;
}

/* Category/listing page */
.listing-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 2rem;
 padding: 2rem 0;
}

/* Article hero image */
.article-hero {
 margin: 1.5rem 0 2rem;
 border-radius: 4px;
 overflow: hidden;
}
.article-hero img {
 width: 100%;
 height: auto;
 display: block;
}

/* Footer nav */
.footer-nav a {
 color: var(--text-light);
 font-size: 0.85rem;
 letter-spacing: 0.04em;
}
.footer-nav a:hover {
 color: var(--green);
}

/* Responsive */
@media (max-width: 768px) {
 .home-grid { grid-template-columns: 1fr; }
 .listing-grid { grid-template-columns: 1fr; }
 .main-nav ul { gap: 1rem; }
 .featured-article h2 { font-size: 1.5rem; }
 .article-header h1 { font-size: 1.75rem; }
}