/* Common styles for all directions */
.marquee-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.marquee-container .post-details {
    display: flex;
    align-items: center;
    padding: 10px;
    border-left: 5px solid #0073e6;
    border-right: 5px solid #0073e6;
}

.marquee-container .post-thumbnail {
    width: 100px;
    height: auto;
    margin-right: 10px;
    border-right: 5px solid #0073e6;
    padding-right: 10px;
}

.marquee-container .post-content {
    flex: 1;
}

.marquee-container .post-title {
    font-weight: bold;
    margin: 0;
}

.marquee-container .post-date,
.marquee-container .post-categories {
    margin-top: 5px;
}

.marquee-container .post-categories span {
    display: inline-block;
    padding: 2px 5px;
    background-color: #0073e6;
    color: #fff;
    margin-right: 5px;
    border-radius: 3px;
}

/* Styles for "Up" direction */
.marquee-container.up {
    /* Add specific styles for the "Up" direction here */
    /* Style for "Up" direction */
.marquee.up {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.marquee.up .post-details {
    display: flex;
    align-items: center;
    padding: 10px;
    border-left: 5px solid #0073e6;
}

.marquee.up .post-thumbnail {
    width: 100px;
    height: auto;
    margin-right: 10px;
    border-right: 5px solid #0073e6;
    padding-right: 10px;
}

.marquee.up .post-content {
    flex: 1;
}

.marquee.up .post-title {
    font-weight: bold;
    margin: 0;
}

.marquee.up .post-date,
.marquee.up .post-categories {
    margin-top: 5px;
}

.marquee.up .post-categories span {
    display: inline-block;
    padding: 2px 5px;
    background-color: #0073e6;
    color: #fff;
    margin-right: 5px;
    border-radius: 3px;
}

}

/* Styles for "Down" direction */
.marquee-container.down {
    /* Add specific styles for the "Down" direction here */

    /* Style for "Down" direction */
.marquee.down {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.marquee.down .post-details {
    display: flex;
    align-items: center;
    padding: 10px;
    border-left: 5px solid #0073e6;
}

.marquee.down .post-thumbnail {
    width: 100px;
    height: auto;
    margin-right: 10px;
    border-right: 5px solid #0073e6;
    padding-right: 10px;
}

.marquee.down .post-content {
    flex: 1;
}

.marquee.down .post-title {
    font-weight: bold;
    margin: 0;
}

.marquee.down .post-date,
.marquee.down .post-categories {
    margin-top: 5px;
}

.marquee.down .post-categories span {
    display: inline-block;
    padding: 2px 5px;
    background-color: #0073e6;
    color: #fff;
    margin-right: 5px;
    border-radius: 3px;
}


}

/* Styles for "Left" direction */
.marquee-container.left {
    /* Add specific styles for the "Left" direction here */

    /* Style for "Left" direction */
.marquee.left {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-direction: row-reverse;
}

.marquee.left .post-details {
    display: flex;
    align-items: center;
    padding: 10px;
    border-left: 5px solid #0073e6;
}

.marquee.left .post-thumbnail {
    width: 100px;
    height: auto;
    margin-left: 10px;
    border-left: 5px solid #0073e6;
    padding-left: 10px;
}

.marquee.left .post-content {
    flex: 1;
}

.marquee.left .post-title {
    font-weight: bold;
    margin: 0;
}

.marquee.left .post-date,
.marquee.left .post-categories {
    margin-top: 5px;
}

.marquee.left .post-categories span {
    display: inline-block;
    padding: 2px 5px;
    background-color: #0073e6;
    color: #fff;
    margin-left: 5px;
    border-radius: 3px;
}

}

/* Styles for "Right" direction */
.marquee-container.right {
    /* Add specific styles for the "Right" direction here */

    /* Style for "Right" direction */
.marquee.right {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
}

.marquee.right .post-details {
    display: flex;
    align-items: center;
    padding: 10px;
    border-left: 5px solid #0073e6;
}

.marquee.right .post-thumbnail {
    width: 100px;
    height: auto;
    margin-right: 10px;
    border-right: 5px solid #0073e6;
    padding-right: 10px;
}

.marquee.right .post-content {
    flex: 1;
}

.marquee.right .post-title {
    font-weight: bold;
    margin: 0;
}

.marquee.right .post-date,
.marquee.right .post-categories {
    margin-top: 5px;
}

.marquee.right .post-categories span {
    display: inline-block;
    padding: 2px 5px;
    background-color: #0073e6;
    color: #fff;
    margin-right: 5px;
    border-radius: 3px;
}

}
