/* meditative.be — style.css */

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

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 11pt;
    line-height: 1.7;
    color: #212121;
    background-color: #fff;
}

/* ==================== Header ==================== */

.header {
    background-color: #3a6b45;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header h1 {
    color: #fff;
    font-size: 56pt;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1;
}

.header .year {
    color: rgba(255,255,255,0.6);
    font-size: 12pt;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Smaller header variant (subpages) */
.header.compact {
    min-height: 220px;
}

.header.compact h1 {
    font-size: 36pt;
}

/* ==================== Main content ==================== */

.content {
    max-width: 780px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ==================== Language nav ==================== */

.lang-nav {
    text-align: center;
    margin-bottom: 28px;
    font-size: 10pt;
    color: #888;
}

.lang-nav a {
    color: #3a6b45;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.lang-nav a:hover {
    border-bottom-color: #3a6b45;
}

/* ==================== Typography ==================== */

h1.title {
    color: #3a6b45;
    font-size: 28pt;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 4px;
}

h1.title .name {
    color: #000;
    font-weight: 700;
}

h2 {
    color: #3a6b45;
    font-size: 17pt;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 36px;
    margin-bottom: 12px;
    border-bottom: 2px solid #3a6b45;
    padding-bottom: 6px;
}

h2.subtitle {
    color: #444;
    font-weight: 400;
    font-size: 14pt;
    margin-top: 0;
    border: none;
    padding-bottom: 0;
}

p {
    margin: 12px 0;
    color: #222;
}

/* ==================== Links ==================== */

a {
    color: #2d5535;
    text-decoration: underline;
}

a:hover {
    color: #3a6b45;
}

/* ==================== Blockquotes ==================== */

blockquote {
    margin: 20px 0;
    padding: 16px 24px;
    background: #f0f5f0;
    border-left: 4px solid #3a6b45;
    font-style: italic;
    color: #333;
}

blockquote .attribution {
    font-style: normal;
    font-size: 10pt;
    color: #777;
    display: block;
    margin-top: 6px;
}

/* ==================== Back link (subpages) ==================== */

.back {
    display: inline-block;
    font-size: 10pt;
    color: #3a6b45;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    margin-bottom: 28px;
}

.back:hover {
    border-bottom-color: #3a6b45;
}

/* ==================== Read more teaser ==================== */

.read-more {
    font-size: 10pt;
}

.read-more a {
    color: #3a6b45;
    text-decoration: underline;
}

.read-more a:hover {
    color: #2d5535;
}

/* ==================== Notes (mental hygiene) ==================== */

.notes {
    background: #f0f5f0;
    padding: 28px 32px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #3a6b45;
}

.notes p {
    margin: 16px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #dde6dd;
}

.notes p:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.notes .notes-year {
    border-bottom: none;
    padding-bottom: 0;
}

/* Keyword highlight — warm earth tone */
.kw {
    color: #8b5e3c;
    font-weight: 700;
}

.notes-year {
    font-size: 10pt;
    color: #888;
    font-style: italic;
    margin-top: 20px;
}

/* ==================== Contact ==================== */

.contact {
    text-align: center;
    margin: 28px 0;
}

.contact a {
    color: #3a6b45;
    font-size: 13pt;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact a:hover {
    border-bottom-color: #3a6b45;
}

/* ==================== Links section ==================== */

.links {
    text-align: center;
    font-size: 10pt;
    color: #777;
    line-height: 2;
}

.links a {
    color: #3a6b45;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.links a:hover {
    border-bottom-color: #3a6b45;
}

/* ==================== Dividers ==================== */

.section-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 36px auto;
    width: 40%;
}

.lang-divider {
    border: none;
    border-top: 2px solid #3a6b45;
    margin: 48px auto;
    width: 50%;
    opacity: 0.3;
}

/* ==================== Footer ==================== */

footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
    font-size: 10pt;
    color: #666;
    text-align: center;
}

footer a {
    color: #3a6b45;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

footer a:hover {
    border-bottom-color: #3a6b45;
}

/* ==================== Responsive ==================== */

@media (max-width: 479px) {
    h1.title { font-size: 22pt; }
    h2 { font-size: 15pt; }
    body { font-size: 12pt; }
    .header h1 { font-size: 36pt; }
    .header { min-height: 220px; padding: 30px 20px; }
    .header.compact h1 { font-size: 24pt; }
    .header.compact { min-height: 180px; }
    .notes { padding: 20px 20px; }
}

@media (min-width: 480px) and (max-width: 767px) {
    h1.title { font-size: 25pt; }
    h2 { font-size: 16pt; }
    .header h1 { font-size: 42pt; }
    .header { min-height: 260px; }
}
