/* Happy Mail Club popup layering */
.mailpoet_form_popup_overlay {
    z-index: 99998 !important;
}

#mp_form_popup1 {
    z-index: 99999 !important;
}/* Fix Happy Mail Club header overlap */
body:has(.mailpoet_form_popup_overlay.active) #masthead {
    z-index: 0 !important;
}

/* Hide the old homepage banner */
.home .site-banner {
    display: none !important;
}

/* Brand pink website header */
#masthead {
    background-color: #FDD0D7 !important;
}

/* Dark pink header text and navigation */
#masthead a,
#masthead .site-title,
#masthead .menu-toggle {
    color: #A82D59 !important;
    text-shadow: none !important;
}

/* Clean menu button */
#masthead .menu-toggle {
    background-color: transparent !important;
    border-color: transparent !important;
}

/* Override theme header background */
#masthead.site-header {
    background: #FDD0D7 !important;
    background-image: none !important;
}

/* Fix dark header overlay */
#page #masthead.site-header::before {
    background-color: #FDD0D7 !important;
    opacity: 1 !important;
}

/* Remove gold decorative circle on homepage */
.home #post-368 .entry-inner::before {
    display: none !important;
}

/* Remove homepage decorative circle and line */
.home #post-368 .entry-inner::after {
    display: none !important;
}

/* Reduce homepage spacing */
.home #post-368 .entry-inner {
    padding-top: 30px !important;
}

.home #post-368 .entry-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Craft Fairs & Events - Remove gold decoration */
#post-921 .entry-inner::before {
    display: none !important;
}

#post-921 .entry-inner::after {
    display: none !important;
}

/* Craft Fairs & Events - Reduce spacing */
#post-921 .entry-inner {
    padding-top: 30px !important;
}

#post-921 .entry-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Craft Fairs & Events - Page title styling */
#post-921 .entry-title {
    color: #A82D59 !important;
    font-weight: 700 !important;
}

#post-921 .entry-header {
    border-top: none !important;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

#post-921 .entry-header::before,
#post-921 .entry-header::after {
    display: none !important;
}

/* Craft Fairs & Events - Section headings */
#post-921 .entry-content h2 {
    color: #A82D59 !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 25px !important;
    margin-bottom: 20px !important;
}

/* Homepage - Remove old banner container */
.home .featured-content {
    display: none !important;
}

/* Homepage - Remove unwanted banner spacing */
.home #primary.content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Homepage - Correct banner spacing */
.home #primary.content-area {
    margin-top: 0 !important;
    padding-top: 40px !important;
}

/* Footer - Heading size and spacing */
#colophon .widget-title {
    font-size: 18px !important;
    letter-spacing: 0 !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

/* Footer - Brand colours */
#colophon,
#colophon .widget-area {
    background-color: #FDD0D7 !important;
    color: #51313B !important;
}

#colophon .widget-title,
#colophon a {
    color: #A82D59 !important;
}

/* Footer - Improve text readability */
#colophon .textwidget,
#colophon .textwidget p,
#colophon .textwidget strong {
    color: #51313B !important;
}

/* Footer - Brand button */
#colophon .wp-block-button__link {
    background-color: #A82D59 !important;
    color: #FFFFFF !important;
}

/* Footer - Reduce excessive spacing */
#colophon .widget-area {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

#colophon .textwidget p {
    margin-bottom: 15px !important;
}

#colophon .widget-title {
    margin-bottom: 20px !important;
}

#colophon .widget {
    margin-bottom: 15px !important;
}

/* Footer - Compact business description */
#colophon .textwidget p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* Footer - Centre social media icons */
#colophon .social-links {
    float: none !important;
    width: 100% !important;
    text-align: center !important;
    padding-bottom: 60px !important;
}

#colophon .social-links ul {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding-left: 0 !important;
}

/* Contact Us footer spacing */
#block-8 p {
    margin: 0 0 12px !important;
    padding: 0 !important;
}

#block-8 .wp-block-group,
#block-8 .wp-block-group__inner-container {
    gap: 0 !important;
}

#block-8 a {
    overflow-wrap: anywhere;
}

/* Remove gold decorative icon and line from pages */
.page .entry-inner::before,
.page .entry-inner::after {
    display: none !important;
}

/* Consistent page title colours */
.page .entry-title,
.page .entry-title a {
    color: #A82D59 !important;
}