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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
--bg-color: #fdfcf0; /* Warm cream paper */
|
| 3 |
+
--text-color: #1a1a1a;
|
| 4 |
+
--accent-color: #c04e2e; /* Terracotta */
|
| 5 |
+
--secondary-color: #666;
|
| 6 |
+
--border-color: #e5e0d0;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
body {
|
| 10 |
+
background-color: var(--bg-color);
|
| 11 |
+
color: var(--text-color);
|
| 12 |
+
font-family: 'EB Garamond', serif;
|
| 13 |
+
line-height: 1.6;
|
| 14 |
+
margin: 0;
|
| 15 |
+
padding: 0;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.container {
|
| 19 |
+
max-width: 800px;
|
| 20 |
+
margin: 0 auto;
|
| 21 |
+
padding: 0 2rem;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
header {
|
| 25 |
+
padding: 3rem 0;
|
| 26 |
+
border-bottom: 1px solid var(--border-color);
|
| 27 |
+
margin-bottom: 4rem;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.header-nav {
|
| 31 |
+
display: flex;
|
| 32 |
+
justify-content: space-between;
|
| 33 |
+
align-items: baseline;
|
| 34 |
+
margin-bottom: 1rem;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.logo {
|
| 38 |
+
font-family: 'Playfair Display', serif;
|
| 39 |
+
font-size: 1.5rem;
|
| 40 |
+
font-weight: 700;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
nav a {
|
| 44 |
+
text-decoration: none;
|
| 45 |
+
color: var(--text-color);
|
| 46 |
+
margin-left: 1.5rem;
|
| 47 |
+
font-family: 'Inter', sans-serif;
|
| 48 |
+
font-size: 0.9rem;
|
| 49 |
+
text-transform: uppercase;
|
| 50 |
+
letter-spacing: 0.05em;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.header-concept {
|
| 54 |
+
font-family: 'Inter', sans-serif;
|
| 55 |
+
font-size: 0.8rem;
|
| 56 |
+
color: var(--secondary-color);
|
| 57 |
+
text-transform: uppercase;
|
| 58 |
+
letter-spacing: 0.1em;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.hero {
|
| 62 |
+
margin-bottom: 6rem;
|
| 63 |
}
|
| 64 |
|
| 65 |
h1 {
|
| 66 |
+
font-family: 'Playfair Display', serif;
|
| 67 |
+
font-size: 4rem;
|
| 68 |
+
line-height: 1.1;
|
| 69 |
+
margin: 0 0 1.5rem 0;
|
| 70 |
+
color: var(--text-color);
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.subtitle {
|
| 74 |
+
font-size: 1.4rem;
|
| 75 |
+
color: var(--secondary-color);
|
| 76 |
+
max-width: 600px;
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
.article-list article {
|
| 80 |
+
margin-bottom: 4rem;
|
| 81 |
+
display: grid;
|
| 82 |
+
grid-template-columns: 120px 1fr;
|
| 83 |
+
gap: 2rem;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
time {
|
| 87 |
+
font-family: 'Inter', sans-serif;
|
| 88 |
+
font-size: 0.8rem;
|
| 89 |
+
color: var(--accent-color);
|
| 90 |
+
text-transform: uppercase;
|
| 91 |
+
letter-spacing: 0.05em;
|
| 92 |
+
padding-top: 0.5rem;
|
| 93 |
}
|
| 94 |
|
| 95 |
+
h2 {
|
| 96 |
+
font-family: 'Playfair Display', serif;
|
| 97 |
+
font-size: 2rem;
|
| 98 |
+
margin: 0 0 1rem 0;
|
| 99 |
+
line-height: 1.2;
|
| 100 |
}
|
| 101 |
|
| 102 |
+
.article-body p {
|
| 103 |
+
font-size: 1.2rem;
|
| 104 |
+
margin-bottom: 1rem;
|
| 105 |
+
color: #333;
|
|
|
|
|
|
|
| 106 |
}
|
| 107 |
|
| 108 |
+
.tags {
|
| 109 |
+
display: flex;
|
| 110 |
+
gap: 1rem;
|
| 111 |
}
|
| 112 |
+
|
| 113 |
+
.tags span {
|
| 114 |
+
font-family: 'Inter', sans-serif;
|
| 115 |
+
font-size: 0.75rem;
|
| 116 |
+
color: var(--secondary-color);
|
| 117 |
+
border: 1px solid var(--border-color);
|
| 118 |
+
padding: 2px 8px;
|
| 119 |
+
border-radius: 4px;
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
footer {
|
| 123 |
+
margin-top: 8rem;
|
| 124 |
+
padding: 4rem 0;
|
| 125 |
+
border-top: 1px solid var(--border-color);
|
| 126 |
+
font-family: 'Inter', sans-serif;
|
| 127 |
+
font-size: 0.8rem;
|
| 128 |
+
color: var(--secondary-color);
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.footer-content {
|
| 132 |
+
display: flex;
|
| 133 |
+
justify-content: space-between;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
@media (max-width: 600px) {
|
| 137 |
+
h1 { font-size: 2.5rem; }
|
| 138 |
+
.article-list article {
|
| 139 |
+
grid-template-columns: 1fr;
|
| 140 |
+
gap: 0.5rem;
|
| 141 |
+
}
|
| 142 |
+
}
|