/* #BlackMuslimGirlFly additions on top of the restored Apostrophe 2 theme:
   menu, footer links, sidebar list, post pages and the blog index.
   Colors come from the site itself: plum #5d0348 (page background),
   indigo #362e77 (site title), blue #117bb8 (links, sidebar) and the gold of the logo.
   Fonts are the site's own: Cinzel headings, Libre Baskerville text, Open Sans for small labels. */

/* ---------- Main menu ---------- */
.main-navigation .apostrophe-2-navigation a[aria-current]{border-top-color:#117bb8}
/* The restored theme has no menu script, so on phones the three links show as a row
   instead of a "Menu" toggle that cannot open. */
@media (max-width:767px){
  .main-navigation{margin:10px 0 18px}
  .main-navigation .menu-toggle{display:none}
  .main-navigation ul.apostrophe-2-navigation{display:flex;flex-wrap:wrap;justify-content:center;gap:0 22px;border-bottom:1px solid #d9d9d9}
  .main-navigation ul.apostrophe-2-navigation li{margin:0}
  .main-navigation ul.apostrophe-2-navigation a{font-size:16px;padding:10px 0 12px}
}

/* ---------- Sidebar: recent posts ---------- */
.widget-area .sidebar-primary aside.widget_recent_entries ul{margin:0;padding-left:18px}
.widget-area .sidebar-primary aside.widget_recent_entries li{margin:0 0 12px;line-height:1.4}
.widget-area .sidebar-primary aside.widget_recent_entries li:last-child{margin-bottom:0}
.widget-area .sidebar-primary aside.widget_recent_entries a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:3px}
.widget-area .sidebar-primary aside.widget_recent_entries a:hover{text-decoration-color:#fff}

/* ---------- Footer links ---------- */
.site-footer .widget_nav_menu ul{margin:0 0 .5em;padding:0;font-family:"Open Sans",Arial,sans-serif;font-size:16px}
.site-footer .widget_nav_menu li{margin:.25em 0}
.site-footer .widget_nav_menu a{text-decoration:none}
.site-footer .widget_nav_menu a:hover{text-decoration:underline}
.site-footer .widget_nav_menu a[aria-current]{color:#5d0348}

/* ---------- Breadcrumbs ---------- */
.bmg-crumbs{font-family:"Open Sans",Arial,sans-serif;font-size:14px;line-height:1.5;color:#666;margin:0 0 16px}
.bmg-crumbs a{color:#117bb8;text-decoration:none}
.bmg-crumbs a:hover{text-decoration:underline}
.bmg-crumbs span[aria-hidden]{margin:0 6px;color:#aaa}

/* ---------- Post pages ---------- */
.bmg-post .entry-header{margin:0 0 6px}
.wf-active .bmg-post .entry-title,.wf-active .bmg-page-title{color:#362e77;font-size:38px;line-height:1.25;margin:0 0 12px}
.bmg-meta{font-family:"Open Sans",Arial,sans-serif;font-size:14px;letter-spacing:1px;text-transform:uppercase;color:#5d0348;margin:0 0 26px}
.bmg-figure{margin:0 0 30px}
.bmg-figure img{display:block;width:100%;height:auto;margin:0}
.bmg-figure--banner img{aspect-ratio:2/1;object-fit:cover}
.bmg-figure--framed img{border:1px solid #e6dce4}
.bmg-post .entry-content{margin-top:0}
.wf-active .bmg-post .entry-content h2{color:#5d0348;font-size:27px;line-height:1.3;margin:1.7em 0 .6em}
.wf-active .bmg-post .entry-content h3{color:#362e77;font-size:22px;line-height:1.35;margin:1.4em 0 .5em}
.bmg-post .entry-content ul,.bmg-post .entry-content ol{padding-left:1.3em}
.bmg-post .entry-content li{margin:.45em 0}
.bmg-back{margin:44px 0 0;padding-top:20px;border-top:4px solid #d9d9d9;font-family:"Open Sans",Arial,sans-serif;font-size:15px;letter-spacing:.5px}
.bmg-back a{text-decoration:none}
.bmg-back a:hover{text-decoration:underline}

/* ---------- Blog index ---------- */
.bmg-intro{font-size:19px;line-height:1.7;margin:0 0 32px;color:#404040}
.bmg-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;list-style:none;margin:0 0 36px;padding:0}
.bmg-cards>li{margin:0;display:flex}
.bmg-card{flex:1 1 auto;display:flex;flex-direction:column;background:#fff;border:1px solid #e6dce4;margin:0}
.bmg-card__media{display:block;aspect-ratio:16/10;overflow:hidden;background:#5d0348}
.bmg-card__media img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.bmg-card__media--contain{background:#fff;border-bottom:1px solid #f0e9ef}
.bmg-card__media--contain img{object-fit:contain;padding:0 14px}
.bmg-card__ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:100%;background:linear-gradient(135deg,#5d0348 0%,#362e77 100%);color:#e2c98b;font-family:"Cinzel",serif;font-size:26px;letter-spacing:1px;text-align:center;padding:16px}
.bmg-card__ph::after{content:"";display:block;width:46px;height:2px;background:#c9a95c}
.bmg-card__body{display:flex;flex-direction:column;flex:1;padding:20px 22px 22px}
.bmg-card time{font-family:"Open Sans",Arial,sans-serif;font-size:13px;letter-spacing:1px;text-transform:uppercase;color:#5d0348}
.wf-active .bmg-card h2{font-size:22px;line-height:1.3;margin:8px 0 10px;color:#362e77}
.bmg-card h2 a{color:#362e77;text-decoration:none}
.bmg-card h2 a:hover{color:#117bb8}
.bmg-card p{font-size:16px;line-height:1.65;margin:0 0 16px;color:#404040}
.bmg-card__more{margin-top:auto;font-family:"Open Sans",Arial,sans-serif;font-size:13px;letter-spacing:1px;text-transform:uppercase;text-decoration:none}
.bmg-card__more::after{content:"\2192";margin-left:8px}
.bmg-note{background:#f8f3f7;border-left:4px solid #5d0348;padding:18px 22px;font-size:17px;line-height:1.6;margin:0}

@media (max-width:767px){
  .wf-active .bmg-post .entry-title,.wf-active .bmg-page-title{font-size:30px}
  .wf-active .bmg-post .entry-content h2{font-size:23px}
  .bmg-post .entry-content,.bmg-intro{font-size:17px}
}
@media (max-width:600px){
  .bmg-cards{grid-template-columns:minmax(0,1fr);gap:22px}
}
