/* =========================================
   BASE & BACKGROUND (WithHeartandVerve)
========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 14px;
    line-height: 1.75;
    color: #444444;
    background-color: #f3f2f0;
    background-image:
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.015) 0, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 6px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.015) 0, rgba(0, 0, 0, 0.015) 1px, transparent 1px, transparent 6px);
    padding: 35px 25px 40px;
}

a {
    color: #36AB8A;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: rgba(54, 171, 138, 0.7);
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   PAGE WRAPPER WITH 4-CORNER CUT SHAPE
========================================= */
#page {
    max-width: 980px;
    margin: 0 auto;
    padding: 35px 42px 45px;
    background:
        radial-gradient(circle at 0 0, transparent 18px, #ffffff 18.5px) top left,
        radial-gradient(circle at 100% 0, transparent 18px, #ffffff 18.5px) top right,
        radial-gradient(circle at 0 100%, transparent 18px, #ffffff 18.5px) bottom left,
        radial-gradient(circle at 100% 100%, transparent 18px, #ffffff 18.5px) bottom right;
    background-size: 51% 51%;
    background-repeat: no-repeat;
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.09));
}

/* =========================================
   HEADER (Inside the White Box)
========================================= */
.site-header {
    text-align: center;
    margin-bottom: 35px;
}

.site-branding {
    padding: 5px 0 28px;
}

.site-title {
    font-family: 'Niconne', cursive;
    font-size: 54px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 6px;
}

.site-title a {
    color: #36AB8A;
}

.site-title a:hover {
    color: rgba(54, 171, 138, 0.75);
}

.site-description {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #999999;
    letter-spacing: 0.8px;
}

/* =========================================
   PINK RIBBON NAVIGATION BAR (Exact Match)
========================================= */
#nav-wrapper {
    position: relative;
    background: #ffffff;
    z-index: 20;
    margin: 0 -42px;
    padding: 0px 0px;
    box-shadow: -8px 0 12px -8px rgba(0, 0, 0, 0.25), 8px 0 12px -8px rgba(0, 0, 0, 0.25);
}

/* Left & Right Striped Pink Ribbon Tails */
.ribbon-left,
.ribbon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 46px;
    background: repeating-linear-gradient(
        90deg,
        #f4b5be,
        #f4b5be 2px,
        #f9cfd5 2px,
        #f9cfd5 4px
    );
    z-index: -1;
}

.ribbon-left {
    left: -34px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 30% 50%);
}

.ribbon-right {
    right: -34px;
    clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%);
}

/* Top & Bottom Exact WordPress Menu Border */
nav#main-nav {
    position: relative;
    padding: 0;
}

nav#main-nav::before,
nav#main-nav::after {
    content: '';
    width: 100%;
    height: 6px;
    display: block;
    background: url('images/menu-border.png') repeat-x top left;
}

.menu-toggle {
    display: none;
    background: #36AB8A;
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin: 8px auto;
}

#nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 1px 1px;
}

#nav > li {
    position: relative;
    display: flex;
    align-items: center;
}

/* Light Gray Dot Separator Between Menu Items */
#nav > li + li::before {
    content: ">";
    color: #d2d2d2;
    font-size: 14px;
    line-height: 1;
    margin: 0 10px;
}

#nav > li > a {
    display: block;
    padding: 10px 8px;
    font-family: 'PT Serif', Georgia, serif;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #4a4a4a;
}

#nav > li.current-menu-item > a,
#nav > li > a:hover {
    color: #36AB8A;
}

/* Dropdown Sub-Menu */
#nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    list-style: none;
    text-align: left;
    z-index: 100;
}

#nav li:hover > .sub-menu {
    display: block;
}

#nav .sub-menu li a {
    display: block;
    padding: 9px 15px;
    font-family: 'PT Serif', Georgia, serif;
    font-size: 13px;
    color: #555555;
    border-bottom: 1px solid #f2f2f2;
}

#nav .sub-menu li:last-child a {
    border-bottom: none;
}

#nav .sub-menu li a:hover {
    background: #fafafa;
    color: #36AB8A;
}

/* =========================================
   MAIN 2-COLUMN CONTENT AREA
========================================= */
#main {
    display: flex;
    gap: 45px;
    align-items: flex-start;
}

#primary {
    flex: 1;
    min-width: 0;
}

#sidebar {
    width: 255px;
    flex-shrink: 0;
}

/* =========================================
   POSTS & TYPOGRAPHY
========================================= */
.post {
    margin-bottom: 38px;
    padding-bottom: 32px;
    border-bottom: 1px solid #eeeeee;
}

.entry-header {
    text-align: left;
    margin-bottom: 20px;
}

.firstfull .entry-title {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 6px;
}

.entry-title a {
    color: #36AB8A !important;
}

.entry-title a:hover {
    color: #36AB8A;
}

.entry-meta {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 12px;
    color: #797979;
}

.entry-meta a {
    color: #797979;
}

.entry-meta a:hover {
    color: #36AB8A;
}

.entry-content p {
    margin-bottom: 16px;
    color: #4a4a4a;
}

.text-center {
    text-align: center;
}

.aligncenter {
    display: block;
    margin: 18px auto;
}

.wp-caption {
    width: 300px;
    max-width: 100%;
    text-align: center;
    margin: 20px auto;
}

.wp-caption img {
    display: block;
    margin: 0 auto 6px;
}

.wp-caption-text {
    font-size: 12px;
    color: #797979;
    font-style: italic;
}

.entry-meta.bottom {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px dashed #e5e5e5;
    font-size: 12px;
}

/* =========================================
   EXCERPT POSTS
========================================= */
.post.excerpt {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.post-thumbnail {
    width: 210px;
    flex-shrink: 0;
}

.post-thumbnail img {
    display: block;
    width: 210px;
    height: auto;
}

.excerpt-body {
    flex: 1;
}

.excerpt .entry-header {
    margin-bottom: 10px;
}

.excerpt .entry-title {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 5px;
}

.entry-summary {
    font-size: 14px;
    color: #555555;
}

.more-link {
    display: inline-block;
    margin-left: 4px;
    font-size: 13px;
    color: #36AB8A;
}

.wp-pagenavi {
    padding-top: 5px;
    font-size: 13px;
}

/* =========================================
   SIDEBAR WIDGETS
========================================= */
.widget {
    margin-bottom: 32px;
}

.widget-title {
    position: relative;
    font-family: 'Niconne', cursive;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    color: #333333;
    text-align: left;
    margin-bottom: 14px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 4px;
}

.widget-title em {
    font-style: normal;
    color: #F8AFB8;
}

.widget-select {
    width: 170px;
    max-width: 100%;
    padding: 5px 8px;
    font-family: Arial, sans-serif;
    font-size: 12.5px;
    color: #333333;
    border: 1px solid #cccccc;
    background: #ffffff;
    border-radius: 2px;
}

.search-field {
    width: 175px;
    max-width: 100%;
    padding: 6px 10px;
    font-family: 'PT Serif', Georgia, serif;
    font-size: 13px;
    color: #555555;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    outline: none;
}

.search-field:focus {
    border-color: #36AB8A;
}

.widget_recent_entries ul {
    list-style: none;
}

.widget_recent_entries li {
    padding: 7px 0;
    border-bottom: 1px solid #f2f2f2;
    font-size: 13.5px;
    line-height: 1.5;
}

.widget_recent_entries li:last-child {
    border-bottom: none;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    max-width: 980px;
    margin: 25px auto 0;
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 11.5px;
    color: #797979;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}

.footer-menu a {
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.footer-menu a:hover {
    color: #36AB8A;
}

/* =========================================
   RESPONSIVE (TABLET & MOBILE)
========================================= */
@media (max-width: 860px) {
    body {
        padding: 15px 10px;
    }

    #page {
        padding: 25px 22px;
    }

    #nav-wrapper {
        margin: 0 -22px;
        padding: 7px 0;
    }

    .ribbon-left,
    .ribbon-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    #nav {
        display: none;
        flex-direction: column;
        padding: 0;
    }

    #nav.open {
        display: flex;
    }

    #nav > li {
        flex-direction: column;
        width: 100%;
    }

    #nav > li + li::before {
        display: none;
    }

    #nav .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #fafafa;
        text-align: center;
        width: 100%;
    }

    #main {
        flex-direction: column;
    }

    #sidebar {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .site-title {
        font-size: 42px;
    }

    .post.excerpt {
        flex-direction: column;
    }

    .post-thumbnail,
    .post-thumbnail img {
        width: 100%;
    }
}