/*!
 * Theme Name: Curul
 * Theme URI: https://typecho.org
 * Description: A custom theme generated by Typecho Theme Studio
 * Author: Typecho Theme Studio
 * Author URI: https://typecho.org
 * Version: 1.0
 * License: MIT
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&family=Space+Grotesk:wght@400;700&family=Crimson+Text:wght@400;700&family=JetBrains+Mono:wght@400;700&display=swap');


@font-face {
    font-family: 'EnkaDotGothic24';
    src: url('fonts/EnkaDotGothic24.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EnkaDotMincho24';
    src: url('fonts/EnkaDotMincho24.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'madoufmg';
    src: url('fonts/madoufmg.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewClear-mincho';
    src: url('fonts/NewClear-mincho.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HannariMincho-Regular';
    src: url('fonts/HannariMincho-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kokoro';
    src: url('fonts/Kokoro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HanaMinB';
    src: url('fonts/HanaMinB.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HanaMinA';
    src: url('fonts/HanaMinA.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GL-CurulMinamoto';
    src: url('fonts/GL-CurulMinamoto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
    --bg-color: #eff0e9;
    --header-bg: #dce2ce;
    --title-color: #3b383c;
    --text-color: #3a383c;
    --accent-color: #3b383c;
    --sidebar-bg: #eff0e9;
    --footer-bg: #eff0e9;
    --nav-bg: #eff0e9;
    --border-color: #3b383c;
    --site-title-font: 'EnkaDotMincho24', sans-serif;
    --article-title-font: 'GL-CurulMinamoto', sans-serif;
    --body-font: 'GL-CurulMinamoto', sans-serif;
    --button-font: 'GL-CurulMinamoto', sans-serif;
    --border-width: 1px;
    --border-style: solid;
    --border-radius: 0px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--body-font);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;

}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--header-bg);
    padding: 60px 0;
    text-align: center;
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    background-image: url('images/header.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--header-bg);
    opacity: 0.7;
}

.site-header .container { position: relative; z-index: 1; }

.site-title {
    font-family: var(--site-title-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 8px;
    text-decoration: none;
    display: inline-block;
}

.site-description {
    font-family: var(--body-font);
    color: var(--text-color);
    opacity: 0.8;
}

/* Navigation */
.site-nav {
    background: var(--nav-bg);
    border-bottom: var(--border-width) var(--border-style) var(--border-color);
    padding: 16px 0;
}

.site-nav .container {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.nav-item {
    font-family: var(--body-font);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-item:hover { color: var(--accent-color); }

/* Main Layout */
.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 40px 0;
}

/* Posts */
.post { margin-bottom: 40px; }

.post-title {
    font-family: var(--article-title-font);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-title a { color: inherit; text-decoration: none; }

.post-meta {
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 20px;
}

.post-content {
    font-family: var(--body-font);
    line-height: 1.8;
    color: var(--text-color);
}

.post-content p { margin-bottom: 16px; }

.read-more {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: var(--button-font);
    font-weight: 500;
    transition: opacity 0.2s;
}

.read-more:hover { opacity: 0.9; }

/* Sidebar */
.sidebar {
    padding: 24px;
    background: var(--sidebar-bg);
    border-radius: var(--border-radius);
    height: fit-content;
    border: var(--border-width) var(--border-style) var(--border-color);
}

.widget { margin-bottom: 24px; }

.widget-title {
    font-family: var(--article-title-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

.widget-content {
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.6;
}

.widget-item {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

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

/* Footer */
.site-footer {
    padding: 24px 0;
    text-align: center;
    background: var(--footer-bg);
    border-top: var(--border-width) var(--border-style) var(--border-color);
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .site-title { font-size: 2rem; }
    .post-title { font-size: 1.5rem; }
}

/* Comments, Pagination, etc. would go here */
