/* ===== NAV STYLE ===== */

.main-header-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.main-header-menu .menu-link {
    color: #1f4e79 !important;
    font-weight: 600;
}

.main-header-menu .menu-link:hover {
    color: #2e7d32 !important;
}
/* ===== HEADER WITH QUILT IMAGE ===== */

.ast-primary-header-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    /*background-image: url('https://hannibalpiecemakers.com/images/pages/quilt-banner.jpg') !important;*/
	background-image: none;
    background-size: cover;
    background-position: center;
	/*padding: 25px 10px !important;*/
}

/* soften image */
.ast-primary-header-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.75);
}

.ast-primary-header-bar .ast-container {
    position: relative;
    z-index: 1;
}
/* Logo + title */
.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

/* logo */
.site-branding::before {
    content: "";
    width: 60px;
    height: 60px;
    background-image: url('https://hannibalpiecemakers.com/images/hpqglogoweb.gif');
    background-size: contain;
    background-repeat: no-repeat;
}

/* title */
.site-title a {
    font-size: 30px;
    font-weight: bold;
    color: #1f4e79 !important;
}
/* NAV BELOW TITLE */
.main-header-bar-navigation {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.main-header-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* menu links */
.main-header-menu .menu-link {
    color: #1f4e79 !important;
    font-weight: 600;
}

.main-header-menu .menu-link:hover {
    color: #2e7d32 !important;
}
/* CONTENT */
.entry-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0dcd5;
}
/* ===== FORCE 2-ROW HEADER ===== */

.ast-primary-header-bar .ast-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}
/* Top row: logo + title */
.site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* LEFT */
    gap: 12px;
}
/* Navigation row */
.main-header-bar-navigation {
    width: 100%;
    text-align: center;
    margin-top: 10px;	
}

/* Center menu items */
.main-header-menu {
    display: flex;
    justify-content: center;
    gap: 25px;
}
/* Hide Astra’s default menu positioning */
.ast-primary-header-bar .ast-container {
    display: block !important;
}
/* Force stacking */
.ast-primary-header-bar {
    text-align: left;
}

/* Logo + title stays left */
.site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
/* BREAK MENU TO NEXT LINE */
.main-header-bar-navigation {
    display: block !important;
    width: 100% !important;
    margin-top: 10px;
	
}

/* Center it */
.main-header-menu {
    display: flex !important;
    justify-content: center !important;
    gap: 25px;
}
/* FORCE FULL BREAK */
.ast-primary-header-bar .ast-container > * {
    width: 100% !important;
}

.site-branding {
    float: none !important;
}

.main-header-bar-navigation {
    float: none !important;
}
/* ---------------CHANGING COURSE AGAIN! 1:39 p.m. 4/17 ----------------- */
/* ===== QUILT BANNER BELOW HEADER ===== */

#quilt-banner {
    background-image: url('https://hannibalpiecemakers.com/images/pages/quilt-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Fade overlay */
#quilt-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.55);
}

/* Title */
#quilt-banner h1 {
    position: relative;
    color: #17518a;
	font-size: 36px;
	font-weight: bold;
    margin: 0;
}
/* REMOVE EXTRA GAP */
.site-main {
    margin-top: 0 !important;
}

.entry-content {
    padding-top: 10px !important;
}
/* ===== CLEAN HEADER (NO IMAGE) ===== */

.site-header,
.ast-primary-header-bar {
	/*background: #d9f2d5 !important;*/
    /*background: #f7f4ef !important;*/
    background-image: url('https://hannibalpiecemakers.com/images/pages/nav-bar.jpg'); 
	/*background-image: none;*/
}

/* Remove any overlay effects */
.site-header::before,
.ast-primary-header-bar::before {
    display: none !important;
}

/* Hide duplicate title in header (keep logo + menu only) */
.site-title {
    display: none;
}
/* Keep header clean and aligned */
.ast-primary-header-bar .ast-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo stays left */
.site-branding {
    display: flex;
    align-items: center;
}
h1,h2, h3 {
    color: #1d6ab6;
}
/* NAVIGATION LINKS */
.main-header-menu .menu-link {
    color: #ffffff !important;   /* change this color */
    font-size: 18px;             /* make larger (try 17–20px) */
    font-weight: 600;            /* 500 = medium, 600 = semi-bold, 700 = bold */
}

/* Hover color */
.main-header-menu .menu-link:hover {
    color: #4381bf !important;   /* change hover color */
}
/* SPACE BELOW BANNER */
#quilt-banner {
    margin-bottom: 25px;
}
#quilt-banner {
    border-bottom: 3px solid #e0dcd5;
}
/* TIGHTEN WRAPPED MENU SPACING */
.main-header-menu {
    row-gap: 2px;
}

.main-header-menu .menu-link {
    padding: 2px 8px !important;
    line-height: 1.1;
}
/* OUTER BACKGROUND */
body {
    background: linear-gradient(to bottom, #f8f6f2, #eee9e2);
}
/* MAIN CONTENT BOX */
.ast-separate-container #primary {
    border-radius: 20px;
    box-shadow: 0 5px 8px rgba(0,0,0,0.05);
}
/* MOVE TITLE UP */
.entry-header {
    margin-top: 0px !important;
    margin-bottom: 10px;
}

.entry-title {
    margin-top: 0;
}
#quilt-banner {
    border-radius: 6px;
}
/* subtle shadow */
.main-header-menu .sub-menu {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    border-radius: 6px;
}
/* DROPDOWN CONTAINER */
.main-header-menu .sub-menu {
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 5px 0;
    text-align: left;
}
/* DROPDOWN LINKS */
.main-header-menu .sub-menu .menu-link {
    color: #1d6ab6 !important;   /* same as headings */
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}
/* DROPDOWN SPACING FIX */
.main-header-menu .sub-menu li {
    margin: 4px 0;
}

.main-header-menu .sub-menu .menu-link {
    padding: 6px 12px !important;
    line-height: 1.4;
}
.main-header-menu .sub-menu .menu-link:hover {
    color: #17518a !important;
    background: none !important;
}
/* =========================
   MOBILE / HAMBURGER MENU
========================= */

/* Mobile menu panel background */
.ast-mobile-popup-drawer,
.ast-header-break-point .main-header-bar-navigation {
    background-color: #dceaf7 !important;
}

/* Mobile menu links */
.ast-header-break-point .main-header-menu a {
    color: #17518a !important;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}

/* Hover color */
.ast-header-break-point .main-header-menu a:hover {
    color: #2e7d32 !important;
}

/* Reduce spacing between wrapped menu lines */
.ast-header-break-point .main-header-menu .menu-item {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* Hamburger icon */
.menu-toggle-icon,
.ast-mobile-menu-trigger-minimal {
    color: #17518a !important;
}



