/*
Theme Name: Compass
Theme URI: https://vonralls.com
Author: Von Ralls
Author URI: https://vonralls.com
Description: A minimal personal publishing theme for Von Ralls.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: compass
*/

html {
    scroll-behavior: smooth;
}

body {
    background: #FAFAF7;
    color: #1C1C1C;
    font-family: "Inter", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: #2563EB;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wp-site-blocks {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

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

.site-header {
    padding: 32px 0 48px;
    border-bottom: 1px solid #E6E6E6;
    margin-bottom: 48px;
}

.site-header .wp-block-site-title {
    margin: 0;
}

.site-header .wp-block-site-title a {
    color: #1C1C1C;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.site-header .wp-block-site-tagline {
    margin-top: 6px;
    color: #666666;
    font-size: 0.95rem;
}

.site-header .wp-block-navigation {
    margin-top: 24px;
    font-size: 0.95rem;
    gap: 1.75rem;
}

.site-header .wp-block-navigation a {
    color: #666666;
    text-decoration: none;
    transition: color .2s ease;
}

.site-header .wp-block-navigation a:hover,
.site-header .wp-block-navigation .current-menu-item a {
    color: #1C1C1C;
}
.hero-section {
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-section h1 {
    font-size: clamp(48px, 8vw, 80px);
    margin-bottom: 12px;
}

.hero-section p {
    max-width: 720px;
}

.wp-block-post-title {
    font-size: 36px;
}

.article-card {

    background: #FFFFFF;

    border: 1px solid #E6E6E6;

    border-radius: 18px;

    padding: 24px;

    margin-bottom: 32px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.article-card:hover {

    transform: translateY(-4px);

}


.article-card img {

    width: 100%;

    border-radius: 12px;

    margin-bottom: 20px;

}


.article-card .wp-block-post-title {

    font-size: 32px;

    margin-top: 12px;

}


.article-card .wp-block-post-terms {

    font-size: 14px;

    text-transform: uppercase;

    letter-spacing: .08em;

}

.article-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: center;
}


.article-card img {
    width: 260px;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}


.article-card .wp-block-post-title {
    font-size: 30px;
}


.article-card .wp-block-post-excerpt {
    color: #666;
}


@media (max-width: 768px) {

    .article-card {
        display: block;
    }

    .article-card img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

}
.site-header {
    padding-top: 48px;
    padding-bottom: 80px;
}

.site-header .wp-block-navigation {
    font-size: 15px;
}

.site-header .wp-block-navigation a {
    color: #666666;
}

.site-header .wp-block-navigation a:hover {
    color: #1C1C1C;
}

.hero-section {
    max-width: 850px;
    padding-bottom: 120px;
}

.hero-section h1 {
    max-width: 700px;
    font-size: clamp(52px, 7vw, 84px);
    letter-spacing: -0.04em;
}

.hero-section p {
    font-size: 21px;
    max-width: 650px;
    color: #555;
}

.wp-block-separator {
    border: 0;
    border-top: 1px solid #E6E6E6;
    margin-top: 80px;
    margin-bottom: 80px;
}

.topic-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;

    margin-top: 32px;

}


.topic-card {

    background: #FFFFFF;

    border: 1px solid #E6E6E6;

    border-radius: 18px;

    padding: 28px;

    transition:
        transform .2s ease;

}


.topic-card:hover {

    transform: translateY(-4px);

}


.topic-card h3 {

    margin-top: 0;

    font-size: 26px;

}


.topic-card p {

    color: #666666;

    font-size: 16px;

}


@media(max-width:768px) {

    .topic-grid {

        grid-template-columns: 1fr;

    }

}

/* Compass Article Experience */

.single-post-header {
    max-width: 850px;
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 40px;
    text-align: center;
}

.single-post-header h1 {
    font-size: clamp(48px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-top: 24px;
    margin-bottom: 24px;
}

.single-post-header .wp-block-post-excerpt {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 22px;
    line-height: 1.5;
    color: #666;
}

.post-meta {
    margin-top: 24px;
    font-size: 15px;
    color: #777;
}


.article-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.article-content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.article-content h2 {
    margin-top: 64px;
    margin-bottom: 24px;
    font-size: 38px;
    letter-spacing: -0.03em;
}

.article-content h3 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 28px;
}

.article-content blockquote {
    margin: 48px 0;
    padding-left: 32px;
    font-size: 26px;
    line-height: 1.5;
}