/* ===============================
   Base Styles & Layout
   =============================== */
html {
  font-size: 16px; 
}

body {
  background-color: rgb(101, 185, 241); /* Resolved conflict */
  margin: 0;
  font-family: sans-serif;
  line-height: 1.5;
}

/* ===============================
   Header & Typography
   =============================== */
header {
  background-color: #0288d1;
  color: black;
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 20px;
}

header img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}

h1 {
  margin: 1rem 0;
  font-size: 2.5rem;
  text-align: center;
  text-decoration: none;
  color: black;
}

/* ===============================
   Main Content & Intro
   =============================== */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.intro {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 1rem 0;
}

/* ===============================
   Article List (File 2)
   =============================== */
.article-list {
    max-width: 1000px;
    margin: 40px auto;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    margin-bottom: 12px;
    background: #addef5;
    border-radius: 16px;
    text-decoration: none;
    color: black;
}

a.article-item:hover {
    background: #bee653;
}

.article-item img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.article-text h2 {
    margin: 0 0 6px 0;
    font-size: 2rem;
}

.article-text p {
    margin: 0;
    color: #130101;
    font-size: 1rem;
}

/* ===============================
   Responsive Adjustments
   =============================== */
@media (max-width: 600px) {
    .article-item { /* Changed back to item */
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.8rem;
  }

  .intro, p {
    font-size: 1.1rem;
  }

.article-item img {
    display: none;
}
}
