.common_list_box {
    width:100%;
    margin: 2rem auto;
    padding: 2rem 2rem;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.205);
    /* border: 1px solid brown; */
}
.common_list_box[lang="en"] { font-family: "Book Antiqua", Palatino, serif; }

.common_list_box h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}
.article_contain {
    background: #fff;              /* white background for the box */
    border-radius: 6px;            /* rounded corners */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* subtle shadow */
    padding: 15px;                 /* space inside the box */
    margin-bottom: 20px;           /* space between boxes */
    display: flex;                 /* keep photo and article side by side */
    align-items: flex-start;       /* align content at the top */
    
}

.article_title {
    /* margin: 5px 0; */
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 5px;
    border-bottom: 1px solid orange;
}
.article_title a {
    text-decoration: none;  /* removes underline */
    color: inherit;         /* uses the surrounding text color */
}
.article_title a:hover {
    text-decoration: none; /* optional */
}

.article_photo {
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
}


.article_photo a {
    display: flex;
    justify-self: center;

}
.article_photo img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* adds depth */
    border-radius: 6px;                      /* optional rounded corners */
    padding: 5px;
    border-radius: 5px;
}

.article_desc{
    margin: 10px 0;
    font-size: 14pt;
    line-height: 2;
    display: -webkit-box;       /* enables flexbox for webkit */
    -webkit-line-clamp: 2;      /* limits to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;           /* hides extra text */
    text-overflow: ellipsis;    /* adds "..." at the end */
}


@media (max-width: 355px) {
.common_list_box h1 {
    font-size: 16pt;
}
.article_contain{
    padding: 10px;
}
.article_photo {
    display: none;

}
.article_content {
    width: 100%;
    padding: 0;
}

.article_title {
    font-size: 14pt;
}

.article_desc {
    font-size: 12pt;
    line-height: 1.5;
}


}

@media (min-width: 356px) and (max-width:370px) {
.common_list_box h1 {
    font-size: 16pt;
}
.article_contain{
    padding: 10px;
}
.article_photo {
    display: none;

}
.article_content {
    width: 100%;
    padding: 0;
}

.article_title {
    font-size: 14pt;
}

.article_desc {
    font-size: 12pt;
    line-height: 1.5;
}


}

@media (min-width: 371px) and (max-width: 479px) {

.common_list_box {
    padding: 1rem 1.2rem;
}

.common_list_box h1 {
    font-size: 16pt;
}
.article_contain{
    padding: 10px;
}
.article_photo {
    display: none;

}
.article_content {
    width: 100%;
    padding: 0;
}

.article_title {
    font-size: 14pt;
}

.article_desc {
    font-size: 12pt;
    line-height: 1.5;
}


}

/* Larger phones 1 (480px–580px) updated 1.25.2026 */
@media (min-width: 480px) and (max-width: 580px)  {
.common_list_box {
    padding: 1rem 1rem;
}


.article_photo {
    width: 20%;
    
    
}
.article_content {
    width: 80%;

}


.article_photo img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* adds depth */
    border-radius: 6px;                      /* optional rounded corners */
    padding: 5px;
    border-radius: 5px;
    width: 80%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {
    font-weight: bold;
    margin-top: 5px;
    font-size: 14pt;
}
.article_desc {
    font-size: 12pt;
    line-height: 15pt;
}




}

/* Larger phones 2 (581px–767px) updated 1.25.2026 */
@media (min-width: 581px) and (max-width: 767px) {
.common_list_box {
    padding: 1rem 1rem;
}


.article_photo {
    width: 20%;
    
    
}
.article_content {
    width: 80%;

}


.article_photo img {
    box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* adds depth */
    border-radius: 6px;                      /* optional rounded corners */
    padding: 5px;
    border-radius: 5px;
    width: 70%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {
    font-weight: bold;
    margin-top: 5px;
    font-size: 14pt;
}
.article_desc {
    font-size: 12pt;
    line-height: 15pt;
}




}

/* Small tablets (portrait) updated 1.25.2026 */ 
@media (min-width: 768px) and (max-width: 899px) {
.common_list_box {
    padding: 1rem 1rem;
}

.article_photo {
    width: 15%;
}
.article_content {
    width: 85%;
}

.article_photo img {
    width: 65%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {
    font-weight: bold;
    margin-top: 5px;
    font-size: 15pt;
}
.article_desc {
    font-size: 13pt;
}

.article_photo {
    justify-content:center;
}


}

/* Large tablets (landscape) */ 
@media (min-width: 900px) and (max-width: 1023px) {
.common_list_box {
    padding: 1rem 1.8rem;
}

.article_photo {
    width: 15%;
}
.article_content {
    width: 85%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 15pt;
}
.article_desc {
    font-size: 13pt;

}

.article_photo {
    justify-content:center;
}

}

/* copied and working */
@media (min-width: 1024px) and (max-width: 1127px) {
.common_list_box {
    padding: 1rem 1.8rem;
}

.article_photo {
    width: 15%;
}
.article_content {
    width: 85%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 15pt;
}
.article_desc {
    font-size: 13pt;

}

.article_photo {
    justify-content:center;
}

}

@media (min-width: 1128px) and (max-width: 1279px) {
.common_list_box {
    padding: 2rem 3rem;
}
.article_grid {
    display: grid;              
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; 
}

.article_photo {
    width: 30%;
}
.article_content {
    width: 70%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 16pt;
}
.article_desc {
    font-size: 14pt;

}

.article_photo {
    justify-content:center;
}

}

@media (min-width: 1280px) and (max-width: 1365px) {
.common_list_box {
    padding: 2rem 3rem;
}
.article_grid {
    display: grid;              
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
}

.article_photo {
    width: 30%;
}
.article_content {
    width: 70%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 16pt;
}
.article_desc {
    font-size: 14pt;

}

.article_photo {
    justify-content:center;
}

}


@media (min-width: 1366px) and (max-width: 1599px) {
.common_list_box {
    padding: 2rem 3rem;
}
.article_grid {
    display: grid;              
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
}

.article_photo {
    width: 25%;
}
.article_content {
    width: 75%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 16pt;
}
.article_desc {
    font-size: 14pt;

}

.article_photo {
    justify-content:center;
}

}

@media (min-width: 1600px) and (max-width: 1679px) {
.common_list_box {
    padding: 2rem 3rem;
}
.article_grid {
    display: grid;              
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
}

.article_photo {
    width: 25%;
}
.article_content {
    width: 75%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 16pt;
}
.article_desc {
    font-size: 14pt;

}

.article_photo {
    justify-content:center;
}

}

@media (min-width: 1680px) {
.common_list_box {
    padding: 2rem 3rem;
}
.article_grid {
    display: grid;              
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
}

.article_photo {
    width: 25%;
}
.article_content {
    width: 75%;
}

.article_photo img {
    width: 60%;
}

.article_photo a {
    display: flex;
    justify-self: center;

}
.article_title {

    font-size: 16pt;
}
.article_desc {
    font-size: 14pt;

}

.article_photo {
    justify-content:center;
}

}