.top-nav {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.top-nav-title a {
    color: gold;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.top-nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.top-nav-links a:hover {
    color: rgb(0, 238, 255);
    border-bottom: 2px solid gold;
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-nav-links {
        margin-top: 0.5rem;
        display: flex;
        flex-wrap: wrap;
    }

    .top-nav-links a {
        margin: 0.5rem 1rem 0 0;
    }
}


.data-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.data-card {
  flex: 1 1 calc(25% - 1rem);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 220px;
  transition: transform 0.2s;
}

.data-card:hover {
  transform: translateY(-4px);
}

.card-green { background-color: #4CAF50; }
.card-yellow { background-color: #FFEB3B; color: #333; }
.card-orange { background-color: #FF9800; }
.card-silver { background-color: #C0C0C0; color: #000; }

.data-card h3 {
  margin-top: 0;
}

.card-actions {
  margin-top: 1rem;
}

.card-actions a {
  margin-right: 0.5rem;
  display: inline-block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  background-color: #fff;
  color: #333;
  transition: background-color 0.3s;
}

.card-actions a:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .data-card {
    flex: 1 1 100%;
  }
}

.article-view-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.side-nav-box, .article-content-box {
    background-color: #d0f0ff; /* baby blue */
    border: double 4px #000;
    border-radius: 16px;
    padding: 1rem;
}

.side-nav h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.custom-btn {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    border: 2px solid neonorange;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #ff6700; /* neon orange */
    color: black;
    border-color: black;
}

.article-body-box blockquote {
    background-color: #ff6700;
    padding: 1rem;
    border-radius: 12px;
    color: #b48989;
    font-style: italic;
    margin-top: 1rem;
}

.related-tags-box {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #000;
    color: #07f251;
    border: double 4px #ff6700;
    border-radius: 16px;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.styled-table th,
.styled-table td {
    border: 1px solid #ccc;
    padding: 0.75rem;
    text-align: left;
}

.styled-table th {
    background-color: #222;
    color: #824949;
}

.styled-table tr:nth-child(even) {
    background-color: #a86868;
}

.styled-table tr:hover {
    background-color: #ff7b00;
}
