/*
Theme Name: EvilBitch
Theme URI: https://evilbitch.org/
Author: MainStreet Designs
Author URI: https://mainstreetsiteco.com/
Description: A bold, funky-fresh old-school personal blog theme inspired by early-2010s lifestyle blogging, music television graphics, bright street-art textures, and classic WordPress customization. Built for blogging, not commerce.
Version: 1.0.5
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evilbitch
Tags: blog, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, left-sidebar, right-sidebar, theme-options, threaded-comments, translation-ready
*/

:root {
  --eb-bg: #ffffff;
  --eb-text: #111111;
  --eb-black: #050505;
  --eb-pink: #ff1678;
  --eb-purple: #5b2398;
  --eb-lime: #a7dd18;
  --eb-orange: #ff6b17;
  --eb-cyan: #12b8d4;
  --eb-border: #241242;
  --eb-muted: #6a6570;
  --eb-heading-font: Impact, Haettenschweiler, "Arial Black", sans-serif;
  --eb-body-font: Arial, Helvetica, sans-serif;
  --eb-script-font: "Trebuchet MS", "Comic Sans MS", cursive;
  --eb-container: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--eb-bg);
  color: var(--eb-text);
  font-family: var(--eb-body-font);
  line-height: 1.55;
}
a { color: var(--eb-pink); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--eb-purple); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

.eb-wrap { width: min(calc(100% - 28px), var(--eb-container)); margin-inline: auto; }

/* Top navigation */
.eb-topbar { background: var(--eb-black); color: #fff; border-bottom: 3px solid var(--eb-pink); }
.eb-topbar-inner { min-height: 50px; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.eb-main-menu, .eb-social-menu { display:flex; align-items:center; gap:0; margin:0; padding:0; list-style:none; flex-wrap:wrap; }
.eb-main-menu a { color:#fff; display:block; padding:15px 18px; text-decoration:none; font-weight:900; text-transform:uppercase; letter-spacing:.02em; }
.eb-main-menu .current-menu-item > a, .eb-main-menu a:hover, .eb-main-menu a:focus { background:var(--eb-pink); color:#fff; }
.eb-social-menu { gap:10px; }
.eb-social-menu a { color:#fff; font-weight:800; text-decoration:none; }
.menu-toggle { display:none; border:0; background:var(--eb-pink); color:#fff; font-weight:900; padding:10px 14px; text-transform:uppercase; }

/* Branding */
.eb-branding { position:relative; overflow:hidden; border-bottom:1px solid #ddd; }
.eb-branding::before, .eb-branding::after { content:""; position:absolute; inset:auto; opacity:.18; background-repeat:no-repeat; background-size:contain; pointer-events:none; }
.eb-branding::before { width:180px; height:130px; left:-15px; top:4px; background-image:url('assets/images/crown.svg'); }
.eb-branding::after { width:150px; height:150px; right:8px; top:0; background-image:url('assets/images/star.svg'); }
.eb-branding-inner { min-height:185px; display:flex; align-items:center; justify-content:center; text-align:center; position:relative; z-index:1; }
.eb-custom-logo img { max-height:150px; width:auto; }
.eb-site-title { margin:0; font-family:var(--eb-heading-font); font-size:clamp(3.1rem, 8vw, 7rem); line-height:.85; letter-spacing:-.035em; text-transform:uppercase; }
.eb-site-title a { color:var(--eb-black); text-decoration:none; text-shadow: 5px 5px 0 var(--eb-lime), 9px 9px 0 var(--eb-pink); }
.eb-site-description { margin:22px 0 0; font-style:italic; font-weight:800; color:var(--eb-purple); }
.eb-brand-strip { display:inline-flex; gap:14px; align-items:center; margin-top:20px; padding:7px 20px; background:var(--eb-black); color:#fff; font-weight:900; text-transform:uppercase; letter-spacing:.12em; transform:rotate(-1deg); }
.eb-brand-strip strong { color:var(--eb-lime); }

/* Hero */
.eb-hero { position:relative; margin-top:10px; border:3px solid var(--eb-purple); background-color:var(--eb-purple); background-image:url('assets/images/hero-default.svg'); background-position:center; background-size:cover; min-height:245px; display:flex; align-items:center; overflow:hidden; }
.eb-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.02)); pointer-events:none; }
.eb-hero-content { position:relative; z-index:2; max-width:760px; margin:26px 6%; padding:24px 28px; background:rgba(0,0,0,.88); color:#fff; transform:rotate(-1deg); box-shadow:12px 10px 0 rgba(255,22,120,.7); }
.eb-hero-kicker { margin:0 0 4px; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
.eb-hero-title { margin:0; font-family:var(--eb-heading-font); color:var(--eb-pink); font-size:clamp(2.7rem, 5vw, 5.6rem); line-height:.94; text-transform:uppercase; }
.eb-hero-text { font-size:1.15rem; font-weight:800; margin-bottom:0; }

/* Main layout */
.eb-layout { display:grid; grid-template-columns:minmax(0, 1fr) 350px; gap:22px; margin-top:18px; align-items:start; }
.eb-layout.sidebar-left { grid-template-columns:350px minmax(0, 1fr); }
.eb-layout.sidebar-left .eb-sidebar { order:-1; }
.eb-layout.no-sidebar { grid-template-columns:1fr; }

/* Homepage: sidebar sits beside the hero and stays aligned with the top of the page content. */
.eb-home-layout { display:grid; grid-template-columns:minmax(0, 1fr) 350px; gap:22px; margin-top:10px; align-items:start; }
.eb-home-layout.sidebar-left { grid-template-columns:350px minmax(0, 1fr); }
.eb-home-layout.sidebar-left .eb-sidebar { order:-1; }
.eb-home-layout.no-sidebar { grid-template-columns:1fr; }
.eb-home-main > .eb-hero { margin-top:0; }
.eb-home-main > section:not(.eb-hero) { margin-top:18px; }
.eb-section-title { margin:0 0 22px; padding:0 0 7px 52px; position:relative; font-family:var(--eb-heading-font); text-transform:uppercase; font-size:1.8rem; letter-spacing:.03em; border-bottom:4px solid var(--eb-black); }
.eb-section-title::before {
  content:"";
  position:absolute;
  left:0;
  top:-2px;
  width:205px;
  height:43px;
  background:var(--eb-purple);
  transform:rotate(-1.5deg) skewX(-13deg);
  z-index:0;
  clip-path:polygon(2% 19%, 12% 8%, 25% 13%, 39% 5%, 52% 12%, 67% 7%, 81% 15%, 98% 8%, 95% 86%, 82% 93%, 68% 87%, 55% 96%, 41% 88%, 26% 94%, 12% 86%, 3% 92%);
  box-shadow:7px 5px 0 rgba(91,35,152,.12);
}
.eb-section-title span { color:#fff; position:relative; left:-25px; z-index:1; text-shadow:1px 1px 0 rgba(0,0,0,.18); }

/* Post cards */
.eb-post-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
.eb-post-card { border:1px solid #bbb; background:#fff; padding:18px; box-shadow:3px 3px 0 rgba(0,0,0,.06); }
.eb-post-thumb {
  height:300px;
  overflow:hidden;
  background:linear-gradient(135deg,var(--eb-purple),var(--eb-pink));
  margin-bottom:16px;
  position:relative;
}
.eb-post-thumb img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.eb-post-thumb.no-image::after { content:""; position:absolute; inset:0; background:url('assets/images/crown.svg') center/115px no-repeat; opacity:.5; }
.eb-post-meta { display:flex; justify-content:space-between; gap:12px; align-items:center; font-size:.76rem; font-weight:900; text-transform:uppercase; }
.eb-category { display:inline-block; padding:3px 9px; background:var(--eb-lime); color:#111; text-decoration:none; }
.eb-post-card:nth-child(4n+2) .eb-category { background:var(--eb-purple); color:#fff; }
.eb-post-card:nth-child(4n+3) .eb-category { background:var(--eb-pink); color:#fff; }
.eb-post-card:nth-child(4n+4) .eb-category { background:var(--eb-orange); color:#111; }
.eb-post-title { margin:.4rem 0; font-family:var(--eb-heading-font); font-size:clamp(1.55rem, 2.6vw, 2.45rem); line-height:1; text-transform:uppercase; }
.eb-post-title a { text-decoration:none; color:var(--eb-pink); }
.eb-post-card:nth-child(even) .eb-post-title a { color:var(--eb-purple); }
.eb-post-excerpt p { margin:.6rem 0; }
.eb-read-more { display:inline-block; margin-top:5px; background:var(--eb-black); color:var(--eb-lime); padding:7px 13px; text-decoration:none; text-transform:uppercase; font-weight:900; font-size:.84rem; }
.eb-read-more:hover, .eb-read-more:focus { background:var(--eb-pink); color:#fff; }

/* Standard content */
.eb-entry { background:#fff; }
.eb-entry-header { border-bottom:4px solid var(--eb-purple); margin-bottom:18px; }
.eb-entry-title { margin:.1em 0; font-family:var(--eb-heading-font); font-size:clamp(2.2rem, 5vw, 4.8rem); line-height:.98; text-transform:uppercase; }
.eb-entry-meta { color:var(--eb-muted); font-size:.9rem; font-weight:700; margin-bottom:12px; }
.eb-entry-content { font-size:1.04rem; padding:0 6px 8px; }
.eb-entry-content h2, .eb-entry-content h3, .eb-entry-content h4 { font-family:var(--eb-heading-font); text-transform:uppercase; line-height:1.05; }
.eb-entry-content blockquote { margin:1.5rem 0; border-left:8px solid var(--eb-pink); padding:15px 22px; background:#f7f2fa; font-size:1.18rem; font-weight:700; }
.eb-entry-footer { margin-top:28px; padding-top:15px; border-top:1px dashed #aaa; }

/* Sidebar & widgets */
.eb-sidebar { border-left:1px solid #bbb; padding-left:10px; }
.eb-widget { margin-bottom:18px; border:1px solid #b7b7b7; background:#fff; }
.eb-widget-title { margin:0; padding:8px 12px; background:var(--eb-purple); color:#fff; text-transform:uppercase; font-family:var(--eb-heading-font); font-size:1.35rem; line-height:1.05; letter-spacing:.03em; display:block; }
.eb-widget:nth-child(3n+2) .eb-widget-title { background:var(--eb-lime); color:#fff; }
.eb-widget:nth-child(3n+3) .eb-widget-title { background:var(--eb-pink); color:#fff; }
.eb-widget > *:not(.eb-widget-title), .eb-widget .textwidget { margin-left:16px; margin-right:16px; }
.eb-widget ul { list-style:none; padding:0; }
.eb-widget li { padding:6px 0; border-bottom:1px dotted #bbb; }
.eb-widget input[type="search"], .eb-widget input[type="text"], .eb-widget select { width:100%; padding:9px; border:1px solid #888; background:#fff; }
.eb-widget button, .eb-widget input[type="submit"] { background:var(--eb-black); color:#fff; border:0; padding:9px 13px; font-weight:900; text-transform:uppercase; }

/* Author vCard */
.eb-author-card { padding:18px 16px 15px; }
.eb-author-card-grid { display:grid; grid-template-columns:108px minmax(0,1fr); gap:14px; align-items:start; }
.eb-author-avatar-wrap { min-width:0; }
.eb-author-avatar {
  width:108px;
  height:108px;
  display:block;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
  background:var(--eb-pink);
  border:6px solid var(--eb-pink);
  box-shadow:0 0 0 2px rgba(255,255,255,.9);
}
.eb-author-copy { min-width:0; }
.eb-author-name {
  margin:0 0 4px;
  font-size:1.35rem;
  line-height:1.05;
  font-weight:900;
  color:var(--eb-text);
}
.eb-author-tagline { margin:.15rem 0 .55rem; font-weight:700; line-height:1.35; }
.eb-author-bio { margin:.55rem 0; line-height:1.4; }
.eb-author-signoff {
  color:var(--eb-pink);
  font-family:var(--eb-script-font);
  font-size:1.25rem;
  line-height:1.1;
  font-weight:900;
  font-style:italic;
  margin-top:7px;
}
.eb-author-social {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid #ddd;
}
.eb-author-social a {
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  padding:0;
  background:var(--eb-purple);
  color:#fff;
  text-decoration:none;
  font-family:Arial,Helvetica,sans-serif;
  font-size:1.15rem;
  font-weight:900;
  border:2px solid var(--eb-purple);
  box-shadow:3px 3px 0 rgba(0,0,0,.12);
}
.eb-author-social a:hover,
.eb-author-social a:focus { background:var(--eb-pink); border-color:var(--eb-pink); color:#fff; transform:translateY(-1px); }

/* Footer */
.eb-footer-widgets { margin-top:24px; border:2px solid var(--eb-purple); display:grid; grid-template-columns:1fr 1fr; }
.eb-footer-widget { padding:22px 24px; min-height:130px; }
.eb-footer-widget + .eb-footer-widget { border-left:2px solid var(--eb-purple); }
.eb-colophon { background:var(--eb-black); color:#fff; margin-top:0; }
.eb-colophon-inner { min-height:65px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:20px; }
.eb-colophon a { color:var(--eb-lime); }
.eb-footer-message { color:var(--eb-pink); font-family:var(--eb-script-font); font-size:1.25rem; font-weight:900; text-align:center; }
.eb-credit { text-align:right; }

/* Pagination / comments */
.navigation.pagination, .post-navigation { margin:28px 0; }
.nav-links { display:flex; gap:8px; flex-wrap:wrap; }
.page-numbers, .post-navigation a { padding:8px 12px; background:#eee; text-decoration:none; font-weight:900; }
.page-numbers.current { background:var(--eb-pink); color:#fff; }
.comments-area { margin-top:30px; border-top:5px solid var(--eb-purple); padding-top:18px; }
.comment-list { list-style:none; padding:0; }
.comment-body { padding:14px; margin-bottom:12px; background:#f7f7f7; border-left:6px solid var(--eb-lime); }
.comment-respond input:not([type="submit"]), .comment-respond textarea { width:100%; padding:10px; border:1px solid #aaa; }
.comment-respond input[type="submit"] { background:var(--eb-pink); color:#fff; border:0; padding:10px 18px; font-weight:900; text-transform:uppercase; }

/* WordPress alignment */
.alignleft { float:left; margin:0 1.2rem 1rem 0; }
.alignright { float:right; margin:0 0 1rem 1.2rem; }
.aligncenter { display:block; margin-left:auto; margin-right:auto; }
.wp-caption { max-width:100%; }
.gallery { display:grid; gap:10px; }
.sticky { outline:3px solid var(--eb-lime); }
.bypostauthor { }


/* Intrinsic-ratio image-only header and hero modes */
.eb-branding-image-only {
  padding: 0;
  line-height: 0;
  border-bottom: 1px solid #ddd;
}
.eb-header-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.eb-hero-image-only {
  display: block;
  min-height: 0;
  height: auto;
  padding: 0;
  background: none !important;
  border-width: 3px;
  line-height: 0;
}
.eb-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.eb-hero-image-only::after {
  display: none;
}
.eb-hero-image-only 
@media (max-width: 980px) {
  .eb-layout, .eb-layout.sidebar-left, .eb-home-layout, .eb-home-layout.sidebar-left { grid-template-columns:1fr; }
  .eb-layout.sidebar-left .eb-sidebar, .eb-home-layout.sidebar-left .eb-sidebar { order:initial; }
  .eb-sidebar { border-left:0; padding-left:0; }
  .eb-colophon-inner { grid-template-columns:1fr; text-align:center; padding:18px 0; }
  .eb-credit { text-align:center; }
}
@media (max-width: 420px) {
  .eb-author-card-grid { grid-template-columns:1fr; }
  .eb-author-avatar { width:125px; height:125px; margin-inline:auto; }
  .eb-author-copy { text-align:center; }
  .eb-author-social { justify-content:center; }
}

@media (max-width: 720px) {
  .eb-post-thumb { height:220px; }
  .eb-post-card { padding:15px; }

  .menu-toggle { display:block; }
  .eb-main-menu { display:none; width:100%; }
  .eb-main-menu.is-open { display:block; }
  .eb-topbar-inner { flex-wrap:wrap; padding:8px 0; }
  .eb-main-menu a { padding:10px 12px; }
  .eb-post-grid, .eb-footer-widgets { grid-template-columns:1fr; }
  .eb-footer-widget + .eb-footer-widget { border-left:0; border-top:2px solid var(--eb-purple); }
  .eb-author-card-grid { grid-template-columns:90px 1fr; }
  .eb-author-avatar { width:90px; }
  .eb-site-title { font-size:3.2rem; }
  .eb-branding-inner { min-height:150px; }
  .eb-hero-content { margin:22px; }
}
