body.single .item {
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
text-align:center;

}

.item h2 {
    font-size: 1.8em;
    color: #333;
}


.item h3 {
    font-size: 1em;
    color: #007bff;
}

.item a {
    color: #007bff;
    text-decoration: underline;
}
.item a:hover {
    color: #666;
    text-decoration: none;

.item img {
    height: auto;
    border-radius: 5px;
}
a.clicklinkitem { text-align:center;
}
/* Ensure images in related items are responsive */
div.relateditems img.attachment-item-small-related {
    max-width: 100%;   /* Make sure images don’t exceed the width of their container */
    height: auto;      /* Maintain aspect ratio */
    display: block;    /* Prevents unwanted space beneath images */
    margin: 0 auto;    /* Centers images horizontally */
}

/* Make the container responsive */
div.relateditems {
    width: 100%;       /* Ensures the container stretches to the full width of its parent */
    max-width: 645px;  /* Optional: Set a max-width for large screens */
    margin: 0 auto;    /* Centers the container */
}
