.blogHead               {
    font-size:          22pt;
    margin-top:        -1px;
}
.blogSubHead            {
    font-size:          18pt;
}
.blog, .blogBody        {
    text-align:         justify;
    font-size:          14pt;
}
.blogList, .blog-list   {
    font-family:        Merriweather;
    text-align:         left;
    font-size:          14pt;
    color:              black;
}
    
.blogImage              {
    min-width:          160px;
}
input[type=text]        {
    width:              100%;
}
a                       {
    text-decoration:    none;
    color:              inherit;
}
.unpublished            {
    color:              lightgrey;
}
.blogIndexImage         {
    float:              left;
    margin-right:       18px;
    max-width:          180px;
}
.imageBlock     {
    display:            inline-block;
    border:             solid thin dimgrey;
    width:              200px;
    margin:             8px 2px;
}
@media screen and (max-width: 450px) {
    .blogHead          {
        font-size:          17pt;
    }
    .blogSubHead        {
        font-size:          14pt;
    }
    .blog, .blogBody       {
        text-align:         justify;
        font-size:          12pt;
    }
    .blogImage              {
        min-width:          100px;
    }
    .blogIndexImage         {
        float:              left;
        margin-right:       10px;
        max-width:          100px;
    }

}

/* --- Knowledge Centre --- */
/* --- Knowledge Centre: Article view --- */

.article-hero {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1rem 0 1.5rem;
}

.article-body {
  font-family: Merriweather, serif;
  font-size: 14pt;
  line-height: 1.65;
  color: #2A382A;
  text-align: left;
  margin-bottom: 2rem;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body h2, 
.article-body h3 {
  margin-top: 1.5rem;
  color: #2A382A;
}

.page-title {
  font-family: Merriweather, serif;
  font-size: 24pt;
  color: #2A382A;
  margin: 10px 0 4px 0;
}

.subheading {
  font-family: Merriweather, serif;
  font-size: 16pt;
  font-weight: 400;
  color: #444;
  margin-bottom: 1rem;
}

.back-link {
  margin-top: 2rem;
  text-align: center;
  font-weight: bold;
}

.back-link a {
  color: #6A4E8B;
}

.back-link a:hover {
  text-decoration: underline;
}
/* --- Knowledge Centre: Category grid --- */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.article-thumb {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.article-card h2 {
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

.article-card h3 {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  margin: 0.2rem 0 0.5rem;
}

.article-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

/* --- Knowledge Centre admin controls --- */
.admin-controls {
  text-align: right;
  margin-bottom: 0.5rem;
}

.admin-controls .button {
  display: inline-block;
  background: #6A4E8B;
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.2s ease, transform 0.15s ease;
}

.admin-controls .button:hover {
  background: #563C72;
  transform: translateY(-1px);
}
