/* styles.css */

/* Container for the posts */
logos-display-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

/* Individual post style */
.logos-display {
    padding: 0px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /*width: calc(28%);*/
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.logo-card img{
    box-shadow: 0px 0px 9px 0px rgba(141, 121.99999999999999, 121.99999999999999, 0.5);
}
/* Image container */
.logos-display-thumbnail {
    height: 350px; /* Set the desired fixed height */
    width: 100%;
    overflow: hidden;
    position: relative;
    /*aspect-ratio:1/1;*/
}

/* Image style */
.logos-display-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the entire container */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-bottom: 1px solid #ddd;
}

/* Content style */
.logos-display .content {
    padding: 5px 20px 5px 20px;
    min-height: 400px;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logos-display .main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Publish date style */
#main .logos-display .content p.publish-date {
    color: var(--darker-blue);
    font-size: 14px;
    margin: 4px 16px 0;
    font-weight: 400;
}

/* Title style */
.logos-display .title {
    font-size: 18px;
    font-weight: 600;
    margin: 8px 16px;
    line-height: 1.4rem;
    /*min-height: 2.8rem;*/
}

/* Excerpt style */
.logos-display .excerpt {
    font-size: 14px;
    color: #666;
    margin: 8px 16px 16px;
    flex-grow: 1;
}

/* Call-to-action button style */
.logos-display .cta {
    margin: 16px;
    text-align: center;
}

.logos-display .cta a {
    display: inline-block;
    text-decoration: none;
}

.plus-dashicon {
    color: var(--darker-blue);
    padding: 5px;
    border-radius: 3px;
    display: inline-block;
    font-size: 30px;
    margin-bottom: 10px;
}

/* Horizontal rule style */
.logos-display hr {
    height: 2px;
    border-width: 0;
    color: gray;
    background-color: var(--darker-blue);
    /*margin: 16px;*/
    width: 40%;
}

/* Responsive adjustments 
@media (max-width: 1200px) {
    .logos-display {
        width: 48%;
    }
}

@media (max-width: 768px) {
    .logos-display {
        width: 100%;
    }
}
*/
@media (min-width: 763px) {
    logos-display-posts-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    logos-display-title-container h2 {
        margin-top: 40px;
    }
}

@media (min-width: 1023px) {
    logos-display-posts-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}

/*763 / 1023*/
#logos-display-title-container {
    padding-left: 0px;
    margin-top: 40px;
}

#logos-display-title-container h2 {
    font-weight: 600;
}

#logos-display-title-container hr {
    border-top: 1px solid gray;
}

#posts-cta-button {
    border-radius: 25px !important;
    background-color: rgb(179, 0, 0);
    padding: 5px 25px !important;
    margin-top: 40px !important;
}

logos-display-posts-container button.card_button a{
    background: rgb(179, 0, 0);
    color: white;
}


logos-display-posts-container div.card_body > div.card_button > a{
     background: rgb(179, 0, 0);
    color: white;

}

.plus-character {
    display: inline-block;
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    line-height: 25px; /* Align + in the center */
    border-radius: 50%;
    background-color: var(--darker-blue) !important;
    color: #fff; /* Adjust text color as needed */
    font-size: 20px; /* Adjust size as needed */
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    /*padding-bottom: 20px!important; Ensure consistent padding on all sides */
}
