/* /blog/blog-style.css */

.blog-container {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-single-container {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h1 {
    color: #f8fafc;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-header p {
    color: #94a3b8;
    font-size: 1.1rem;
}

.blog-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
}

.blog-card-inner {
    padding: 30px;
	position:relative;
}

.blog-content p a {
	padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: rgb(255 255 255 / 5%);
    color: #00a1ff;
}

.blog-content b {color:gold}

.blog-image-wrapper {
    display: block;
    max-height: 300px;
    overflow: hidden;
    background: #0f172a;
}

.blog-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.blog-image-wrapper img:hover {
    transform: scale(1.02);
}

.blog-single-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
}

.blog-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-date {
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.5rem;
    margin: 10px 0;
}

.blog-title a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #38bdf8;
}

.blog-single-title {
    color: #f8fafc;
    font-size: 2.2rem;
    margin: 15px 0 25px 0;
    line-height: 1.3;
}

.blog-excerpt {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-content {
    color: #d6dfeb;
    font-size: 110%;
    line-height: 1.7;
}

.blog-content h3 {
  position: relative;
  text-align: center;
  font-size: 1.5rem;
  color: #ffffff;
  padding: 15px 20px;
  margin: 40px 0 20px 0;
  display: block; /* Mantiene la larghezza piena del blocco */
}

/* Bordo superiore sfumato (2px bianco) */
.blog-content h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9), transparent);
}

/* Bordo inferiore sfumato (2px bianco) */
.blog-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.blog-back-articles {background: #1d83b1;
    padding: 5px;
    display: block;
    float: right;
    border-radius: 5px;
    font-size: 0.9rem;
    position: absolute;
    top: 0px;
    right: 0;}

.blog-read-more {
    color: #38bdf8;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
}

.blog-read-more:hover {
    text-decoration: underline;
}

.blog-empty {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    color: #94a3b8;
}