/*
Theme Name: Museo Customized
Template: museo
Version: 1.0
*/

/* Polylang language dropdown */

/* Current language is already displayed as the dropdown label */
.pll-parent-menu-item .current-lang {
    display: none !important;
}

/* Dropdown language links */
.pll-parent-menu-item .lang-item > a {
    color: #111 !important;
    background: #fff !important;
}

.pll-parent-menu-item .lang-item > a:hover {
    color: #111 !important;
    background: #f2f2f2 !important;
}

/* Header: title and secondary widgets on separate rows */
.page-header-centered .site-section-wrapper-masthead {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

/* First row: site title */
.page-header-centered #site-logo {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
}

/* Second row: search / social widgets */
.page-header-centered #site-header-extra {
    display: block;
    width: 100%;
    margin: 0;
    text-align: right;
}

.page-header-centered #site-header-widgets {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

#site-header-widgets .widget {
    margin: 0;
}

#site-header-widgets .widget_search .widget-title {
    display: none;
}

#site-header-widgets .search-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Align header search form to the right */
.page-header-centered #site-header-widgets .widget_search {
    margin-left: auto;
}

/*Social Icons widget*/
.mierm-social-icons a {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mierm-social-icons .icon-icomoon {
    display: block;
    font-size: 36px;
    line-height: 1;
}

.mierm-social-icons .icon-icomoon::before {
    display: block;
    line-height: 1;
}

.page-header-centered #site-header-widgets {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/*Menu*/
.main-navigation .menu-item-has-children > a[href="#"] {
    cursor: default;
}
