@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500&display=swap');

body { 
    background: white url(/img/background.gif) repeat-x center top;
 }

.site-title {
    font-family: 'Caveat', cursive;
    letter-spacing: 0.18em;
    font-size: 1.6rem;
    font-weight: 500;
    color: #2a2a2a;
    text-transform: uppercase;
}

nav a {
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    transition: color 0.15s;
}

nav a:hover { color: #000; }

nav a.active {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer { font-size: 0.78rem; color: #888; }

/* Index grid */
.post-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: opacity 0.2s;
}
.post-img:hover { opacity: 0.85; }
.grid-post-title {
    font-size: 0.85rem;
    color: #222;
    margin-top: 0.5rem;
    line-height: 1.4;
}
.pagination a, .pagination span {
    font-size: 0.82rem;
    color: #444;
    padding: 0 6px;
}
.pagination a:hover { color: #000; }
.pagination .current-page { color: #000; font-weight: 600; }

/* Simple image post */
.image-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
}
.back-link { font-size: 0.82rem; color: #666; text-decoration: none; }
.back-link:hover { color: #000; }

/* Full article post */
.article-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.post-body {
    font-size: 0.9rem;
    color: #222;
    line-height: 1.8;
}
.post-body p, .post-body h2, .post-body h3, .post-body h4 { margin-top: 1.25rem; }
.post-body h2 { font-size: 1.3rem; font-weight: 600; color: #222;}
.post-body a { color: #4a7cc7; text-decoration: underline; }
.post-body a:hover { color: #2a5ca0; }
.post-body img { max-width: 100%; height: auto; display: block; margin: 2rem auto; }
.post-tags {
    font-size: 0.78rem;
    color: #888;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #ddd;
}
.post-tags a { color: #666; text-decoration: none; }
.post-tags a:hover { color: #000; }
.post-nav {
    font-size: 0.82rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.post-nav a { color: #4a7cc7; text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

/* About */
.about-body { font-size: 0.88rem; color: #222; line-height: 1.75; }
.about-body p { margin-top: 1.25rem; }
.about-body a { color: #4a7cc7; text-decoration: none; }
.about-body a:hover { text-decoration: underline; }

/* Store */
.product-title { font-size: 1rem; font-weight: 600; color: #222; margin-bottom: 0.25rem; }
.product-price { font-size: 0.9rem; color: #444; margin-bottom: 0.75rem; }
.product-desc { font-size: 0.85rem; color: #444; line-height: 1.7; }
.product-desc a { color: #4a7cc7; text-decoration: none; }
.product-specs { font-size: 0.82rem; color: #666; margin-top: 0.75rem; line-height: 1.8; }
.buy-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.45rem 1.25rem;
    background-color: #222;
    color: #fff;
    font-size: 0.82rem;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background-color 0.15s;
}
.buy-btn:hover { background-color: #444; }

/* Contact */
.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.5rem;
}
label { font-size: 0.82rem; color: #444; display: block; margin-bottom: 0.25rem; }
input[type="text"], input[type="email"], textarea {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    color: #222;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus { border-color: #888; }
textarea { resize: vertical; min-height: 100px; }
.submit-btn {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    background-color: #222;
    color: #fff;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background-color 0.15s;
    font-family: inherit;
}
.submit-btn:hover { background-color: #444; }
.snail-mail { font-size: 0.85rem; color: #444; line-height: 1.8; }