:root {
  --bb-primary: #4d8dff;
  --bb-accent: #f58b74;
  --bb-soft: #eef3fb;
  --bb-highlight: #dcf7df;
  --bb-text: #17233b;
  --bb-muted: #5f6d84;
  --bb-border: #d9e3f4;
  --bb-bg: #f5f6f8;
  --bb-card: #ffffff;
  --bb-shadow: 0 12px 24px rgba(22, 35, 59, .07);
  --bb-radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--bb-text);
  background: var(--bb-bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-main { min-height: 60vh; }
.section { padding: 30px 0; }
.content-narrow { width: min(780px, 100%); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 16px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(245,246,248,.97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(217,227,244,.8); }
.header-main-row { display: grid; grid-template-columns: 240px minmax(240px, 1fr) auto auto; gap: 18px; align-items: center; padding: 14px 0 10px; }
.brand-lockup, .brand-lockup--footer { display: flex; align-items: center; gap: 14px; }
.brand-lockup__mark { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(145deg, var(--bb-primary), #6db8ff); position: relative; box-shadow: inset 0 0 0 4px rgba(255,255,255,.55); }
.brand-lockup__mark span { position: absolute; display: block; background: #fff; border-radius: 999px; }
.brand-lockup__mark span:nth-child(1) { width: 10px; height: 10px; left: 8px; top: 12px; }
.brand-lockup__mark span:nth-child(2) { width: 22px; height: 4px; right: 9px; top: 17px; transform: rotate(35deg); }
.brand-lockup__mark span:nth-child(3) { width: 28px; height: 4px; left: 15px; bottom: 16px; transform: rotate(-35deg); }
.brand-lockup__mark span:nth-child(4) { width: 10px; height: 10px; right: 10px; bottom: 10px; }
.brand-lockup__text strong { display: block; font-size: 20px; line-height: 1.1; color: var(--bb-primary); text-transform: lowercase; }
.brand-lockup__text small { display: block; font-size: 12px; letter-spacing: .38em; text-transform: lowercase; color: var(--bb-primary); }
.custom-logo-link img { max-height: 60px; width: auto; }
.header-search-wrap { max-width: 560px; width: 100%; justify-self: center; }
.search-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--bb-border); border-radius: 4px; overflow: hidden; }
.search-field { flex: 1; border: 0; background: transparent; padding: 14px 18px; color: var(--bb-text); min-width: 0; }
.search-field::placeholder { color: #7e8aa0; }
.search-submit { width: 56px; height: 50px; border: 0; background: transparent; color: #7e8aa0; display: grid; place-items: center; }
.newsletter-button { display: inline-flex; align-items: center; gap: 8px; background: var(--bb-primary); color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 700; font-size: 14px; box-shadow: var(--bb-shadow); }
.menu-toggle { display: none; border: 1px solid var(--bb-border); background: #fff; color: var(--bb-text); width: 48px; height: 48px; border-radius: 12px; }
.menu-toggle__close { display: none; }
body.menu-open .menu-toggle__open { display: none; }
body.menu-open .menu-toggle__close { display: inline; }
body.menu-open { overflow: hidden; }
.primary-navigation { border-top: 1px solid rgba(217,227,244,.7); }
.primary-menu { display: flex; align-items: center; gap: 34px; list-style: none; padding: 0; margin: 0; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 15px 0; font-size: 17px; color: var(--bb-text); }
.primary-menu > .menu-item-has-children > a::after { content: '▾'; font-size: 12px; color: var(--bb-primary); }
.primary-menu > li:hover > a, .primary-menu > li:focus-within > a { color: var(--bb-primary); }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 14px 0; background: #fff; border: 1px solid var(--bb-border); border-radius: 14px; box-shadow: var(--bb-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s ease; z-index: 20; }
.sub-menu li a { display: block; padding: 10px 16px; font-size: 15px; }
.menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu, .menu-item.is-expanded > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-item-mega { position: static; }
.mega-menu { position: absolute; left: 50%; transform: translate(-50%, 8px); top: 100%; width: min(900px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--bb-border); box-shadow: var(--bb-shadow); border-radius: 0 0 18px 18px; opacity: 0; visibility: hidden; transition: .25s ease; z-index: 25; }
.menu-item-mega:hover .mega-menu, .menu-item-mega:focus-within .mega-menu, .menu-item-mega.is-expanded .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 34px 28px; }
.mega-menu h3 { margin: 0 0 18px; font-size: 16px; color: var(--bb-muted); letter-spacing: .04em; }
.mega-menu ul { margin: 0; padding: 0; list-style: none; }
.mega-menu li + li { margin-top: 14px; }
.mega-menu a { font-size: 16px; }

.home-hero { background: #eaf0f7; padding: 18px 0 26px; }
.home-hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; align-items: center; }
.home-hero__content { padding: 26px 0; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--bb-highlight); color: #238a3a; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.home-hero h1 { margin: 0 0 16px; font-size: clamp(36px, 5vw, 64px); line-height: 1.03; letter-spacing: -0.03em; }
.home-hero p { max-width: 690px; margin: 0 0 22px; font-size: 19px; color: var(--bb-text); }
.hero-search-form { display: flex; align-items: center; max-width: 420px; background: #fff; border: 1px solid var(--bb-border); border-radius: 4px; overflow: hidden; }
.hero-search-form input { flex: 1; border: 0; background: transparent; padding: 14px 16px; }
.hero-search-form button { width: 52px; height: 48px; border: 0; background: transparent; color: #7e8aa0; }
.home-hero__media img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 1 / 1; }

.section-copy h2 { margin: 0 0 8px; font-size: 30px; }
.section-copy p { margin: 0; color: var(--bb-muted); }
.trust-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.info-card { background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); padding: 24px 20px; box-shadow: var(--bb-shadow); }
.info-card span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bb-soft); color: var(--bb-primary); margin-bottom: 18px; }
.info-card strong { display: block; font-size: 20px; margin-bottom: 8px; }
.info-card small { display: block; color: var(--bb-muted); font-size: 15px; }

.section-title { text-align: center; font-weight: 700; font-size: 24px; padding: 12px 20px; border: 1px solid var(--bb-primary); border-radius: 10px; background: #fff; margin-bottom: 26px; }
.category-tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-tile, .thumb-card { display: block; }
.category-tile__image, .thumb-card__image { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--bb-border); background: #fff; box-shadow: var(--bb-shadow); }
.category-tile__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.thumb-card__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.category-tile__title, .thumb-card__title { display: block; text-align: center; padding-top: 10px; font-weight: 700; font-size: 14px; }
.category-tile:hover .category-tile__image img, .thumb-card:hover .thumb-card__image img, .pin-card:hover .pin-card__media img { transform: scale(1.03); }
.category-tile__image img, .thumb-card__image img, .pin-card__media img { transition: transform .25s ease; }
.thumb-grid { display: grid; gap: 18px; }
.thumb-grid--three { grid-template-columns: repeat(3, 1fr); }
.thumb-grid--compact { grid-template-columns: repeat(3, 1fr); }
.home-about-section { padding-bottom: 16px; }
.home-about-copy { max-width: 920px; text-align: center; }
.home-about-copy h2 { margin: 0 0 14px; font-size: 36px; }
.home-about-copy p { color: var(--bb-muted); margin: 0 0 16px; }
.more-link-button { display: inline-block; background: var(--bb-primary); color: #fff; padding: 10px 16px; border-radius: 6px; font-size: 14px; font-weight: 700; }

.archive-hero { background: #eaf0f7; padding: 26px 0; }
.archive-hero h1 { margin: 10px 0 10px; font-size: clamp(32px, 4vw, 50px); }
.archive-hero p, .archive-description { max-width: 760px; color: var(--bb-muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--bb-muted); }
.archive-content .archive-results-head { margin-bottom: 18px; color: var(--bb-muted); }
.masonry-grid { column-count: 4; column-gap: 18px; }
.masonry-grid > * { break-inside: avoid; margin-bottom: 18px; }
.pin-card { background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); overflow: hidden; box-shadow: var(--bb-shadow); }
.pin-card__media { position: relative; }
.pin-card__media img { width: 100%; }
.pin-card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.pin-badge { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.pin-badge--featured { background: var(--bb-primary); }
.pin-badge--trending { background: #58bf65; }
.pin-badge--editor { background: var(--bb-accent); }
.favorite-button { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--bb-text); }
.favorite-button.is-saved { color: #e25072; }
.pin-card__body { padding: 16px; }
.pin-card__category { display: inline-block; margin-bottom: 8px; color: var(--bb-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pin-card__title { margin: 0 0 8px; font-size: 20px; line-height: 1.3; }
.pin-card__title a:hover { color: var(--bb-primary); }
.pin-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--bb-muted); margin-bottom: 14px; }
.pin-card__actions { display: flex; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 16px; font-weight: 700; border: 1px solid var(--bb-border); background: #fff; }
.button--small { padding: 10px 14px; font-size: 14px; }
.button--ghost { background: var(--bb-soft); }
.button--download { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }
.button--full { width: 100%; }

.single-resource-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.single-preview-card, .download-box, .sidebar-box, .generic-single-card { background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); }
.single-preview-image { position: relative; overflow: hidden; border-radius: var(--bb-radius); }
.single-preview-image img { width: 100%; }
.preview-zoom { position: absolute; right: 14px; bottom: 14px; border: 0; background: rgba(23,35,59,.88); color: #fff; border-radius: 999px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px; }
.share-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; padding: 10px 0; }
.share-button { width: 40px; height: 40px; border: 0; border-radius: 6px; display: inline-grid; place-items: center; color: #fff; }
.share-button--pinterest { background: #e60023; }
.share-button--reddit { background: #ff5700; }
.share-button--x { background: #111; }
.share-button--whatsapp { background: #25d366; }
.share-button--facebook { background: #1877f2; }
.share-button--copy { background: #8b9099; }
.single-entry-content { background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); padding: 28px; box-shadow: var(--bb-shadow); }
.single-entry-content h2 { margin-top: 0; }
.download-box, .sidebar-box { padding: 22px; }
.download-box h2, .sidebar-box h3 { margin: 0 0 16px; font-size: 24px; }
.single-category-link a { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: var(--bb-soft); color: var(--bb-primary); font-weight: 700; margin-bottom: 14px; }
.resource-meta-list { list-style: none; margin: 0 0 18px; padding: 0; }
.resource-meta-list li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #edf1f7; }
.resource-meta-list li span { color: var(--bb-muted); }
.single-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.single-actions button { flex: 1; min-width: 120px; background: var(--bb-soft); border: 1px solid var(--bb-border); border-radius: 10px; padding: 11px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.single-actions--stacked { flex-direction: column; }
.sidebar-box + .sidebar-box { margin-top: 18px; }
.sidebar-box--menu h3 { position: relative; background: var(--bb-primary); color: #fff; padding: 14px 20px; border-radius: 12px; display: inline-block; margin-bottom: 18px; }
.sidebar-menu-list { display: grid; gap: 12px; }
.sidebar-menu-list a { display: block; padding: 14px 18px; border: 1px solid var(--bb-border); border-radius: 12px; background: var(--bb-soft); font-size: 18px; font-weight: 700; text-align: center; }
.related-content-block { margin-top: 28px; }
.related-content-block h2 { margin: 0 0 18px; }
.generic-single-thumb img { border-radius: var(--bb-radius) var(--bb-radius) 0 0; width: 100%; }
.generic-single-card .single-entry-content, .generic-single-card { padding: 0; overflow: hidden; }
.generic-single-card .share-strip, .generic-single-card .single-entry-content { margin: 0; }
.generic-single-card .share-strip { padding: 20px 28px 0; }

.filter-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); padding: 18px; margin-bottom: 20px; }
.filter-field input, .filter-field select { width: 100%; background: var(--bb-soft); border: 1px solid var(--bb-border); border-radius: 10px; padding: 12px 14px; }
.filter-actions { display: flex; gap: 10px; align-items: end; }
.empty-state { text-align: center; padding: 50px 24px; background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); }
.empty-state span { font-size: 44px; display: inline-block; margin-bottom: 8px; }

.site-footer { margin-top: 28px; padding-top: 18px; background: #fff; border-top: 1px solid var(--bb-border); }
.footer-top-copy { padding: 18px 0 10px; }
.footer-brand-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.footer-copy-text h2 { margin: 0 0 12px; font-size: 36px; text-align: center; }
.footer-copy-text p { text-align: center; color: var(--bb-muted); margin: 0 0 14px; }
.footer-grid { display: grid; gap: 24px; padding: 26px 0 18px; }
.footer-grid--five { grid-template-columns: repeat(5, 1fr); }
.footer-grid h3 { margin: 0 0 14px; font-size: 14px; letter-spacing: .04em; color: var(--bb-text); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { color: var(--bb-muted); font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--bb-border); display: flex; justify-content: space-between; gap: 20px; padding: 16px 0 22px; color: var(--bb-muted); font-size: 14px; }
.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bb-primary); color: #fff; opacity: 0; visibility: hidden; box-shadow: var(--bb-shadow); }
.back-to-top.is-visible { opacity: 1; visibility: visible; }

.lightbox { position: fixed; inset: 0; background: rgba(20, 28, 43, .85); display: grid; place-items: center; z-index: 80; padding: 32px; }
.lightbox[hidden] { display: none; }
.lightbox__content { max-width: min(900px, 100%); max-height: 85vh; overflow: auto; }
.lightbox__content img { border-radius: 18px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; }

.comments-area { background: #fff; border: 1px solid var(--bb-border); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow); padding: 24px; }
.comments-area input, .comments-area textarea { width: 100%; border: 1px solid var(--bb-border); border-radius: 12px; padding: 12px 14px; }
.comments-area .submit { background: var(--bb-primary); color: #fff; border: 0; border-radius: 10px; padding: 12px 18px; }

@media (max-width: 1100px) {
  .header-main-row { grid-template-columns: 220px minmax(200px, 1fr) auto auto; }
  .category-tile-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-cards { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { column-count: 3; }
  .single-resource-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .footer-grid--five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .header-main-row { grid-template-columns: 1fr auto auto; }
  .site-branding { grid-column: 1 / 2; }
  .header-search-wrap { grid-column: 1 / -1; order: 4; max-width: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-navigation { display: none; border-top: 1px solid var(--bb-border); }
  .primary-navigation.is-open { display: block; }
  .primary-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .primary-menu > li > a { padding: 14px 0; justify-content: space-between; border-bottom: 1px solid #edf1f7; }
  .sub-menu, .mega-menu { position: static; min-width: 0; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; border: 1px solid var(--bb-border); box-shadow: none; margin: 0 0 10px; }
  .menu-item.is-expanded > .sub-menu, .menu-item.is-expanded > .mega-menu { display: block; }
  .mega-menu__grid { grid-template-columns: 1fr; padding: 20px; }
  .home-hero__grid, .single-resource-layout, .footer-brand-row { grid-template-columns: 1fr; }
  .category-tile-grid { grid-template-columns: repeat(3, 1fr); }
  .thumb-grid--three, .thumb-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { column-count: 2; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, 100%); }
  .header-main-row { grid-template-columns: 1fr auto; gap: 12px; }
  .newsletter-button { display: none; }
  .home-hero h1 { font-size: 42px; }
  .home-hero p { font-size: 18px; }
  .trust-cards, .category-tile-grid, .thumb-grid--three, .thumb-grid--compact, .filter-bar, .footer-grid--five { grid-template-columns: 1fr; }
  .masonry-grid { column-count: 1; }
  .pin-card__actions, .single-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-copy-text h2 { font-size: 28px; }
}
.filter-bar__search { display: flex; align-items: center; gap: 10px; background: var(--bb-soft); border: 1px solid var(--bb-border); border-radius: 10px; padding: 0 12px; }
.filter-bar__search input { width: 100%; border: 0; background: transparent; padding: 12px 0; }
.filter-bar > label { display: block; }
.filter-bar > label select { width: 100%; height: 100%; }
.button--filter { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }
.filter-reset { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--bb-muted); }
@media (max-width: 980px) { .filter-bar { align-items: stretch; } .filter-reset { min-height: 44px; } }

/* Version 1.2: builder home, article sidebars, widgets and theme panel output */
.container { width: min(var(--bb-content-width, 1180px), calc(100% - 32px)); }
a { color: var(--bb-link, inherit); }
.site-header a, .site-footer a, .button, .thumb-card, .category-tile, .pin-card a { color: inherit; }
.newsletter-button { justify-self: end; }
.builder-home-content, .builder-page-content { width: 100%; margin: 0; padding: 0; overflow: hidden; }
.builder-home-content > .alignwide, .builder-page-content > .alignwide { width: min(var(--bb-content-width), calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.builder-home-content > .alignfull, .builder-page-content > .alignfull { width: 100%; max-width: none; }
.builder-home-content > *:not(.alignfull):not(.alignwide):not(.elementor), .builder-page-content > *:not(.alignfull):not(.alignwide):not(.elementor) { max-width: var(--bb-content-width); margin-left: auto; margin-right: auto; }
.theme-ad { width: 100%; text-align: center; margin: 18px auto; overflow: hidden; }
.theme-ad img, .theme-ad iframe { max-width: 100%; }
.theme-ad--header { margin: 0 auto; padding: 10px 0; }

.article-header { background: #eef3fb; border-bottom: 1px solid var(--bb-border); padding: 34px 0 28px; }
.article-header__inner { max-width: var(--bb-content-width); }
.article-header h1 { max-width: 900px; margin: 12px 0 12px; font-size: clamp(34px, 5vw, 58px); line-height: 1.12; letter-spacing: -.025em; color: var(--bb-text); }
.article-excerpt { max-width: 850px; color: var(--bb-muted); font-size: 18px; }
.article-excerpt p { margin: 0; }
.article-category { display: inline-flex; margin-top: 14px; padding: 7px 12px; border-radius: 999px; background: var(--bb-primary); color: #fff!important; font-size: 13px; font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--bb-muted); font-size: 14px; }
.article-meta span { display: inline-flex; align-items: center; }
.article-meta span + span:before { content: '•'; margin-right: 18px; color: var(--bb-border); }
.article-section { padding-top: 32px; }
.article-layout { display: grid; grid-template-columns: minmax(0, var(--bb-article-width)) var(--bb-sidebar-width); gap: 34px; align-items: start; justify-content: center; }
.article-layout--left { grid-template-columns: var(--bb-sidebar-width) minmax(0, var(--bb-article-width)); }
.article-layout--left .article-main { order: 2; }
.article-layout--left .article-sidebar { order: 1; }
.article-layout.no-sidebar { display: block; }
.article-layout.no-sidebar .article-main { width: min(var(--bb-article-width), 100%); margin: 0 auto; }
.article-main { min-width: 0; }
.article-featured-image { position: relative; margin: 0 0 20px; border-radius: 18px; overflow: hidden; background: var(--bb-card); border: 1px solid var(--bb-border); box-shadow: var(--bb-shadow); }
.article-featured-image img { width: 100%; height: auto; object-fit: contain; }
.article-content { background: var(--bb-card); border: 1px solid var(--bb-border); border-radius: 18px; box-shadow: var(--bb-shadow); padding: clamp(22px, 4vw, 42px); font-size: 1.05em; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
.article-content > :last-child { margin-bottom: 0; }
.article-content h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.25; margin: 1.4em 0 .55em; }
.article-content h3 { font-size: clamp(21px, 2.4vw, 29px); line-height: 1.3; margin: 1.25em 0 .5em; }
.article-content p, .article-content li { color: var(--bb-text); }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; }
.article-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-content th, .article-content td { padding: 10px 12px; border: 1px solid var(--bb-border); }
.article-content iframe { max-width: 100%; }
.article-sidebar { min-width: 0; position: sticky; top: 145px; display: grid; gap: 18px; }
.article-sidebar .widget, .download-box.widget { margin: 0; background: var(--bb-card); border: 1px solid var(--bb-border); border-radius: 16px; box-shadow: var(--bb-shadow); padding: 22px; overflow: hidden; }
.widget-title { margin: 0 0 16px; font-size: 22px; line-height: 1.25; color: var(--bb-text); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 9px 0; border-bottom: 1px solid var(--bb-border); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--bb-text); }
.widget a:hover { color: var(--bb-primary); }
.widget img { max-width: 100%; height: auto; }
.widget select, .widget input:not([type=checkbox]):not([type=radio]), .widget textarea { width: 100%; max-width: 100%; border: 1px solid var(--bb-border); border-radius: 9px; padding: 10px 12px; }
.widget .search-form { width: 100%; }
.widget .search-field { min-width: 0; }
.article-comments { margin-top: 28px; }
.related-content-block { margin-top: 28px; }
.printable-featured-image { background: #fff; }
.printable-featured-image img { max-height: none; }
.download-box .button--full { margin-top: 8px; }
.single-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }

.footer-intro-row { display: grid; grid-template-columns: minmax(180px, 250px) 1fr; gap: 30px; align-items: center; padding: 32px 0 24px; }
.footer-intro-copy h2 { margin: 0 0 8px; }
.footer-intro-copy p { margin: 0; color: inherit; }
.footer-widget-grid { display: grid; gap: 28px; padding: 26px 0; border-top: 1px solid var(--bb-border); }
.footer-widget-grid--1 { grid-template-columns: 1fr; }
.footer-widget-grid--2 { grid-template-columns: repeat(2, 1fr); }
.footer-widget-grid--3 { grid-template-columns: repeat(3, 1fr); }
.footer-widget-grid--4 { grid-template-columns: repeat(4, 1fr); }
.footer-widget-column .widget { margin-bottom: 24px; }
.footer-widget-column .widget-title { font-size: 17px; }
.footer-widget-column ul { list-style: none; margin: 0; padding: 0; }
.footer-widget-column li + li { margin-top: 8px; }
.footer-bottom-menu { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }

@media (max-width: 1040px) {
  .article-layout, .article-layout--left { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-layout--left { grid-template-columns: 300px minmax(0, 1fr); }
  .article-sidebar { position: static; }
}
@media (max-width: 840px) {
  .article-layout, .article-layout--left { display: flex; flex-direction: column; }
  .article-layout--left .article-main, .article-layout--left .article-sidebar { order: initial; }
  .article-main, .article-sidebar { width: 100%; max-width: 100%; }
  .article-header h1 { font-size: 38px; }
  .footer-intro-row { grid-template-columns: 1fr; text-align: center; }
  .footer-brand-block { display: flex; justify-content: center; }
  .footer-widget-grid--3, .footer-widget-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-header { padding: 24px 0 22px; }
  .article-header h1 { font-size: 32px; }
  .article-content { padding: 20px; }
  .article-meta span + span:before { display: none; }
  .footer-widget-grid--2, .footer-widget-grid--3, .footer-widget-grid--4 { grid-template-columns: 1fr; }
  .share-strip { gap: 6px; }
  .share-button { width: 38px; height: 38px; }
}
.post-list { display: grid; gap: 22px; }
.standard-post-card { background: var(--bb-card); border: 1px solid var(--bb-border); border-radius: 18px; overflow: hidden; box-shadow: var(--bb-shadow); }
.standard-post-card__image { display: block; overflow: hidden; }
.standard-post-card__image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .25s ease; }
.standard-post-card:hover .standard-post-card__image img { transform: scale(1.02); }
.standard-post-card__body { padding: 24px; }
.standard-post-card__body h2 { margin: 5px 0 10px; font-size: 30px; line-height: 1.25; }
.standard-post-card__body p { color: var(--bb-muted); }
.standard-post-card__meta { color: var(--bb-muted); font-size: 14px; }
.sub-menu li { position: relative; }
.sub-menu .sub-menu { left: 100%; top: -14px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* BrightBuds Fresh 2.0: latest posts home and full article layout */
.primary-menu-fallback > ul,
.primary-menu-fallback .page_item_has_children > .children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu-fallback > ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-menu-fallback > ul > li { position: relative; }
.primary-menu-fallback > ul > li > a {
  display: inline-flex;
  align-items: center;
  padding: 15px 0;
  color: var(--bb-text);
  font-weight: 600;
}
.primary-menu-fallback .children {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  box-shadow: var(--bb-shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
  z-index: 30;
}
.primary-menu-fallback li:hover > .children,
.primary-menu-fallback li:focus-within > .children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.primary-menu-fallback .children a { display: block; padding: 9px 14px; color: var(--bb-text); }

.latest-posts-page { padding: 38px 0 56px; }
.latest-posts-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.latest-posts-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.latest-post-card {
  min-width: 0;
  overflow: hidden;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 16px;
  box-shadow: var(--bb-shadow);
}
.latest-post-card__image { display: block; background: #eef2f7; overflow: hidden; }
.latest-post-card__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .25s ease;
}
.latest-post-card:hover .latest-post-card__image img { transform: scale(1.025); }
.latest-post-card__body { padding: 20px; }
.latest-post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--bb-muted); font-size: 13px; }
.latest-post-card__meta a { color: var(--bb-muted); }
.latest-post-card__title { margin: 8px 0 9px; font-size: 24px; line-height: 1.3; }
.latest-post-card__title a { color: var(--bb-text); }
.latest-post-card__body p { margin: 0 0 14px; color: var(--bb-muted); }
.latest-post-card__link { color: var(--bb-primary); font-weight: 700; }
.pagination-wrap, .navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid var(--bb-border); border-radius: 9px; background: var(--bb-card); color: var(--bb-text); }
.page-numbers.current { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }

.article-layout.has-sidebar {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) var(--bb-sidebar-width);
  justify-content: stretch;
}
.article-layout--left.has-sidebar { grid-template-columns: var(--bb-sidebar-width) minmax(0, 1fr); }
.article-layout.no-sidebar .article-main { width: 100%; max-width: none; }
.article-header h1, .article-excerpt { max-width: none; }
.article-main { width: 100%; max-width: none; }
.article-featured-image { width: 100%; }
.article-featured-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.article-content {
  width: 100%;
  max-width: none;
  overflow: visible;
}
.article-content figure,
.article-content .wp-block-image,
.article-content .wp-block-gallery,
.article-content .wp-block-embed { max-width: 100%; }
.article-content img { width: auto; max-width: 100%; height: auto; }
.article-sidebar { width: 100%; }

@media (max-width: 980px) {
  .latest-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-menu-fallback > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 14px; }
  .primary-menu-fallback > ul > li > a { display: flex; padding: 13px 0; border-bottom: 1px solid var(--bb-border); }
  .primary-menu-fallback .children { position: static; opacity: 1; visibility: visible; transform: none; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
}
@media (max-width: 640px) {
  .latest-posts-page { padding-top: 26px; }
  .latest-posts-grid { grid-template-columns: 1fr; }
  .latest-post-card__title { font-size: 22px; }
}

/* BrightBuds Fresh 2.1: professional sharing and size-safe article images */
.share-panel {
  margin: 20px 0 24px;
  padding: 16px;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(23,35,59,.06);
}
.share-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.share-panel__header strong { display: block; color: var(--bb-text); font-size: 16px; }
.share-panel__header small { display: block; margin-top: 2px; color: var(--bb-muted); font-size: 12px; }
.share-panel__total {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--bb-muted);
  background: #f2f5fa;
  border: 1px solid var(--bb-border);
  font-size: 12px;
}
.share-panel__total b { color: var(--bb-text); font-size: 14px; }
.share-panel__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.share-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 6px 10px 6px 7px;
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  background: #fff;
  color: var(--bb-text) !important;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23,35,59,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.share-pill:hover {
  transform: translateY(-2px);
  border-color: #aebfd8;
  box-shadow: 0 9px 18px rgba(23,35,59,.10);
}
.share-pill__icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #fff;
  flex: 0 0 auto;
}
.share-pill__label { font-size: 13px; font-weight: 700; white-space: nowrap; }
.share-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #65738a;
  font-size: 11px;
  font-weight: 800;
}
.share-pill--pinterest .share-pill__icon { background: #e60023; }
.share-pill--facebook .share-pill__icon { background: #1877f2; }
.share-pill--whatsapp .share-pill__icon { background: #20b858; }
.share-pill--x .share-pill__icon { background: #111; }
.share-pill--reddit .share-pill__icon { background: #ff5700; }
.share-pill--copy .share-pill__icon { background: #737d8d; }
.share-pill__icon .icon { width: 18px; height: 18px; }

.article-featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
  overflow: visible;
}
.article-content .wp-block-image,
.article-content figure.wp-block-image {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}
.article-content img,
.article-featured-image img {
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}
.article-content .alignwide img,
.article-content .alignfull img { object-fit: contain; }

@media (max-width: 680px) {
  .share-panel__header { align-items: flex-start; flex-direction: column; gap: 9px; }
  .share-panel__buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .share-pill { width: 100%; min-width: 0; }
  .share-pill__label { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 390px) {
  .share-panel__buttons { grid-template-columns: 1fr; }
}

/* BrightBuds Fresh 3.4: fixed article width, sidebar and full portrait images */
.article-layout,
.article-layout.has-sidebar {
  width: 100%;
  max-width: var(--bb-content-width);
  margin-left: auto;
  margin-right: auto;
}
.article-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(250px, var(--bb-sidebar-width));
  gap: 34px;
  align-items: start;
}
.article-layout--left.has-sidebar {
  grid-template-columns: minmax(250px, var(--bb-sidebar-width)) minmax(0, 1fr);
}
.article-main,
.article-content,
.page-article-main,
.printable-article-main {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.article-main { overflow: hidden; }
.article-content {
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
}
.article-content > *,
.article-content .wp-block-group,
.article-content .wp-block-columns,
.article-content .wp-block-column,
.article-content .wp-block-media-text,
.article-content .wp-block-gallery,
.article-content .wp-block-embed,
.article-content .wp-block-table,
.article-content .wp-block-image,
.article-content figure {
  max-width: 100%;
  box-sizing: border-box;
}
.article-content .alignwide,
.article-content .alignfull {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.article-content figure,
.article-content .wp-block-image {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.article-content figure img,
.article-content .wp-block-image img,
.article-content > p > img,
.article-content img {
  display: block;
  width: auto !important;
  max-width: min(100%, var(--bb-article-image-width)) !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center;
  margin-left: auto !important;
  margin-right: auto !important;
}
.article-content figcaption,
.article-content .wp-element-caption {
  width: min(100%, var(--bb-article-image-width));
  margin: 8px auto 0;
  color: var(--bb-muted);
  text-align: center;
  font-size: 13px;
}
.article-content pre,
.article-content code,
.article-content iframe,
.article-content video,
.article-content svg,
.article-content canvas {
  max-width: 100%;
}
.article-content pre { overflow-x: auto; }
.article-content iframe,
.article-content video { width: 100%; }
.article-sidebar {
  min-width: 0;
  width: 100%;
}
.article-sidebar .widget { max-width: 100%; }
.page-article-header .article-header__inner { max-width: var(--bb-content-width); }

@media (max-width: 980px) {
  .article-layout.has-sidebar,
  .article-layout--left.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
  }
  .article-layout--left.has-sidebar {
    grid-template-columns: 290px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .article-layout.has-sidebar,
  .article-layout--left.has-sidebar {
    display: flex;
    flex-direction: column;
  }
  .article-main,
  .article-sidebar { width: 100%; }
  .article-sidebar { position: static; }
  .article-content { padding: 20px; }
}

@media (min-width: 981px) {
  .article-layout.has-sidebar,
  .article-layout--left.has-sidebar {
    max-width: calc(var(--bb-article-width) + var(--bb-sidebar-width) + 34px);
  }
}

/* BrightBuds Fresh V10: compact article images and author biography */
.article-content figure,
.article-content .wp-block-image {
  margin-top: 28px;
  margin-bottom: 28px;
}
.article-content figure img,
.article-content .wp-block-image img,
.article-content > p > img,
.article-content img {
  width: auto !important;
  max-width: min(100%, var(--bb-content-image-width, 560px)) !important;
  max-height: min(var(--bb-content-image-height, 760px), 82vh) !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.article-content figcaption,
.article-content .wp-element-caption {
  max-width: min(100%, var(--bb-content-image-width, 560px));
}
.author-bio-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 28px 0;
  padding: 24px;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 18px;
  box-shadow: var(--bb-shadow);
}
.author-bio-card__avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #eef3fb;
}
.author-bio-card__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--bb-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.author-bio-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}
.author-bio-card h2 a { color: var(--bb-text); }
.author-bio-card__description p {
  margin: 0 0 10px;
  color: var(--bb-muted);
}
.author-bio-card__description p:last-child { margin-bottom: 0; }
.author-bio-card__link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--bb-primary);
  font-weight: 700;
}
@media (max-width: 560px) {
  .author-bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-bio-card__avatar { display: flex; justify-content: center; }
}


/* BrightBuds Fresh 3.5: painted category buttons sidebar */
.brightbuds-category-menu {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.brightbuds-category-menu__title {
  position: relative;
  isolation: isolate;
  margin: 0 8px 18px !important;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  color: #fff !important;
  text-align: center;
  font-size: 21px !important;
  line-height: 1.2;
  font-weight: 800;
}
.brightbuds-category-menu__title::before,
.brightbuds-category-menu__title::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bb-primary);
  clip-path: polygon(3% 17%, 11% 8%, 21% 12%, 31% 4%, 45% 10%, 57% 4%, 68% 11%, 82% 5%, 96% 18%, 92% 30%, 99% 42%, 94% 54%, 98% 69%, 88% 77%, 91% 91%, 72% 86%, 59% 96%, 44% 89%, 30% 96%, 18% 87%, 4% 91%, 8% 73%, 1% 61%, 7% 48%, 1% 33%);
}
.brightbuds-category-menu__title::after {
  opacity: .25;
  transform: translate(3px, 3px) rotate(-1deg);
}
.brightbuds-category-menu__title span { position: relative; z-index: 2; }
.brightbuds-category-menu__links {
  display: grid;
  gap: 10px;
}
.brightbuds-category-menu__links a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--bb-primary) 26%, var(--bb-border));
  border-radius: 10px;
  background: color-mix(in srgb, var(--bb-primary) 7%, #fff);
  color: var(--bb-text);
  text-align: center;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.brightbuds-category-menu__links a:hover,
.brightbuds-category-menu__links a:focus-visible {
  transform: translateY(-2px);
  background: var(--bb-primary);
  border-color: var(--bb-primary);
  color: #fff;
  box-shadow: 0 9px 18px color-mix(in srgb, var(--bb-primary) 24%, transparent);
}
.brightbuds-category-menu__links small {
  min-width: 25px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: inherit;
  font-size: 12px;
}
@supports not (color: color-mix(in srgb, black, white)) {
  .brightbuds-category-menu__links a { border-color: var(--bb-border); background: #f1f5ff; }
  .brightbuds-category-menu__links a:hover,
  .brightbuds-category-menu__links a:focus-visible { background: var(--bb-primary); border-color: var(--bb-primary); }
}
@media (max-width: 980px) {
  .brightbuds-category-menu__title { min-height: 58px; font-size: 19px !important; }
  .brightbuds-category-menu__links a { min-height: 48px; font-size: 16px; }
}
.author-bio-card__role {
  margin: -2px 0 10px;
  color: var(--bb-primary);
  font-size: 14px;
  font-weight: 700;
}
.author-bio-card__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.author-bio-card__socials a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef3fb;
  color: var(--bb-primary);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.author-bio-card__socials a:hover,
.author-bio-card__socials a:focus-visible {
  transform: translateY(-2px);
  background: var(--bb-primary);
  color: #fff;
}

/* BrightBuds Fresh V13: archive filters, movable widgets and Pinterest cards */
.archive-sort-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 14px;
  box-shadow: var(--bb-shadow);
}
.archive-sort-toolbar__count { margin: 0; color: var(--bb-muted); font-weight: 700; }
.archive-sort-form { margin-left: auto; }
.archive-sort-form label { display: flex; align-items: center; gap: 10px; color: var(--bb-muted); font-size: 14px; font-weight: 700; }
.archive-sort-form select {
  min-width: 180px;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--bb-border);
  border-radius: 10px;
  background: #fff;
  color: var(--bb-text);
}
.archive-filter-toggle {
  display: none;
  border: 1px solid var(--bb-primary);
  border-radius: 10px;
  background: var(--bb-primary);
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
}
.archive-browser-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.archive-browser-sidebar {
  min-width: 0;
  position: sticky;
  top: 116px;
  display: grid;
  gap: 18px;
}
.archive-browser-sidebar > .widget,
.archive-filter-panel {
  margin: 0;
  padding: 20px;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 16px;
  box-shadow: var(--bb-shadow);
}
.archive-filter-panel__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.archive-filter-panel__heading h2 { margin: 0; font-size: 24px; }
.archive-filter-panel__heading a { color: var(--bb-primary); font-size: 13px; font-weight: 800; }
.archive-filter-form { display: grid; gap: 14px; }
.archive-filter-field { display: grid; gap: 7px; }
.archive-filter-field > span { color: var(--bb-text); font-size: 13px; font-weight: 800; }
.archive-filter-field input,
.archive-filter-field select {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid var(--bb-border);
  border-radius: 10px;
  background: #fff;
  color: var(--bb-text);
}
.archive-browser-main { min-width: 0; }
.latest-posts-grid--pinterest,
.printable-grid--pinterest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.latest-posts-grid--pinterest .latest-post-card,
.printable-grid--pinterest .pin-card { height: 100%; }
.latest-posts-grid--pinterest .latest-post-card__image,
.printable-grid--pinterest .pin-card__media > a {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #eef2f7;
}
.latest-posts-grid--pinterest .latest-post-card__image img,
.printable-grid--pinterest .pin-card__media img,
.pinterest-featured-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  object-position: center !important;
}
.latest-posts-grid--pinterest .latest-post-card__title { font-size: 20px; }
.latest-posts-grid--pinterest .latest-post-card__body { padding: 16px; }
.printable-grid--pinterest .pin-card__body { padding: 16px; }
.article-featured-image {
  max-width: min(100%, 1000px);
  margin-left: auto;
  margin-right: auto;
}
.article-featured-image img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 1500px !important;
  height: auto !important;
  object-fit: contain !important;
  margin-left: auto;
  margin-right: auto;
}
.widget_brightbuds_category_menu { padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }

@media (max-width: 1180px) {
  .latest-posts-grid--pinterest,
  .printable-grid--pinterest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .archive-sort-toolbar { flex-wrap: wrap; }
  .archive-filter-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .archive-sort-form { margin-left: 0; }
  .archive-browser-layout { grid-template-columns: minmax(0, 1fr); }
  .archive-browser-sidebar {
    position: fixed;
    z-index: 70;
    inset: 0 auto 0 0;
    width: min(360px, 92vw);
    padding: 18px;
    overflow-y: auto;
    background: var(--bb-bg);
    transform: translateX(-105%);
    transition: transform .25s ease;
    box-shadow: 20px 0 45px rgba(23,35,59,.18);
  }
  .archive-browser-sidebar.is-open { transform: translateX(0); }
  body.archive-filter-open { overflow: hidden; }
}
@media (max-width: 580px) {
  .archive-sort-toolbar { align-items: stretch; }
  .archive-sort-toolbar__count { width: 100%; }
  .archive-sort-form,
  .archive-sort-form label,
  .archive-sort-form select { width: 100%; }
  .latest-posts-grid--pinterest,
  .printable-grid--pinterest { grid-template-columns: 1fr; }
}

/* BrightBuds Fresh V14: filter-free archives and stable category grids */
.archive-grid-page .container {
  width: min(var(--bb-content-width, 1180px), calc(100% - 32px));
}
.archive-grid-page .archive-sort-toolbar--clean {
  width: 100%;
}
.archive-filter-panel,
.archive-filter-toggle,
.archive-browser-sidebar {
  display: none !important;
}
.archive-grid-page .archive-post-grid,
.category-archive-page .category-post-grid,
.archive-grid-page .latest-posts-grid--pinterest,
.archive-grid-page .printable-grid--pinterest {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
.archive-grid-page .latest-post-card,
.category-archive-page .latest-post-card,
.archive-grid-page .pin-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}
.archive-grid-page .latest-post-card__image,
.category-archive-page .latest-post-card__image,
.archive-grid-page .pin-card__media > a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
  background: #eef2f7 !important;
}
.archive-grid-page .latest-post-card__image img,
.category-archive-page .latest-post-card__image img,
.archive-grid-page .pin-card__media img,
.archive-grid-page .pinterest-featured-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  aspect-ratio: 2 / 3 !important;
  object-fit: cover !important;
  object-position: center !important;
}
.archive-grid-page .latest-post-card__body,
.category-archive-page .latest-post-card__body,
.archive-grid-page .pin-card__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
}
.archive-grid-page .latest-post-card__body > p,
.category-archive-page .latest-post-card__body > p {
  flex: 1 1 auto !important;
}
.archive-grid-page .latest-post-card__link,
.category-archive-page .latest-post-card__link {
  margin-top: auto !important;
}
.archive-grid-page .latest-post-card__title,
.category-archive-page .latest-post-card__title {
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .archive-grid-page .archive-post-grid,
  .category-archive-page .category-post-grid,
  .archive-grid-page .latest-posts-grid--pinterest,
  .archive-grid-page .printable-grid--pinterest {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}
@media (max-width: 580px) {
  .archive-grid-page .archive-post-grid,
  .category-archive-page .category-post-grid,
  .archive-grid-page .latest-posts-grid--pinterest,
  .archive-grid-page .printable-grid--pinterest {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  .archive-sort-toolbar--clean {
    align-items: stretch !important;
  }
}
/* BrightBuds Studio archive widget layout */
.archive-page-layout{display:block}.archive-page-layout.has-archive-sidebar{display:grid;grid-template-columns:280px minmax(0,1fr);gap:28px;align-items:start}.archive-page-main{min-width:0}.archive-widget-sidebar{display:grid;gap:18px;position:sticky;top:130px}.archive-widget-sidebar .widget{margin:0;padding:20px;background:var(--bb-card);border:1px solid var(--bb-border);box-shadow:var(--bb-shadow)}.archive-page-layout.has-archive-sidebar .archive-post-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.front-page-content>.entry-content{margin:0}.front-page-content .alignfull{width:100%;margin-left:0;margin-right:0}@media(max-width:980px){.archive-page-layout.has-archive-sidebar{grid-template-columns:1fr}.archive-widget-sidebar{position:static}.archive-page-layout.has-archive-sidebar .archive-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:620px){.archive-page-layout.has-archive-sidebar .archive-post-grid{grid-template-columns:1fr!important}}

/* Header social profiles */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}
.header-actions:empty { display: none; }
.header-social-icons {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}
.header-social-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--bb-text);
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.header-social-icons--circle .header-social-icon { border-radius: 50%; }
.header-social-icons--rounded .header-social-icon { border-radius: 9px; }
.header-social-icons--minimal .header-social-icon {
  width: 30px;
  height: 30px;
  border-color: transparent;
  background: transparent;
  border-radius: 6px;
}
.header-social-icon:hover,
.header-social-icon:focus-visible {
  color: #fff;
  border-color: var(--bb-primary);
  background: var(--bb-primary);
  transform: translateY(-2px);
}
.header-social-icon--pinterest:hover { background: #e60023; border-color: #e60023; }
.header-social-icon--facebook:hover { background: #1877f2; border-color: #1877f2; }
.header-social-icon--instagram:hover { background: #c13584; border-color: #c13584; }
.header-social-icon--x:hover { background: #111; border-color: #111; }
.header-social-icon--youtube:hover { background: #ff0000; border-color: #ff0000; }
.header-social-icon--tiktok:hover { background: #111; border-color: #111; }

/* Pinterest Save button on every single article/page image */
.bb-pinterest-image-wrap {
  position: relative !important;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
figure.bb-pinterest-image-wrap {
  width: auto;
}
.bb-pinterest-image-wrap > a {
  display: block;
  max-width: 100%;
}
.bb-pinterest-image-wrap img {
  display: block;
}
.bb-pinterest-save-button {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 9px 14px;
  color: #fff !important;
  background: #e60023 !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 18px rgba(0,0,0,.2);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: .96;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.bb-pinterest-save-button:hover,
.bb-pinterest-save-button:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.bb-pinterest-save-button__icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}
.bb-pinterest-save-button__icon .icon {
  width: 17px;
  height: 17px;
}

@media (max-width: 1100px) {
  .header-social-icons { gap: 5px; }
  .header-social-icon { width: 32px; height: 32px; }
  .header-actions { gap: 8px; }
}
@media (max-width: 980px) {
  .header-actions { justify-self: end; }
}
@media (max-width: 680px) {
  .header-actions {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    width: 100%;
  }
  .header-search-wrap { order: 4; }
  .bb-pinterest-save-button {
    top: 9px;
    left: 9px;
    min-height: 34px;
    padding: 8px 11px;
    font-size: 13px;
  }
}
.header-social-icon--pinterest-2:hover { background: #e60023; border-color: #e60023; }

/* =========================================================
   BrightBuds Studio 3.2 — Professional header + footer UI
   Built into the theme so no Additional CSS is required.
========================================================= */

/* Header social profiles: polished brand buttons */
.header-actions {
  gap: 14px;
}
.header-social-icons {
  gap: 8px;
}
.header-social-icon {
  position: relative;
  width: 38px;
  height: 38px;
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 16px rgba(23, 35, 59, .12);
  overflow: visible;
}
.header-social-icon .icon {
  width: 18px;
  height: 18px;
}
.header-social-icons--circle .header-social-icon { border-radius: 50%; }
.header-social-icons--rounded .header-social-icon { border-radius: 11px; }
.header-social-icon--facebook { background: #1877f2; border-color: #1877f2; }
.header-social-icon--instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 52%, #fcb045 100%); border-color: transparent; }
.header-social-icon--pinterest,
.header-social-icon--pinterest-2 { background: #e60023; border-color: #e60023; }
.header-social-icon--x { background: #111; border-color: #111; }
.header-social-icon--youtube { background: #ff0000; border-color: #ff0000; }
.header-social-icon--tiktok { background: #111; border-color: #111; }
.header-social-icon:hover,
.header-social-icon:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(23, 35, 59, .18);
}
.header-social-icons--minimal .header-social-icon {
  width: 36px;
  height: 36px;
  color: var(--bb-text);
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 10px;
  box-shadow: none;
}
.header-social-icons--minimal .header-social-icon:hover,
.header-social-icons--minimal .header-social-icon:focus-visible {
  color: #fff;
  background: var(--bb-primary);
  border-color: var(--bb-primary);
}
.header-social-icon::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  top: calc(100% + 9px);
  z-index: 40;
  transform: translate(-50%, -4px);
  padding: 6px 9px;
  border-radius: 7px;
  color: #fff;
  background: #17233b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .18s ease;
}
.header-social-icon:hover::after,
.header-social-icon:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Footer structure */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--bb-border);
  box-shadow: 0 -10px 30px rgba(23, 35, 59, .035);
}
.footer-intro-row {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 38px;
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--bb-border);
}
.footer-brand-block .custom-logo-link,
.footer-brand-block .custom-logo-link img {
  display: block;
}
.footer-brand-block .custom-logo-link img {
  width: auto;
  max-width: min(var(--bb-logo-width), 100%);
  max-height: 82px;
  object-fit: contain;
}
.footer-intro-copy h2 {
  margin: 0 0 10px;
  color: var(--bb-heading);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}
.footer-intro-copy p {
  max-width: 720px;
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.8;
}
.footer-widget-grid {
  gap: clamp(24px, 4vw, 46px);
  padding: 38px 0 42px;
  border-top: 0;
}
.footer-widget-grid--4 {
  grid-template-columns: 1.2fr .9fr .95fr 1.15fr;
}
.footer-widget-column {
  min-width: 0;
}
.footer-widget-column .widget {
  margin: 0 0 28px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.footer-widget-column .widget:last-child { margin-bottom: 0; }
.footer-widget-column .widget-title,
.site-footer .wp-block-heading {
  position: relative;
  margin: 0 0 22px;
  padding: 0 0 12px;
  color: var(--bb-heading);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
}
.footer-widget-column .widget-title::after,
.site-footer .wp-block-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: var(--bb-primary);
}
.footer-widget-column ul,
.site-footer .wp-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-widget-column li {
  margin: 0;
  padding: 0;
  border: 0;
}
.footer-widget-column li + li { margin-top: 0; }
.footer-widget-column li > a,
.footer-widget-column .wp-block-navigation-item__content {
  position: relative;
  display: block;
  padding: 10px 0 10px 14px;
  color: inherit;
  border-bottom: 1px solid var(--bb-border);
  font-size: 14px;
  line-height: 1.45;
  transition: color .18s ease, padding-left .18s ease;
}
.footer-widget-column li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bb-primary);
}
.footer-widget-column li > a:hover,
.footer-widget-column li > a:focus-visible {
  color: var(--bb-primary);
  padding-left: 18px;
}
.footer-widget-column p {
  margin-top: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.75;
}
.footer-widget-column input[type="email"],
.footer-widget-column input[type="text"],
.footer-widget-column input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--bb-text);
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 10px;
}
.footer-widget-column button,
.footer-widget-column input[type="submit"] {
  min-height: 44px;
  padding: 10px 17px;
  color: var(--bb-button-text);
  background: var(--bb-primary);
  border: 0;
  border-radius: var(--bb-button-radius);
  font-weight: 700;
}
.footer-bottom {
  min-height: 62px;
  padding: 18px 0;
  border-top: 1px solid var(--bb-border);
  align-items: center;
}
.footer-bottom p { margin: 0; }
.footer-bottom-menu a { color: inherit; font-size: 13px; }
.footer-bottom-menu a:hover { color: var(--bb-primary); }

/* Professional social widget included with the theme */
.bb-social-widget {
  display: grid;
  gap: 10px;
}
.bb-social-widget__link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 12px;
  color: var(--bb-text);
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(23, 35, 59, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.bb-social-widget__link:hover,
.bb-social-widget__link:focus-visible {
  color: var(--bb-text);
  border-color: var(--bb-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(23, 35, 59, .09);
}
.bb-social-widget__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--bb-primary);
  border-radius: 10px;
}
.bb-social-widget__icon svg { width: 20px; height: 20px; }
.bb-social-widget__link--facebook .bb-social-widget__icon { background: #1877f2; }
.bb-social-widget__link--instagram .bb-social-widget__icon { background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045); }
.bb-social-widget__link--pinterest .bb-social-widget__icon,
.bb-social-widget__link--pinterest-2 .bb-social-widget__icon { background: #e60023; }
.bb-social-widget__link--x .bb-social-widget__icon,
.bb-social-widget__link--tiktok .bb-social-widget__icon { background: #111; }
.bb-social-widget__link--youtube .bb-social-widget__icon { background: #ff0000; }
.bb-social-widget__content { min-width: 0; }
.bb-social-widget__content strong {
  display: block;
  overflow: hidden;
  color: var(--bb-heading);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bb-social-widget__content small {
  display: block;
  margin-top: 3px;
  color: var(--bb-muted);
  font-size: 12px;
}
.bb-social-widget__arrow { color: var(--bb-muted); font-size: 17px; }
.bb-social-widget--compact {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.bb-social-widget--compact .bb-social-widget__link {
  display: grid;
  grid-template-columns: 1fr;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  box-shadow: none;
}
.bb-social-widget--compact .bb-social-widget__icon { width: 42px; height: 42px; }
.bb-social-widget--compact .bb-social-widget__content,
.bb-social-widget--compact .bb-social-widget__arrow { display: none; }

/* Built-in styling for AbodeMom custom HTML widgets from earlier versions */
.abode-footer-about p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
}
.abode-footer-email {
  display: inline-flex;
  color: var(--bb-heading);
  font-size: 14px;
  font-weight: 700;
}
.abode-footer-links {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.abode-footer-links li { margin: 0 !important; padding: 0 !important; }
.abode-footer-links a {
  position: relative;
  display: block;
  padding: 10px 0 10px 14px;
  color: inherit;
  border-bottom: 1px solid var(--bb-border);
  font-size: 14px;
}
.abode-footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bb-primary);
}
.abode-social-list {
  display: grid;
  gap: 10px;
}
.abode-social-list > a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 9px 12px;
  color: var(--bb-text) !important;
  background: var(--bb-card);
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(23, 35, 59, .045);
  transition: transform .18s ease, border-color .18s ease;
}
.abode-social-list > a:hover {
  color: var(--bb-text) !important;
  border-color: var(--bb-primary);
  transform: translateY(-2px);
}
.abode-social-icon {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  border-radius: 10px !important;
  overflow: hidden;
}
.abode-social-icon svg,
.site-footer .abode-social-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
  fill: currentColor !important;
}
.abode-social-pinterest { background: #e60023 !important; }
.abode-social-instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045) !important; }
.abode-social-list strong {
  display: block;
  color: var(--bb-heading);
  font-size: 14px;
  line-height: 1.25;
}
.abode-social-list small {
  display: block;
  margin-top: 3px;
  color: var(--bb-muted);
  font-size: 12px;
}
.abode-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}
.abode-footer-legal a { color: inherit; font-size: 12px; }
.abode-footer-legal a:hover { color: var(--bb-primary); }

/* Core Social Icons block support */
.site-footer .wp-block-social-links {
  gap: 9px;
  padding: 0;
}
.site-footer .wp-social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
}
.site-footer .wp-social-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1040px) {
  .footer-widget-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .header-social-icon::after { display: none; }
  .footer-intro-row { grid-template-columns: 1fr; text-align: center; }
  .footer-brand-block { justify-content: center; }
  .footer-brand-block .custom-logo-link img { margin: 0 auto; }
  .footer-intro-copy p { margin-left: auto; margin-right: auto; }
  .footer-widget-column .widget-title::after,
  .site-footer .wp-block-heading::after { left: 0; }
}
@media (max-width: 620px) {
  .header-social-icons { gap: 6px; }
  .header-social-icon { width: 34px; height: 34px; }
  .footer-widget-grid--2,
  .footer-widget-grid--3,
  .footer-widget-grid--4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
