/* The Future Man's Blog — Ghost Theme */
/* Dark masculine layout — black, gold, bold */

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

body {
    background: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.7;
    font-size: 15px;
}

a { color: #c9a84c; text-decoration: none; }
a:hover { color: #f0c040; }

/* ── Header ── */
.site-header {
    background: #000;
    border-bottom: 3px solid #c9a84c;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}
.site-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-icon {
    color: #c9a84c;
    font-size: 22px;
    font-weight: 900;
}
.brand-name {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.site-nav a {
    color: #ccc;
    margin-left: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}
.site-nav a:hover { color: #c9a84c; }
.header-tagline {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* ── Banner Bar ── */
.banner-bar {
    background: #c9a84c;
    color: #000;
    padding: 7px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.banner-label {
    background: #000;
    color: #c9a84c;
    padding: 2px 8px;
    margin-right: 10px;
    font-size: 11px;
}

/* ── 3-Column Layout ── */
.site-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr 240px;
    grid-template-areas: "sidebar-left main sidebar-right";
    gap: 24px;
    padding: 24px 20px;
}
.sidebar-left  { grid-area: sidebar-left; }
.site-main     { grid-area: main; }
.sidebar-right { grid-area: sidebar-right; }

/* ── Widgets ── */
.widget {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-top: 3px solid #c9a84c;
    padding: 16px;
    margin-bottom: 20px;
}
.widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c9a84c;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a;
}
.widget ul { list-style: none; padding: 0; }
.widget ul li {
    padding: 5px 0;
    border-bottom: 1px solid #222;
    font-size: 13px;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: #ccc; font-size: 13px; }
.widget ul li a:hover { color: #c9a84c; padding-left: 4px; transition: padding 0.2s; }
.cat-count { font-size: 11px; color: #555; }

/* ── Daily Quote ── */
.daily-quote {
    font-style: italic;
    color: #999;
    font-size: 13px;
    border-left: 3px solid #c9a84c;
    padding-left: 12px;
    line-height: 1.6;
}
.daily-quote cite {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #c9a84c;
    font-style: normal;
    font-weight: 600;
}

/* ── Search ── */
.btn-search-trigger {
    width: 100%;
    padding: 10px 14px;
    background: #c9a84c;
    color: #000;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-search-trigger:hover { background: #f0c040; }

/* ── Ad Placeholder ── */
.ad-placeholder {
    background: #111;
    border: 1px dashed #333;
    padding: 40px 10px;
    text-align: center;
}

/* ── Post Cards ── */
.post-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-bottom: 24px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.post-card:hover { border-color: #c9a84c; }
.post-card-image-link { display: block; }
.post-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s;
}
.post-card:hover .post-card-image { filter: brightness(1); }
.post-card-content { padding: 18px 20px 20px; }
.post-card-tags { margin-bottom: 8px; }
.tag {
    display: inline-block;
    background: #c9a84c;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    margin-right: 4px;
}
.post-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    text-transform: uppercase;
}
.post-card-title a { color: #fff; }
.post-card-title a:hover { color: #c9a84c; }
.post-card-excerpt { color: #999; font-size: 14px; margin-bottom: 14px; line-height: 1.6; }
.post-card-meta { font-size: 12px; color: #555; margin-bottom: 14px; }
.post-card-meta time { margin-right: 12px; }
.btn-read-more {
    display: inline-block;
    background: transparent;
    color: #c9a84c;
    border: 1px solid #c9a84c;
    padding: 7px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}
.btn-read-more:hover { background: #c9a84c; color: #000; }

/* ── Pagination ── */
.pagination { text-align: center; padding: 20px 0; color: #555; font-size: 13px; }
.pagination a { color: #c9a84c; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ── Right Sidebar ── */
.widget-mission p { font-size: 13px; color: #999; line-height: 1.6; margin-bottom: 14px; }
.btn-youtube {
    display: block;
    background: #c9a84c;
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-youtube:hover { background: #f0c040; color: #000; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.email-input {
    padding: 9px 12px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-size: 13px;
    outline: none;
}
.email-input:focus { border-color: #c9a84c; }
.btn-subscribe {
    background: #c9a84c;
    color: #000;
    border: none;
    padding: 9px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-subscribe:hover { background: #f0c040; }
.popular-list, .recent-list { list-style: none; padding: 0; }
.popular-list li, .recent-list li {
    padding: 7px 0;
    border-bottom: 1px solid #222;
    font-size: 13px;
}
.popular-list li:last-child, .recent-list li:last-child { border-bottom: none; }
.popular-list a, .recent-list a { color: #ccc; font-size: 13px; line-height: 1.4; }
.popular-list a:hover, .recent-list a:hover { color: #c9a84c; }
.post-date { display: block; font-size: 11px; color: #555; margin-top: 2px; }

/* ── Full Post ── */
.post-feature-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.post-full-header {
    background: #1a1a1a;
    border-left: 4px solid #c9a84c;
    padding: 24px;
    margin-bottom: 24px;
}
.post-full-title {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 10px 0;
}
.post-full-meta { font-size: 12px; color: #555; margin-top: 10px; }
.post-full-meta time { margin-right: 16px; }
.post-full-content {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 28px;
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
    overflow: hidden;
    word-wrap: break-word;
    max-width: 100%;
}
.post-full-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    border-left: 4px solid #c9a84c;
    padding-left: 14px;
    margin: 28px 0 14px;
}
.post-full-content h3 { font-family: 'Oswald', sans-serif; font-size: 18px; color: #c9a84c; margin: 20px 0 10px; }
.post-full-content p { margin-bottom: 16px; }
.post-full-content ul, .post-full-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-full-content li { margin-bottom: 6px; color: #ccc; }
.post-full-content strong { color: #fff; font-weight: 600; }
.post-full-content code { background: #111; color: #c9a84c; padding: 2px 6px; font-family: monospace; font-size: 13px; border: 1px solid #333; }
.post-full-content a { color: #c9a84c; border-bottom: 1px solid #c9a84c44; }
.post-full-content a:hover { color: #f0c040; }
.post-full-content figure { margin: 20px 0; }
.post-full-content figure img { width: 100%; max-width: 100%; height: auto; border: 1px solid #2a2a2a; }
.post-full-content figcaption { font-size: 12px; color: #555; text-align: center; margin-top: 6px; }
.inline-image { margin: 24px 0; }
.inline-image img { width: 100%; height: auto; border: 1px solid #2a2a2a; }

/* ── Share Buttons ── */
.post-share {
    margin-top: 24px;
    padding: 16px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.share-btn {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #333;
    color: #ccc;
}
.share-btn:hover { background: #c9a84c; color: #000; border-color: #c9a84c; }

/* ── Tag Pages ── */
.tag-header {
    border-left: 4px solid #c9a84c;
    padding: 16px 20px;
    margin-bottom: 28px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #c9a84c;
}
.tag-title { font-family: 'Oswald', sans-serif; font-size: 26px; color: #fff; text-transform: uppercase; margin: 0 0 6px; }
.tag-description { font-size: 14px; color: #777; margin: 0 0 4px; }
.tag-count { font-size: 12px; color: #555; margin: 0; }

/* ── Search Page ── */
.search-page { padding: 10px 0 30px; }
.search-page-title { font-family: 'Oswald', sans-serif; font-size: 24px; color: #fff; text-transform: uppercase; margin-bottom: 18px; }
.search-bar { display: flex; gap: 0; margin-bottom: 16px; }
.search-bar input {
    flex: 1; padding: 12px 14px;
    background: #1a1a1a; border: 1px solid #333; border-right: none;
    color: #fff; font-size: 14px; outline: none;
}
.search-bar input:focus { border-color: #c9a84c; }
.search-bar button {
    padding: 12px 24px; background: #c9a84c; color: #000;
    border: none; font-weight: 700; cursor: pointer; font-size: 13px;
    text-transform: uppercase; letter-spacing: 1px;
}
.search-bar button:hover { background: #f0c040; }
.search-status { font-size: 13px; color: #555; margin-bottom: 16px; min-height: 20px; }

/* ── Newsletter widget ── */
.widget-newsletter p { font-size: 13px; color: #999; margin-bottom: 10px; }

/* ── Footer ── */
.site-footer {
    background: #000;
    border-top: 3px solid #c9a84c;
    color: #555;
    padding: 24px 20px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand { color: #c9a84c; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 2px; }
.footer-links a { color: #555; text-decoration: none; margin-left: 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a:hover { color: #c9a84c; }
.footer-copy { font-size: 12px; width: 100%; text-align: center; border-top: 1px solid #1a1a1a; padding-top: 14px; margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .site-wrapper {
        grid-template-columns: 1fr;
        grid-template-areas: "main" "sidebar-right" "sidebar-left";
    }
    .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
    .header-tagline { display: none; }
}
