/* Neo-Brutalism Theme */
:root {
  --bg-color: #f0f0f0;
  --text-color: #000;
  --primary-color: #ff3e00;
  --secondary-color: #00ff00;
  --border-width: 4px;
  --card-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1rem;
}

/* Clickable site title */
.site-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.site-title-link:hover h1 {
  text-decoration: underline;
  text-decoration-thickness: 4px;
}

/* Two-column layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 1rem;
}

.sidebar-widget {
  background: #fff;
  border: 4px solid #000;
  padding: 1.2rem 1.5rem;
  box-shadow: 6px 6px 0 #000;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 1rem 0;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid #000;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: #000;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-list a:hover {
  text-decoration: underline;
  color: #ff3e00;
}

.sidebar-date {
  font-size: 0.75rem;
  color: #888;
  font-weight: 400;
}

header {
  border: var(--border-width) solid #000;
  background: var(--secondary-color);
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -2px;
}

header p {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
  background: #fff;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid #000;
}

/* Grid Layout */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
}

/* Article Cards */
.article-card {
  background: white;
  border: var(--border-width) solid #000;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px 0px rgba(0, 0, 0, 1);
}

.article-card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.article-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-card .meta {
  font-weight: bold;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.read-more-btn {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  padding: 0.8rem 1.2rem;
  border: 2px solid #000;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}

.read-more-btn:hover {
  background: #000;
  color: var(--primary-color);
}

article {
  background: white;
  border: var(--border-width) solid #000;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  margin-bottom: 2rem;
}

.crypto-card {
  background: var(--secondary-color);
  border: var(--border-width) solid #000;
  padding: 1rem;
  margin: 1rem 0;
  font-weight: bold;
}

footer {
  margin-top: 4rem;
  border: var(--border-width) solid #000;
  background: #fff;
  padding: 2rem;
  text-align: center;
  font-weight: bold;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #eee;
}

.breadcrumb a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}

.breadcrumb span {
  color: #555;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
  display: inline-block;
  vertical-align: bottom;
}

.ad-slot {
  border: 2px dashed #ff3e00;
  padding: 1rem;
  margin: 1rem 0;
  background: #fff;
  text-align: center;
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .article-grid { grid-template-columns: 1fr; }
}

/* ── KEYWORD TAGS ── */
.keyword-tags {
  margin: 1.5rem 0 1rem;
  padding: 1rem;
  background: #f5f5f5;
  border-left: 4px solid #ff3e00;
  font-size: 0.85rem;
}

.keyword-tags strong {
  font-weight: 700;
  margin-right: 0.5rem;
}

.tag {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── RELATED ARTICLES ── */
.related-articles {
  margin: 2rem 0 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #ff3e00;
}

.related-articles h3 {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #000;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.related-list li:last-child {
  border-bottom: none;
}

.related-list a {
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.4;
}

.related-list a:hover {
  color: #ff3e00;
  text-decoration: underline;
}
