
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #f7f5f2;
    color: #222222;
    line-height: 1.7;
}

header {
    background-color: #111111;
    color: #f7f5f2;
    padding: 24px 16px;
    border-bottom: 4px solid #c0392b;
}

.header-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-subtitle {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 16px;
    opacity: 0.9;
}

nav {
    margin-top: 4px;
}

nav a {
    color: #f7f5f2;
    text-decoration: none;
    margin-right: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 16px 48px 16px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}

.hero-text h1 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 12px;
}

.hero-text p.lead {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 12px;
}

.hero-text p {
    margin-top: 0;
    margin-bottom: 12px;
}

.hero-aside {
    border-left: 3px solid #c0392b;
    padding-left: 16px;
    font-size: 14px;
    font-style: italic;
    color: #444444;
}

.hero-quote {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 15px;
    margin-bottom: 8px;
}

.hero-meta {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777777;
}

.section-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 8px;
    border-bottom: 2px solid #111111;
    padding-bottom: 4px;
}

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777777;
    margin-bottom: 16px;
}

.article-block {
    margin-bottom: 20px;
}

.article-block p {
    margin-top: 0;
    margin-bottom: 10px;
}

.highlight-box {
    border-left: 3px solid #c0392b;
    padding-left: 12px;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #444444;
}

.book-block {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

.book-meta {
    font-size: 14px;
    color: #555555;
}

.book-cover-placeholder {
    width: 100%;
    max-width: 260px;
    height: 360px;
    border: 1px solid #cccccc;
    background: repeating-linear-gradient(
        -45deg,
        #f7f5f2,
        #f7f5f2 8px,
        #e3dfd8 8px,
        #e3dfd8 16px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 14px;
    color: #555555;
    padding: 16px;
}

.meta-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 14px;
}

.meta-list li {
    margin-bottom: 6px;
}

.media-list {
    list-style: none;
    padding-left: 0;
    font-size: 14px;
}

.media-list li {
    margin-bottom: 10px;
}

.media-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #111111;
    color: #f7f5f2;
    padding: 2px 6px;
    margin-right: 8px;
}

form {
    max-width: 480px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 12px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    font-size: 14px;
    font-family: inherit;
    background-color: #ffffff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    background-color: #111111;
    color: #f7f5f2;
    border: none;
    padding: 9px 18px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 2px;
}

button:hover {
    background-color: #2c2c2c;
}

footer {
    background-color: #111111;
    color: #f7f5f2;
    padding: 16px;
    font-size: 13px;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-inner a {
    color: #f7f5f2;
    text-decoration: none;
}

.footer-inner a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .book-block {
        grid-template-columns: minmax(0, 1fr);
    }
}
