@media screen and (min-width: 1025px){
body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #fdfdfd;
    color: #1a1a1a;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

#articleTitle{
    padding-top: 40px;
    font-family: "Bruno Ace SC", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 15px;
    line-height: 1.3;
    word-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 0px;
    font-size: 2.6rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    position: relative;
}

#articleTitle::after {
    content: "";
    display: block;
    width: 80px;
    margin: 1rem auto 0 auto;
    border-bottom: 3px double #111;
    opacity: 0.7;
}

/* ---- Search Box ---- */
.input {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
#articleSearch {
    width: 50%;         /* smaller relative to page */
    max-width: 450px;   /* cap the width */
    padding: 0.375rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 40px;
    font-size: 1rem;
}
#articleSearch:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ---- Articles Layout ---- */
.articles {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 5rem auto;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row1, .row2, .row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* always 3 per row */
    gap: 2.5rem;
}

/* ---- Article Card ---- */
.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
}
.article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.article a.push {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

/* ---- Article Text ---- */
.article h2 {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article h2::after {
    content: "";
    display: block;
    width: 40px;
    margin: 0.5rem 0 0rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    opacity: 0.6;
}

.article a:hover h2 {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---- Article Images ---- */
.article img.image {
    width: 100%;
    height: 230px;   /* keep your fixed height */
    object-fit: contain;  /* show whole image */
    background-color: #f5f5f5; /* add neutral background behind smaller images */
    border-radius: 10px;
    margin-top: auto;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.article:hover img.image {
    transform: scale(1.05);
    opacity: 0.88;
}

/* ---- Advert Placeholder ---- */
.advert-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #f1f1f1);
    border: 1px dashed #aaa;
    border-radius: 16px;
    min-height: 230px;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.3px;
}

.article-date {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    font-size: 0.95em;
}}

@media screen and (min-width: 901px) and (max-width: 1024px){
body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #fdfdfd;
    color: #1a1a1a;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

#articleTitle{
    padding-top: 40px;
    font-family: "Bruno Ace SC", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 15px;
    line-height: 1.3;
    word-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 0px;
    font-size: 2.6rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    position: relative;
}

#articleTitle::after {
    content: "";
    display: block;
    width: 80px;
    margin: 1rem auto 0 auto;
    border-bottom: 3px double #111;
    opacity: 0.7;
}

/* ---- Search Box ---- */
.input {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
#articleSearch {
    width: 50%;         /* smaller relative to page */
    max-width: 450px;   /* cap the width */
    padding: 0.375rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 40px;
    font-size: 1rem;
}
#articleSearch:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ---- Articles Layout ---- */
.articles {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 5rem auto;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row1, .row2, .row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* always 3 per row */
    gap: 2.5rem;
}

/* ---- Article Card ---- */
.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
}
.article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.article a.push {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

/* ---- Article Text ---- */
.article h2 {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article h2::after {
    content: "";
    display: block;
    width: 40px;
    margin: 0.5rem 0 0rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    opacity: 0.6;
}

.article a:hover h2 {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---- Article Images ---- */
.article img.image {
    width: 100%;
    height: 230px;   /* keep your fixed height */
    object-fit: contain;  /* show whole image */
    background-color: #f5f5f5; /* add neutral background behind smaller images */
    border-radius: 10px;
    margin-top: auto;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.article:hover img.image {
    transform: scale(1.05);
    opacity: 0.88;
}

/* ---- Advert Placeholder ---- */
.advert-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #f1f1f1);
    border: 1px dashed #aaa;
    border-radius: 16px;
    min-height: 230px;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.3px;
}

.article-date {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    font-size: 0.95em;
}}

@media screen and (min-width: 769px) and (max-width: 900px){
body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #fdfdfd;
    color: #1a1a1a;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

#articleTitle{
    padding-top: 40px;
    font-family: "Bruno Ace SC", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 15px;
    line-height: 1.3;
    word-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 0px;
    font-size: 2.6rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    position: relative;
}

#articleTitle::after {
    content: "";
    display: block;
    width: 80px;
    margin: 1rem auto 0 auto;
    border-bottom: 3px double #111;
    opacity: 0.7;
}

/* ---- Search Box ---- */
.input {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
#articleSearch {
    width: 50%;         /* smaller relative to page */
    max-width: 450px;   /* cap the width */
    padding: 0.375rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 40px;
    font-size: 1rem;
}
#articleSearch:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ---- Articles Layout ---- */
.articles {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 5rem auto;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row1, .row2, .row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* always 3 per row */
    gap: 2.5rem;
}

/* ---- Article Card ---- */
.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
}
.article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.article a.push {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

/* ---- Article Text ---- */
.article h2 {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article h2::after {
    content: "";
    display: block;
    width: 40px;
    margin: 0.5rem 0 0rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    opacity: 0.6;
}

.article a:hover h2 {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---- Article Images ---- */
.article img.image {
    width: 100%;
    height: 230px;   /* keep your fixed height */
    object-fit: contain;  /* show whole image */
    background-color: #f5f5f5; /* add neutral background behind smaller images */
    border-radius: 10px;
    margin-top: auto;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.article:hover img.image {
    transform: scale(1.05);
    opacity: 0.88;
}

/* ---- Advert Placeholder ---- */
.advert-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #f1f1f1);
    border: 1px dashed #aaa;
    border-radius: 16px;
    min-height: 230px;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.3px;
}

.article-date {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    font-size: 0.95em;
}}

@media screen and (min-width: 481px) and (max-width: 768px){
body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #fdfdfd;
    color: #1a1a1a;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

#articleTitle{
    padding-top: 40px;
    font-family: "Bruno Ace SC", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 15px;
    line-height: 1.3;
    word-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 0px;
    font-size: 2.6rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    position: relative;
}

#articleTitle::after {
    content: "";
    display: block;
    width: 80px;
    margin: 1rem auto 0 auto;
    border-bottom: 3px double #111;
    opacity: 0.7;
}

/* ---- Search Box ---- */
.input {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
#articleSearch {
    width: 70%;         /* smaller relative to page */
    max-width: 450px;   /* cap the width */
    padding: 0.375rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 40px;
    font-size: 1rem;
}
#articleSearch:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ---- Articles Layout ---- */
.articles {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 5rem auto;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row1, .row2, .row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* always 3 per row */
    gap: 2.5rem;
}

/* ---- Article Card ---- */
.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
}
.article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.article a.push {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

/* ---- Article Text ---- */
.article h2 {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article h2::after {
    content: "";
    display: block;
    width: 40px;
    margin: 0.5rem 0 0rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    opacity: 0.6;
}

.article a:hover h2 {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---- Article Images ---- */
.article img.image {
    width: 100%;
    height: 230px;   /* keep your fixed height */
    object-fit: contain;  /* show whole image */
    background-color: #f5f5f5; /* add neutral background behind smaller images */
    border-radius: 10px;
    margin-top: auto;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.article:hover img.image {
    transform: scale(1.05);
    opacity: 0.88;
}

/* ---- Advert Placeholder ---- */
.advert-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #f1f1f1);
    border: 1px dashed #aaa;
    border-radius: 16px;
    min-height: 230px;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.3px;
}

.article-date {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    font-size: 0.95em;
}}

@media screen and (min-width: 345px) and (max-width: 480px){
body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #fdfdfd;
    color: #1a1a1a;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

#articleTitle{
    padding-top: 40px;
    font-family: "Bruno Ace SC", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 15px;
    line-height: 1.3;
    word-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 0px;
    font-size: 1.7rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    position: relative;
}

#articleTitle::after {
    content: "";
    display: block;
    width: 80px;
    margin: 1rem auto 0 auto;
    border-bottom: 3px double #111;
    opacity: 0.7;
}

/* ---- Search Box ---- */
.input {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
#articleSearch {
    width: 70%;         /* smaller relative to page */
    max-width: 450px;   /* cap the width */
    padding: 0.375rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 40px;
    font-size: 1rem;
}
#articleSearch:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ---- Articles Layout ---- */
.articles {
    width: 70%;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.row1, .row2, .row3 {
    display: grid;
    grid-template-columns: 1fr; /* always 3 per row */
    gap: 2.5rem;
}

/* ---- Article Card ---- */
.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
}
.article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.article a.push {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
}

/* ---- Article Text ---- */
.article h2 {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article h2::after {
    content: "";
    display: block;
    width: 40px;
    margin: 0.5rem 0 0rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    opacity: 0.6;
}

.article a:hover h2 {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---- Article Images ---- */
.article img.image {
    width: 80%;
    height: 170px;   /* keep your fixed height */
    object-fit: contain;  /* show whole image */
    background-color: #f5f5f5; /* add neutral background behind smaller images */
    border-radius: 10px;
    margin-top: auto;
    transition: transform 0.6s ease, opacity 0.3s ease;
    margin: 0 auto;
}

.article:hover img.image {
    transform: scale(1.05);
    opacity: 0.88;
}

/* ---- Advert Placeholder ---- */
.advert-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #f1f1f1);
    border: 1px dashed #aaa;
    border-radius: 16px;
    min-height: 230px;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.3px;
}

.article-date {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    font-size: 0.95em;
}}

@media screen and (max-width: 344px){
body {
    margin: 0;
    font-family: "Lato", sans-serif;
    background-color: #fdfdfd;
    color: #1a1a1a;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
}

#articleTitle{
    padding-top: 40px;
    font-family: "Bruno Ace SC", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 15px;
    line-height: 1.3;
    word-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 0px;
    font-size: 2.6rem;
    text-align: center;
    margin: 3rem auto 2.5rem auto;
    position: relative;
}

#articleTitle::after {
    content: "";
    display: block;
    width: 80px;
    margin: 1rem auto 0 auto;
    border-bottom: 3px double #111;
    opacity: 0.7;
}

/* ---- Search Box ---- */
.input {
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}
#articleSearch {
    width: 70%;         /* smaller relative to page */
    max-width: 450px;   /* cap the width */
    padding: 0.375rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 40px;
    font-size: 1rem;
}
#articleSearch:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ---- Articles Layout ---- */
.articles {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 5rem auto;
}
.article-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.row1, .row2, .row3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* always 3 per row */
    gap: 2.5rem;
}

/* ---- Article Card ---- */
.article {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e0e0e0;
}
.article:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.article a.push {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 2rem;
}

/* ---- Article Text ---- */
.article h2 {
    font-family: "EB Garamond", serif;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: #111;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article h2::after {
    content: "";
    display: block;
    width: 40px;
    margin: 0.5rem 0 0rem 0;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    opacity: 0.6;
}

.article a:hover h2 {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.article h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---- Article Images ---- */
.article img.image {
    width: 100%;
    height: 230px;   /* keep your fixed height */
    object-fit: contain;  /* show whole image */
    background-color: #f5f5f5; /* add neutral background behind smaller images */
    border-radius: 10px;
    margin-top: auto;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.article:hover img.image {
    transform: scale(1.05);
    opacity: 0.88;
}

/* ---- Advert Placeholder ---- */
.advert-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f9f9f9, #f1f1f1);
    border: 1px dashed #aaa;
    border-radius: 16px;
    min-height: 230px;
    font-size: 1rem;
    font-style: italic;
    color: #666;
    letter-spacing: 0.3px;
}

.article-date {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0 0 1rem 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

a {
    text-decoration: none;
    font-size: 0.95em;
}}