/* blog.css – Styles für Blog-Übersichtsseite */

main {
max-width: 1200px;
margin: 2rem auto;
padding: 0 2rem;
}

.blog-intro {
background: rgba(247,147,26,0.05);
border-left: 4px solid var(--primary, #F7931A);
border-radius: 8px;
margin-bottom: 2.5rem;
padding: 2rem;
box-shadow: 0 4px 16px rgba(247,147,26,0.07);
}

.blog-intro h2 {
color: var(--primary, #F7931A);
font-size: 2.2rem;
margin-bottom: 1rem;
}

.blog-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 2.5rem;
}

.blog-card {
background: #fff;
border-radius: 12px;
box-shadow: 0 6px 24px rgba(247,147,26,0.10);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
transform: translateY(-6px) scale(1.02);
box-shadow: 0 12px 36px rgba(247,147,26,0.16);
}

.blog-image-link {
display: block;
overflow: hidden;
}

.blog-article-image {
display: block;
max-width: 100%;
height: auto;
margin: 2rem auto;
border-radius: 12px;
object-fit: cover;
/* Optional: Begrenze die maximale Höhe */
max-height: 380px;
}

.blog-card:hover .blog-image {
transform: scale(1.06);
}

.blog-content {
padding: 1.5rem;
display: flex;
flex-direction: column;
flex: 1;
}

.blog-content h3 {
margin: 0 0 0.8rem 0;
font-size: 1.4rem;
color: var(--primary, #F7931A);
font-family: 'Playfair Display', serif;
}

.blog-content h3 a {
color: inherit;
text-decoration: none;
}

.blog-meta {
font-size: 0.95rem;
color: #888;
margin-bottom: 1rem;
}

.blog-excerpt {
flex: 1;
font-size: 1.08rem;
color: #333;
margin-bottom: 1.2rem;
}

.blog-readmore {
color: var(--primary, #F7931A);
font-weight: 600;
text-decoration: none;
transition: color 0.2s;
align-self: flex-start;
border-bottom: 1px solid transparent;
}

.blog-readmore:hover {
color: #e67e00;
border-bottom: 1px solid #e67e00;
}

@media (max-width: 700px) {
main {
padding: 0 0.5rem;
}
.blog-intro {
padding: 1.2rem;
}
.blog-list {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.blog-image {
height: 160px;
}
}

/* --- Hardware Wallets Tabellenstil --- */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(247,147,26,0.07);
}

.blog-content th,
.blog-content td {
  padding: 0.6em 0.4em;
  text-align: left;
}

.blog-content th {
  background: #f7f7f7;
  color: var(--primary, #F7931A);
  border-bottom: 2px solid var(--primary, #F7931A);
  font-weight: 600;
}

.blog-content tr:nth-child(even) {
  background: #faf6f2;
}

.blog-content tr:nth-child(odd) {
  background: #fff;
}

.blog-content td {
  border-bottom: 1px solid #eee;
}

@media (max-width: 700px) {
  .blog-content table,
  .blog-content thead,
  .blog-content tbody,
  .blog-content tr,
  .blog-content th,
  .blog-content td {
    display: block;
    width: 100%;
  }
  .blog-content tr {
    margin-bottom: 1.2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(247,147,26,0.07);
    background: #fff !important;
  }
  .blog-content th {
    border-bottom: none;
    background: #f7f7f7;
    color: var(--primary, #F7931A);
    font-size: 1.1em;
  }
  .blog-content td {
    border-bottom: none;
    padding: 0.5em 0.4em;
    font-size: 1em;
  }
}


  .cta-button {
    display: inline-block;
    margin: 10px 0;
    padding: 12px 24px;
    background-color: #2e7d32; /* Dunkelgrün, anpassbar */
    color: white;
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
  }
  .cta-button:hover {
    background-color: #1b5e20;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
  }
  .cta-button i {
    margin-right: 8px;
  }
