.main-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.widget {
    background-color: #f3f3f3;
    text-align: center;
    padding: 1.5em 1em;
    border-radius: 1em;
    border: 1px solid #eaeaea;
}

.widget .widget-title {
    position: relative;
    font-size: 15px;
    text-align: left;
    text-transform: uppercase;
    /* The ::after rule below is absolutely positioned at top: 1.5em, inside
       this box. Without the bottom margin the first item of the widget's list
       was drawn straight over it. */
    margin: 0 0 1.4em;
    font-weight: 450;
}

.widget-title::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #d0d7dc;
    top: 1.5em;
    left: 0;
}

.widget-title::before {
    content: "";
    position: absolute;
    height: 2px;
    background-color: #0f6daa;
    width: 15%;
    left: 0;
    top: 1.5em;
    z-index: 1;
    transition: width .5s;
}

.widget:hover .widget-title::before{
    width: 100%;
}

.widget-content {
    margin-top: 1.5em;
}

.widget-content.network-sites{
    display: flex;
    flex-direction: column;
}

.network-sites .site-container{
    flex: 1;
    display: flex;
    flex-direction: row;
}

.site-container .site-img{
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.site-container .site-domain{
    flex: 10;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
}

.site-domain a, .cat-item a, .dir-item a {
    color: #01304e;
    text-decoration: none;
    font-size: 20px;
}

.cat-item, .dir-item {
    text-align: left;
    margin-left: 1em;
}

.dir-item.sub-item {
    margin-left: 2em;
}

.widget-content hr{
    margin: 0;
}
.widget-categorie li{
    padding: 0.3em 0px 0.3em 0px;
}
.widget-categorie a,
.widget-directories a{
    font-size: 0.9em;
    font-family: 'Montserrat';
}

/* DEFAULT SIDEBAR */
.widget h2 {
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 600;
}

/*
 * Lists inside any widget, the theme's own categories widget included. The
 * styling used to hang off .cat-item, .dir-item and .widget-categorie, which
 * were the classes of the widgets removed in 3.0.0; everything else, core's
 * widgets and Syrus_Categories_Widget alike, was left unstyled.
 */
.widget ul {
    margin: 0;
    padding: 0;
    text-align: left;
    list-style: none;
}

.widget ul li {
    margin: 0;
    padding: .55em 0;
    border-bottom: 1px solid rgba(1, 48, 78, .10);
}

.widget ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.widget ul a {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
    font-size: .95em;
    line-height: 1.45;
    color: #01304e;
    text-decoration: none;
    transition: color .2s;
}

.widget ul a:hover,
.widget ul a:focus {
    color: #0f6daa;
}

/* The count the categories widgets print after the name. */
.widget ul li {
    color: #7b8794;
    font-size: .95em;
}

.widget .wp-block-latest-posts__post-title{
    color: #5b5b5b;
}

.widget .wp-block-latest-posts__post-title:hover{
    color: black;
}


.widget .wp-block-search__input {
    border-radius: 2em;
    padding: .4em 1em;
}

.wp-block-search__button {
    border-radius: 2em;
    text-transform: uppercase;
}

.wp-block-search__button:hover {
    background-color: #333743;
    color: #cedce9;
}

.wp-block-search__label {
    margin-bottom: .5em;
}