/* --- General Page Improvements --- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    font-size: 1rem;
}

.page-wrapper {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.3;
    color: #111;
}

/* Main page title */
h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* “News Update” heading */
h2 {
    font-size: 1.1rem;
    text-align: center;
    background-color: #f7f7f7;
    border-bottom: 2px solid #ddd;
    border-top: 2px solid #ddd;
    padding: 0.6rem 0;
    margin-top: 2rem;
    border-radius: 4px;
}

/* Subheadings */
h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    text-align: center;
}

/* Body text */
p {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: justify;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Links */
a {
    color: #0056b3;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Horizontal rule */
hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 1rem 0;
}

/* --- Images and Figures --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Centred figure (like Omar Benguit portrait) */
.centered-figure {
    text-align: center;
    margin: 1.5rem 0;
}

.centered-figure p {
    text-align: center;
    margin: 0;
}

.centered-figure img {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
    display: inline-block;
    max-width: 300px;
    margin: 0 auto;
}

/* Global caption style */
figcaption {
    text-align: center;
    font-style: normal;
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    margin-top: 0.6rem;
}

/* Standalone images */
.centered-image {
    margin: 1.5rem auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
}

/* --- Image Row Layout --- */
.image-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.image-row > figure {
    margin: 0;
    flex: 1;
    min-width: 0;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.image-row > figure img {
    border: none;
    padding: 0;
    border-radius: 0;
    margin: 0 auto;
}

/* --- Media Queries --- */
@media (min-width: 600px) {
  .image-row {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
    .page-wrapper {
        padding: 1rem;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.2rem; }
}

/* --- Utility Classes --- */
.highlight {
    background-color: yellow;
}

.webmaster-link {
    text-align: center;
    margin-top: 2rem;
    font-style: normal;
}
