/*--------START Horizontal Sidebar config--------*/
.sidebar.widget-area{
    justify-content:space-between;
    display: flex;
    max-width: 100% !important; 
    height: 490px !important;
    overflow: hidden;
}
.sidebar.widget-area > * {
    min-width: 25%;
}
/*force sidebar widgets to stay in their container*/
.wp-block-group { 
    max-width: 100%;
}

.More-on-Instagram{
    border-radius: 8px;
}

@media (max-width: 991px) {
    .sidebar.widget-area{
        flex-flow: column;
        height:auto !important;
    }
}
.sidebar.widget-area > * {
    margin-left: 20px;
    margin-right: 20px;
}
.widget.widget_nav_menu{
    max-width: 350px;
}

.navigation.pagination {
    display: flex;
    justify-content: center;
}

/*----------Sidebar Subscribe form inputs (height and rounded edges)--------*/
.es-form-field-container input {
    height: 44px; 
    border-radius: 4px !important;
}
select#cat {
    height: 44px;
    border-radius: 4px !important;
}
/*--------END Horizontal Sidebar config--------*/


/*--------START Link Styling---------------*/

/*set titles to be underlined*/
.blog-card-contents-inner-title{
    text-decoration: underline;
}
@media (min-width: 992px) {
    .blog-card-contents-inner-title{
    min-height: 4.8em; /*Force two lines - wide only*/
    }
}


/* change colour of all text on hover*/
.blog-card-link:hover {
    color: #70004B;
}

/* Add Title underline thickness on hover  */
.blog-card-link:hover .blog-card-contents-inner-title{
    text-decoration: underline;
    text-decoration-thickness: 13%;
}
/* remove <p> underline and set colour */
.blog-card-link{
    display: block;
    height:100%;
    text-decoration: none;
    color: var(--bs-body-color);
}
/*--------END Link Styling---------------*/

/*--------START Card Config--------*/
.blog-cardlist {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 50px;
}
@media (max-width: 992px) {
    .blog-cardlist {
    flex-direction: column;
    }
}

.blog-card-wrapper {
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;
    border-radius: 8px;
    overflow: hidden;
    width: calc(50% - 1rem); /* Two columns with spacing */
    height: 600px;
    box-sizing: border-box;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .blog-card-wrapper {
        width: 100%;
        margin-left: 0rem;
        margin-right: 0rem;
        height: auto;
    }
    .blog-card-featured-wrapper{
        width: 100%;
        margin-left: 0rem;
        margin-right: 0rem;
        height: auto;
    }
}
.blog-card-container{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-featured-wrapper{
    background-color: #f2f2f2;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .blog-card-featured{
        margin-top: 0rem;
        margin-bottom: 0rem;
    }
}
.blog-card-image {
    height: fit-content;
    aspect-ratio: 3 / 1; 
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.blog-card-contents {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.click-more-text{
    margin-top: auto;
}
/*--------END Card Config--------*/