* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #fff;
  color: #111;
  line-height: 1.6;
}

.containerr {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.breadcrumb {
  font-size: 14px;
  color: #777;
  margin-bottom: 1.5rem;
  margin-top: 100px;
}

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.author-name {
  font-size: 2rem;
  color: #6d52f5;
}

.section-title {
  font-size: 40px;
  margin-bottom: 2rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none; /* remove background from container */
  display: flex;
  flex-direction: column;
  gap: 5px; /* space between links */
}

.category-tag a {
  display: block;
  background: #e53935;
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 3px;
  text-decoration: none;
  width: fit-content;
}

.category-tag a:hover {
  background-color: blue;
}


.article-card h3 {
  font-size: 1rem;
  margin: 1rem;
  color: #111;
}

.article-card p {
  font-size: 0.875rem;
  margin: 0 1rem 1rem;
  color: #444;
}

.meta {
  font-size: 0.75rem;
  color: #777;
  margin: 0 1rem 1rem;
}
.category-tag a {
  display: block;
  margin-bottom: 5px;
}
.category-tag a{
    color: white;
    text-decoration: none;
}
h3 a{
    color: black;
    text-decoration: none;
}
h3 a:hover{
    color: gray;
}
.meta a{
    color: gray;
    text-decoration: none;
}
.meta a:hover{
    color: black;
}



/* ////pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.page-button {
  padding: 8px 14px;
  text-decoration: none;
  border: 1px solid #ccc;
  color: #333;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s;
}

.page-button:hover:not(.active):not(.disabled) {
  background: #eee;
}

.page-button.active {
  background: #6d52f5;
  color: #fff;
  font-weight: bold;
  border-color: #6d52f5;
}

.page-button.disabled {
  color: #aaa;
  border-color: #ddd;
  cursor: not-allowed;
}



