/* =========================
   LINKS — limit to content + filter
   ========================= */
.entry-content a,
#ymc-filter-1 a{
    text-decoration:none !important;
}

.entry-content a:hover,
#ymc-filter-1 a:hover{
    text-decoration:none !important;
}

/* =========================
   READ MORE LINK
   ========================= */
.post-card__read-more{
    color:#035fc2 !important;
    transition: color .25s ease;
}

.post-card__read-more:hover{
    color:#781327 !important;
}

/* =========================
   FILTER BADGES (FIXED — scoped, prevents layout break)
   ========================= */
#ymc-filter-1 .tag{
    background:#e1e2e5 !important;
    color:#000000 !important;
    border-radius:18px !important;
    padding:6px 12px !important;
    font-size:13px;
    display:inline-flex;
    align-items:center;
    gap:6px;
}

#ymc-filter-1 .tag:hover{
    background:#d2d4d9 !important;
}

/* =========================
   DROPDOWN ITEMS
   ========================= */
#ymc-filter-1 li.ymc-dropdown_item{
    background:#004165 !important;
    color:#fff !important;
}

#ymc-filter-1 li.ymc-dropdown_item > *,
#ymc-filter-1 li.ymc-dropdown_item a,
#ymc-filter-1 li.ymc-dropdown_item button,
#ymc-filter-1 li.ymc-dropdown_item span,
#ymc-filter-1 li.ymc-dropdown_item div{
    background:#004165 !important;
    color:#fff !important;
}

#ymc-filter-1 li.ymc-dropdown_item:hover,
#ymc-filter-1 li.ymc-dropdown_item:hover > *{
    background:#004165 !important;
    color:#fff !important;
}

/* dropdown panel */
#ymc-filter-1 .ymc-dropdown__list,
#ymc-filter-1 .ymc-dropdown__menu,
#ymc-filter-1 .ymc-dropdown__content{
    background:#004165 !important;
}

/* close row */
#ymc-filter-1 .ymc-dropdown__close{
    background:#004165 !important;
    color:#fff !important;
}

/* option rows */
#ymc-filter-1 li.ymc-dropdown__item{
    background:#004165 !important;
    color:#fff !important;
}

#ymc-filter-1 li.ymc-dropdown__item > *,
#ymc-filter-1 li.ymc-dropdown__item a,
#ymc-filter-1 li.ymc-dropdown__item button,
#ymc-filter-1 li.ymc-dropdown__item span,
#ymc-filter-1 li.ymc-dropdown__item div{
    background:#004165 !important;
    color:#fff !important;
}

#ymc-filter-1 li.ymc-dropdown__item:hover,
#ymc-filter-1 li.ymc-dropdown__item.is-selected,
#ymc-filter-1 li.ymc-dropdown__item.is-disabled{
    background:#004165 !important;
    color:#fff !important;
}

#ymc-filter-1 li.ymc-dropdown__item::before,
#ymc-filter-1 li.ymc-dropdown__item::after{
    background:#004165 !important;
}

#ymc-filter-1 li.ymc-dropdown__item.is-disabled{
    opacity:0.75;
}

/* =========================
   CHECKMARK COLOR
   ========================= */
#ymc-filter-1 .checkmark,
#ymc-filter-1 .checkmark::before,
#ymc-filter-1 .checkmark::after{
    color:#ffffff !important;
    border-color:#ffffff !important;
}

#ymc-filter-1 .checkmark svg{
    fill:#ffffff !important;
    stroke:#ffffff !important;
}

/* =========================
   SEARCH BUTTON
   ========================= */
#ymc-filter-1 button.js-search-button,
#ymc-filter-1 .button.button--primary.js-search-button{
    background:#772432 !important;
    color:#ffffff !important;
    border:1px solid #772432 !important;
    transition:all .2s ease;
}

#ymc-filter-1 button.js-search-button:hover,
#ymc-filter-1 .button.button--primary.js-search-button:hover{
    background:#651825 !important;
    color:#ffffff !important;
    border-color:#651825 !important;
}

#ymc-filter-1 button.js-search-button:active{
    background:#651825 !important;
    color:#ffffff !important;
}

/* =================================================
   BLOG PAGE ONLY (page id = 2)
   Fixed subtle illustrated background
   ================================================= */

body.page-id-2{
  background-color:#ffffff !important;
  background-image:url("https://seadragonsgavel.org/wp-content/uploads/2026/02/pattern-randomized.png") !important;
  background-repeat:repeat !important;
  background-size:520px 520px !important;   /* more zoomed */
  background-attachment:fixed !important;   /* stays still when scrolling */
  background-position:center top !important;
}

/* Make theme wrappers transparent so the pattern is visible */
body.page-id-2 #page,
body.page-id-2 .site,
body.page-id-2 .site-content,
body.page-id-2 .wp-site-blocks,
body.page-id-2 main{
  background:transparent !important;
}