.post-search-widget {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

/*Filtered Posts Styles */
.post-search-widget .filtered-posts {
    width: calc(70% - 12px);
    display: flex;
    flex-direction: column;
    gap: 48px;
}


.post-search-widget .filtered-posts .card {
    display: flex;
    flex-direction: row;
    gap: 24px;
    height: 201px;
}

.post-search-widget .side-bar{
    width: calc(30% - 12px);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.post-search-widget .filtered-posts .card .featured-img {
    position: relative;
    width: 267px;
    height: 100%;
    aspect-ratio: 89 / 67;
    overflow: hidden;
    border-radius: 8px;
}

.post-search-widget .filtered-posts .card .featured-img .category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    background-color: var(--Default-Black, #000);
    color: var(--Default-White, #FFF);
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    border-radius: 16px;
    z-index: 1;
    opacity: 0;
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card:hover .featured-img .category {
    opacity: 1;
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card:hover .featured-img img {
    transform: scale(1.15);
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card .info {
    width: calc((100% - 24px) - 267px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.post-search-widget .filtered-posts .card .info .description {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc((100% - 24px) - 16px);
    overflow: hidden;
}

.post-search-widget .filtered-posts .card .info .author-info {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.post-search-widget .filtered-posts .card .info .description h3 {
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card:hover .info .description h3 {
    color: var(--Default-White, #FFF);
    transition: 0.3s;
}
.post-search-widget .filtered-posts .card .info .description p,
.post-search-widget .filtered-posts .card .info .author-info p,
.post-search-widget .filtered-posts .card .info .author-info .display-name {
    font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.post-search-widget .filtered-posts .card .info .description p{
    color: var(--Gray-Gray-300, #363636);
    font-size: 16px;
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card:hover .info .description p{
    color: var(--Gray-Gray-500, #606060);
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card .info .author-info p {
    color: var(--Gray-Gray-300, #363636);
    font-size: 14px;
}

.post-search-widget .filtered-posts .card .info .author-info .display-name {
    color: var(--Default-White, #FFF);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: var(--Gray-Gray-300, #363636);
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card .info .author-info .display-name:hover {
    text-decoration-color:  var(--Default-White, #FFF);
    transition: 0.3s;
}

.post-search-widget .filtered-posts .card .info .author-info .avatar {
    width: 24px;
    height: 24px;
    line-height: 0;
}

.post-search-widget .filtered-posts .card .info .author-info .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Side Bar Styles */
.post-search-widget .side-bar .search {
    background: var(--Gray-Gray-100, #161616);
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 36px 36px 36px;
    border-radius: 12px;
}

.post-search-widget .side-bar .search .wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-search-widget .side-bar .search p {
    margin: 0;
    color: var(--Gray-Gray-700, #DDD);
    font-family: "Hanken Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.post-search-widget .side-bar .search input[type="text"] {
    border-radius: 8px;
    background: var(--Gray-Gray-200, #242424);
    color: var(--Gray-Gray-600, #999);
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    border: 1px solid transparent;
    transition: 0.3s;
}

.post-search-widget .side-bar .search input[type="text"] {
    color: var(--Gray-Gray-700, #DDD);
    border: 1px solid var(--Gray-Gray-700, #DDD);
    transition: 0.3s;
}

.post-search-widget .search-button {
    background: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
    color: var(--Default-Black, #000);
    width: fit-content;
    border: none;
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    border-radius: 27px;
    transition: 0.3s;
}

.post-search-widget .search-button {
    background: var(--Color-Palette-Blue-Blue-500, #0091FF);
    transition: 0.3s;
}

.post-search-widget .search-button:after {
    content: "";
    position: absolute;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url(assets/arrow.svg);
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: inherit;
}

