/* Project page styles */
.articles-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
    color: cornsilk;
}

.articles-page h1 {
    color: forestgreen;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.articles-page a,
.articles-page a:visited {
    color: #ffcc00;
    display: inline-block;
    transition: transform 0.2s ease;
}

.articles-page a:hover {
    transform: scale(1.3);
}

 .articles-page pre {
    background-color: #2c2c2c;        /* slightly dark */
    color: #e0e0e0;                     /* light text for contrast */
    padding: 0.75rem 1rem;
    border-radius: 4px;
    overflow-x: auto;                 /* horizontal scroll if needed */
    font-family: "Fira Code", Consolas, Menlo, monospace;
}

.code-table {
  max-width: 600px;
  margin: 1rem 0;
  border-collapse: separate;
  border-spacing: 0 1px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.code-table th,
.code-table td {
  padding: 0.5rem 2rem;
  border-bottom: 1px solid #444;
  text-align: left;
}

.code-table a {
  color: darkorange;
  text-decoration: none;
}

.article-container .img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
}
.articles-image img:hover {
    transform: scale(1.02);
}

.articles-description {
    line-height: 1.6;
}

.articles-description h2, .articles-description h3 {
    color: darkorange;
    margin-top: 25px;
    border-bottom: 2px solid rgba(255, 140, 0, 0.3);
    padding-bottom: 5px;
}

.articles-description ul {
    margin-left: 20px;
}

.articles-description li {
    margin: 8px 0;
    color: #ddd;
}

/* CSS – add to any .css file you already load */
.box-info {
    display: flex;
    align-items: flex-start;
    font-weight: bold;
    font-style: italic;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px dashed #0af;          /* traced / dashed line */
    border-radius: 6px;
    background: rgba(0, 170, 255, 0.05);
    color: #080;
    line-height: 1.5;
}

.info-icon {
    font-size: 2rem;
    color: #0af;
    flex-shrink: 0;
}

.article-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.article-card .thumb {
  border-radius: 4px;
  object-fit: cover;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .articles-page {
        padding: 15px;
    }
    
    .articles-page h1 {
        font-size: 1.8em;
    }
    
    .articles-link-item {
        padding: 12px;
    }
}
