/* =========================================
   ARTICLE HEADER TITLE
   ========================================= */

.article-header-title {
    font-size: 20px;
    color: #0d47a1;
    margin-left: 10px;
    font-weight: 300;
    white-space: nowrap;
}

/* =========================================
   GENERAL LAYOUT
   ========================================= */

body,
.site-grid,
.container-component,
.header {
    box-shadow: none !important;
    background: #ffffff;
}

/* =========================================
   HEADER BAR – Protostar style
   ========================================= */

.header.container-header {
    display: flex;
    flex-direction: column;      /* stack logo row + menu row */
    align-items: flex-start;
    padding: 8px 0;
    background: #ffffff;
    border-bottom: 1px solid #dcdcdc;
}

/* Logo + text in same line */
.header .navbar-brand {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* Site title / brand link */
.header .navbar-brand a,
.header .navbar-brand span {
    font-size: 32px;
    font-weight: 400;
    color: #0d47a1 !important;
    text-decoration: none !important;
}

/* Extra text to the right of logo/title – EDIT THIS TEXT */
.header .navbar-brand::after {
    content: " Nomads Wine Club";   /* <--- change this */
    font-size: 35px;
    font-weight: 400;
    color: #0d47a1;
    margin-left: 12px;
    white-space: nowrap;
}

/* =========================================
   MAIN MENU – Horizontal under header
   ========================================= */

/* Container holding the menu below the header bar */
.container-nav {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
    padding-top: 4px;
}

/* Make the menu list horizontal.
   First try ID-specific (old behaviour), then generic. */

/* If your menu UL has id="mod-menu1" */
#mod-menu1.mod-menu {
    display: flex;
    gap: 4px !important;
    margin: 0;
    padding: 0;
}

/* Generic fallback for any main menu (in case the ID is not 1) */
.container-nav .mod-menu {
    display: flex;
    gap: 4px !important;
    margin: 0;
    padding: 0;
}

.container-nav .mod-menu > li {
    list-style: none;
    position: relative; /* for dropdowns */
}

/* Menu items styled as buttons */
.container-nav .mod-menu > li > a {
    padding: 4px 8px !important;
    font-size: 14px !important;
    background: #e7f0ff;
    border-radius: 6px;
    border: 1px solid #c5d8f5;
    color: #0d47a1 !important;
    text-decoration: none !important;
    transition: 0.2s;
    display: inline-block;
}

/* Hover */
.container-nav .mod-menu > li > a:hover {
    background: #d8e5ff;
    border-color: #b3caf0;
}

/* Active item */
.container-nav .mod-menu > li.current > a,
.container-nav .mod-menu > li.active > a,
.container-nav .mod-menu > li.alias-parent-active > a {
    background: #0d47a1 !important;
    color: #ffffff !important;
    border-color: #0d47a1;
    font-weight: bold;
}

/* =========================================
   SUBMENU – Dropdown on hover
   ========================================= */

/* Hide the little toggle button (we use hover instead) */
.mod-menu__toggle-sub {
    display: none !important;
}

/* Base submenu style (hidden by default) */
ul.mod-menu__sub {
    display: none !important;
    position: absolute;
    margin-top: 4px;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    z-index: 999;
    min-width: 160px;
}

/* Show submenu on hover */
.container-nav .mod-menu > li:hover > ul.mod-menu__sub {
    display: block !important;
}

/* Submenu items */
ul.mod-menu__sub > li > a {
    display: block;
    padding: 4px 8px !important;
    font-size: 14px !important;
    white-space: nowrap;
    color: #0d47a1 !important;
    text-decoration: none !important;
}

ul.mod-menu__sub > li > a:hover {
    background: #e7f0ff;
}

/* =========================================
   PAGE TITLE
   ========================================= */

.page-header h1 {
    border-bottom: none !important;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
}

/* If you ever want to hide article view titles again:
.view-article .page-header {
    display: none !important;
}
*/

/* =========================================
   REMOVE BREADCRUMBS
   ========================================= */

.mod-breadcrumbs__wrapper,
.mod-breadcrumbs,
.breadcrumb {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}

/* =========================================
   REMOVE ARTICLE PAGE DETAILS (author/dates/etc.)
   ========================================= */

.article-info,
.article-info-term,
.article-info dd,
.article-info dt,
.com-content-article__info,
.com-content-article .published,
.com-content-article .created,
.com-content-article .modified,
.com-content-article .category-name,
.com-content-article .hits,
.com-content-article .author,
div[itemprop="author"],
time[itemprop="datePublished"] {
    display: none !important;
}

/* =========================================
   CONTENT AREA
   ========================================= */

.container-component {
    background: #ffffff;
    padding: 20px;
}

/* =========================================
   FOOTER – Protostar style
   ========================================= */

.footer {
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    border-top: 1px solid #dcdcdc;
    color: #777;
}

/* =========================================
   EDITOR BACKGROUND FIX
   ========================================= */

iframe body,
iframe html,
.mce-content-body {
    background: white !important;
}
