/*
Theme Name: Evanescence Fansite
Theme URI: https://www.amyleefans.com/
Author: Justin Smith
Author URI: https://www.amyleefans.com/
Description: Dark Evanescence-style WordPress theme.
Version: 3.2
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: evanescence-fansite
*/
:root{--ev-bg:#090909;--ev-panel:#050505;--ev-border:#111;--ev-text:#f2f2f2;--ev-muted:#9a9a9a;--ev-accent:#c51616;--ev-accent-dark:#7f0e0e;--ev-accent-soft:#ff6b6b;--ev-widget-accent:#d96a6a;--ev-sidebar-width:372px;--ev-link:#ddd;--ev-link-hover:#c51616;--ev-body-text:#f2f2f2;--ev-image-hover:#c51616;--ev-image-border:#161616;--ev-widget-line:#c51616;--ev-widget-title-color:#d96a6a;--ev-breadcrumb-color:#d9c17a;--ev-icon-color:#ff6b6b;--ev-h1-color:#ffffff;--ev-h2-color:#ff6b6b;--ev-h3-color:#7f0e0e;--ev-ext-bg:#101010;--ev-ext-label-bg:#7f0e0e;--ev-share-label:#d96a6a;--ev-share-bg:#141414;--ev-share-text:#d0d0d0;--ev-list-line:#1c1c1c}
html,body{margin:0;padding:0;background:var(--ev-bg);color:var(--ev-body-text);font-family:Georgia,Arial,sans-serif}
img{max-width:100%;height:auto;display:block} a{color:var(--ev-link)} a:hover{color:var(--ev-link-hover)}
body::-webkit-scrollbar{width:12px} body::-webkit-scrollbar-track{background:#050505} body::-webkit-scrollbar-thumb{background:linear-gradient(to bottom,var(--ev-accent),var(--ev-accent-dark));border:1px solid #220404} body{scrollbar-color:var(--ev-accent) #050505;scrollbar-width:thin}
.site-shell{max-width:1320px;margin:0 auto;padding:0 14px}
.site-header{text-align:center;padding:2rem 1rem;border-bottom:1px solid rgba(255,255,255,.08)}
.site-branding .site-title{margin:0;font-size:4rem;line-height:1;font-style:italic}.site-branding .site-title a{color:#fff;text-decoration:none}
.site-branding .fansite-label{color:var(--ev-accent);letter-spacing:.25em;text-transform:uppercase;font-size:1.1rem}
.site-branding .archive-label{color:#737373;letter-spacing:.35em;text-transform:uppercase;font-size:.72rem}
.main-navigation{text-align:center;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.05)}
.main-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:1.2rem}
.main-navigation a{color:#f3f3f3;text-decoration:none;text-transform:uppercase;font-size:.78rem;font-weight:700}
.main-navigation a:hover,.main-navigation .current-menu-item>a{color:var(--ev-accent)}
.hero-header img{width:100%;border:1px solid var(--ev-border)}
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) var(--ev-sidebar-width);gap:1.5rem;padding:1.5rem 0 2rem}
.content-panel{background:var(--ev-panel);border:1px solid var(--ev-border);margin-bottom:1.5rem;overflow:hidden}
.post-card-header{padding:1rem 1rem .8rem;background:#050505}
.post-card-title{margin:0 0 .55rem;font-size:1.8rem;line-height:1.02;font-weight:700;letter-spacing:-.02em;word-break:break-word}
.post-card-title a{color:#fff;text-decoration:none}.post-card-title a:hover{color:var(--ev-accent-soft)}
.entry-meta{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;font-size:.72rem;text-transform:uppercase;color:var(--ev-muted)}
.entry-meta span{display:inline-flex;align-items:center;gap:.35rem}.entry-meta i{color:var(--ev-icon-color);font-size:.82rem}.entry-meta a,.reply-count{color:var(--ev-accent);text-decoration:underline}
.featured-image{padding:1rem 1rem 0}.featured-image img{width:100%;max-height:500px;object-fit:cover;border:1px solid var(--ev-image-border);background:#0d0d0d;transition:border-color .25s ease,box-shadow .25s ease}
.featured-image img:hover,.single .entry-content img:hover,.page .entry-content img:hover,.sidebar img:hover,.widget img:hover{border-color:var(--ev-image-hover);box-shadow:0 0 0 4px rgba(0,0,0,.55),0 0 0 1px var(--ev-image-hover)}
.entry-content{padding:1rem;line-height:1.8;color:var(--ev-body-text)} .entry-content p{margin:0 0 1rem}.entry-content a{color:var(--ev-link-hover);text-decoration:underline;text-underline-offset:2px}
.loop-post .entry-content{font-size:1rem;color:var(--ev-body-text)} .read-more-link{color:var(--ev-accent);text-decoration:underline;font-weight:700}
.single .content-panel,.page .content-panel{background:#040404}
.single .entry-title,.page .entry-title{margin:0 0 .8rem;color:#fff;font-size:2.2rem;line-height:1.02;font-weight:700;letter-spacing:-.02em;word-break:break-word}
.single .entry-content,.page .entry-content{padding:1.5rem 1.35rem 1.6rem;font-size:1.02rem;line-height:1.88;color:var(--ev-body-text)}
.single .entry-content p,.page .entry-content p{margin:0 0 1.25rem}
.single .entry-content h2,.page .entry-content h2{color:var(--ev-accent-soft);font-size:2rem;line-height:1.1;margin:1.5rem 0 .7rem}
.single .entry-content h3,.page .entry-content h3{color:var(--ev-accent-dark);font-size:1.55rem;line-height:1.15;margin:1.25rem 0 .6rem}
.page .content-panel .page-breadcrumbs{padding:0 1.35rem .8rem;font-size:.8rem;text-transform:uppercase}.page .content-panel .page-breadcrumbs a{color:var(--ev-breadcrumb-color);text-decoration:underline}
.page .content-panel .page-header-block{padding:1.2rem 1.35rem;border-bottom:1px solid var(--ev-border);background:#050505}
.ev-quote-box,.single .entry-content blockquote,.page .entry-content blockquote{margin:1.6rem auto;max-width:88%;background:#0b0b0b;border:1px solid #141414;border-radius:8px;padding:1.35rem 1.6rem;text-align:center;color:#f4f4f4;font-style:italic;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.ev-quote-box:before,.single .entry-content blockquote:before,.page .entry-content blockquote:before{content:'“';position:absolute;left:-1.25rem;top:-.45rem;color:#5b5b5b;font-size:4rem;line-height:1;font-style:normal}
.ev-quote-box:after,.single .entry-content blockquote:after,.page .entry-content blockquote:after{content:'”';position:absolute;right:-1.25rem;bottom:-1.2rem;color:#5b5b5b;font-size:4rem;line-height:1;font-style:normal}
.single .entry-content .gallery,.single .entry-content .blocks-gallery-grid,.page .entry-content .gallery,.page .entry-content .blocks-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:1.6rem auto;max-width:78%}
.single .entry-content .gallery img,.single .entry-content .blocks-gallery-item img,.page .entry-content .gallery img,.page .entry-content .blocks-gallery-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid var(--ev-image-border);background:#0d0d0d}
.post-tags a,.tagcloud a,.wp-block-tag-cloud a{display:inline-block;margin:0 .35rem .35rem 0;padding:.26rem .5rem;font-size:.72rem;color:#fff;text-decoration:none;border:1px solid #4a0d0d;background:linear-gradient(to bottom,#ff4d4d,#b31212)}
.sidebar .widget{background:#050505;border:1px solid #111;margin:0 0 1.6rem;padding:0;min-height:120px}
.sidebar .widget-title,.sidebar .widgettitle{position:relative;margin:0 0 1rem!important;padding:1.05rem 1rem .2rem!important;color:var(--ev-widget-title-color)!important;text-align:center!important;text-transform:uppercase!important;font-size:.92rem!important;line-height:1.18!important;letter-spacing:.08em!important;font-weight:700!important;border:none!important;box-shadow:none!important;text-decoration:none!important}
.sidebar .widget-title::before,.sidebar .widgettitle::before{content:'';position:absolute;left:16px;right:16px;top:50%;height:2px;background:linear-gradient(to right,var(--ev-widget-line),var(--ev-widget-line),var(--ev-widget-line));z-index:1}
.sidebar .widget-title span,.sidebar .widgettitle span{position:relative;z-index:2;background:#050505;padding:0 10px;display:inline-block;text-shadow:0 1px 0 #000,0 0 6px rgba(217,106,106,.45)}
.sidebar .widget-content,.sidebar .widget-inner,.sidebar .textwidget{padding:0 1rem 1rem;box-sizing:border-box}
.sidebar .widget p{padding:0 1rem 1rem;margin:0;line-height:1.7;font-size:.98rem}
.sidebar .search-form{display:flex;gap:.5rem;padding:0 1rem 1rem!important}.sidebar input[type='search']{width:100%;background:#0d0d0d;border:1px solid #191919;color:#fff;padding:.7rem .75rem}
.sidebar button,.sidebar input[type='submit']{background:linear-gradient(to bottom,#ff4d4d,#b31212);color:#fff;border:1px solid #4a0d0d;padding:.7rem .95rem;cursor:pointer}
.sidebar .latest-photos-grid,.sidebar .affiliate-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(54px,54px));justify-content:center;gap:.45rem;padding:0 1rem 1rem}
.sidebar .latest-photos-grid img,.sidebar .affiliate-grid img{width:54px;height:54px;object-fit:cover;border:1px solid var(--ev-image-border);min-width:0}
.comments-area{background:#050505;border:1px solid #111;margin:1.5rem 0 0;padding:1.1rem 1.2rem 1.3rem}
.comments-area h2,.comments-area .comments-title,.comments-area .comment-reply-title{margin:0 0 1rem;color:var(--ev-accent-soft);font-size:1.2rem;line-height:1.2}
.comment-list{list-style:none;margin:0 0 1.5rem;padding:0}.comment-list li{background:#0a0a0a;border:1px solid #161616;margin:0 0 1rem;padding:1rem}
.comment-meta{font-size:.8rem;color:var(--ev-muted);margin-bottom:.6rem}.comment-content p{margin:0 0 .8rem}
.comment-respond{margin-top:1.2rem;padding-top:1rem;border-top:1px solid #161616}
.comment-form p{margin:0 0 1rem}.comment-form label{display:block;margin:0 0 .4rem;color:#ddd;font-size:.95rem}
.comment-form input[type='text'],.comment-form input[type='email'],.comment-form input[type='url'],.comment-form textarea{width:100%;box-sizing:border-box;background:#0d0d0d;border:1px solid #222;color:#fff;padding:.8rem .9rem;font:inherit}
.comment-form textarea{min-height:170px;resize:vertical}.comment-form input[type='submit'],.comment-form .submit{background:linear-gradient(to bottom,#ff4d4d,#b31212);color:#fff;border:1px solid #4a0d0d;padding:.75rem 1.1rem;cursor:pointer}
.jetpack-likes-widget-wrapper,.sharedaddy,.sd-sharing-enabled{margin-top:1rem;padding-top:1rem;border-top:1px solid #161616}
.footer-social-nav{margin:1rem 0 .6rem;display:flex;justify-content:center;gap:.85rem;flex-wrap:wrap}
.footer-social-nav a{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #2a2a2a;background:#0d0d0d;color:var(--ev-link);text-decoration:none;transition:all .2s ease}
.footer-social-nav a:hover{color:#fff;border-color:var(--ev-accent);box-shadow:0 0 0 1px var(--ev-accent)}
.pagination-wrap{margin-top:2rem}.pagination-wrap .nav-links{display:flex;flex-wrap:wrap;gap:.5rem}
.pagination-wrap .page-numbers{display:inline-block;padding:.45rem .7rem;border:1px solid var(--ev-border);background:#111;color:#fff;text-decoration:none}
.pagination-wrap .current,.pagination-wrap .page-numbers:hover{background:linear-gradient(to bottom,#ff4d4d,#b31212)}
.site-footer{text-align:center;color:#b5b5b5;border-top:1px solid var(--ev-border);padding:2rem 1rem 3rem;font-size:.8rem}
.footer-links a{color:#ddd;margin:0 .35rem}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0!important;border:0!important;height:1px!important;width:1px!important;overflow:hidden}
@media (max-width:980px){.content-grid{grid-template-columns:1fr}.site-branding .site-title{font-size:2.8rem}.single .entry-content .gallery,.single .entry-content .blocks-gallery-grid,.page .entry-content .gallery,.page .entry-content .blocks-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%}.single .entry-content blockquote,.page .entry-content blockquote,.ev-quote-box{max-width:100%}.sidebar .widget-title,.sidebar .widgettitle{font-size:.88rem!important}}


/* v14 tweaks */
.featured-image img:hover{
  border-color: var(--ev-image-border) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* widget title bar no glow/shadow */
.sidebar .widget-title span,
.sidebar .widgettitle span{
  text-shadow: none !important;
}

/* footer social nav fix */
.footer-social-nav{
  margin: 1rem 0 .6rem;
}
.footer-social-nav .footer-social-menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .85rem;
  flex-wrap: wrap;
}
.footer-social-nav .footer-social-menu li{
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social-nav .footer-social-menu a{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
  background: #0d0d0d;
  color: var(--ev-link);
  text-decoration: none;
  position: relative;
  font-size: 0;
  line-height: 1;
}
.footer-social-nav .footer-social-menu a:hover{
  color: #fff;
  border-color: var(--ev-accent);
  box-shadow: none;
}
.footer-social-nav .footer-social-menu a::before{
  font-family: "Font Awesome 6 Brands";
  font-size: 16px;
  line-height: 1;
}
.footer-social-nav .footer-social-menu a[href*='twitter.com']::before,
.footer-social-nav .footer-social-menu a[href*='x.com']::before{content:"\e61b";}
.footer-social-nav .footer-social-menu a[href*='facebook.com']::before{content:"\f39e";}
.footer-social-nav .footer-social-menu a[href*='instagram.com']::before{content:"\f16d";}
.footer-social-nav .footer-social-menu a[href*='youtube.com']::before{content:"\f167";}
.footer-social-nav .footer-social-menu a[href*='tumblr.com']::before{content:"\f173";}
.footer-social-nav .footer-social-menu a[href*='tiktok.com']::before{content:"\e07b";}
.footer-social-nav .footer-social-menu a[href*='bluesky']::before{content:"\e671";}
.footer-social-nav .footer-social-menu .screen-reader-text{
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
}


/* v15 category pills centered on loops */
.loop-post .post-categories{
  margin-top: .8rem;
  text-align: center;
}
.loop-post .post-categories a{
  display:inline-block;
  margin:0 .35rem .35rem 0;
  padding:.26rem .5rem;
  font-size:.72rem;
  color:#fff;
  text-decoration:none;
  border:1px solid #4a0d0d;
  background:linear-gradient(to bottom,#ff4d4d,#b31212);
}
.loop-post .post-tags{
  display:none;
}


/* v16 category buttons look like tags and centered */
.loop-post .post-categories{
  margin-top: .8rem;
  text-align: center;
}
.loop-post .post-categories a{
  display:inline-block !important;
  margin:0 .35rem .35rem 0 !important;
  padding:.26rem .5rem !important;
  font-size:.72rem !important;
  line-height:1.2 !important;
  color:#fff !important;
  text-decoration:none !important;
  border:1px solid #4a0d0d !important;
  background:linear-gradient(to bottom,#ff4d4d,#b31212) !important;
}
.loop-post .post-categories a:hover{
  color:#fff !important;
  text-decoration:none !important;
}
.loop-post .post-categories .post-categories-sep{
  display:none;
}

/* stronger comments styling and force form fields visible */
.comments-area{
  display:block !important;
}
.comment-respond,
.comment-form,
#respond{
  display:block !important;
  visibility:visible !important;
}
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url{
  display:block !important;
}
.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input{
  display:block !important;
  width:100% !important;
  box-sizing:border-box !important;
}
.form-submit{
  display:block !important;
}
.comment-reply-title small{
  margin-left:.5rem;
}
.jetpack-likes-widget-wrapper,
.sd-like,
.post-likes-widget,
.sharedaddy{
  display:block !important;
}


/* v17 fixes */

/* remove any glow/shadow from widget titles */
.sidebar .widget-title span,
.sidebar .widgettitle span {
  text-shadow: none !important;
}

/* make loop categories look like centered pill tags no matter where output comes from */
.loop-post .post-categories,
.loop-post .cat-links,
.loop-post .entry-footer,
.loop-post footer.entry-footer {
  text-align: center !important;
  margin-top: .8rem !important;
}
.loop-post .post-categories a,
.loop-post .cat-links a,
.loop-post .entry-footer a,
.loop-post footer.entry-footer a {
  display: inline-block !important;
  margin: 0 .35rem .35rem 0 !important;
  padding: .26rem .5rem !important;
  font-size: .72rem !important;
  line-height: 1.2 !important;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid #4a0d0d !important;
  background: linear-gradient(to bottom,#ff4d4d,#b31212) !important;
}
.loop-post .post-categories a:hover,
.loop-post .cat-links a:hover,
.loop-post .entry-footer a:hover,
.loop-post footer.entry-footer a:hover {
  color: #fff !important;
  text-decoration: none !important;
}
.loop-post .cat-links::before,
.loop-post .cat-links .screen-reader-text,
.loop-post .entry-footer .screen-reader-text {
  display: none !important;
}

/* nicer Jetpack related posts */
.jp-relatedposts,
#jp-relatedposts {
  margin: 2rem 0 0 !important;
  padding: 1.4rem 1.2rem 1.2rem !important;
  background: #050505 !important;
  border: 1px solid #111 !important;
}
.jp-relatedposts h3.jp-relatedposts-headline,
#jp-relatedposts h3.jp-relatedposts-headline {
  position: relative !important;
  margin: 0 0 1.2rem !important;
  padding: 0 !important;
  color: var(--ev-widget-accent) !important;
  text-transform: uppercase !important;
  font-size: .95rem !important;
  letter-spacing: .08em !important;
  border: none !important;
}
.jp-relatedposts h3.jp-relatedposts-headline em,
#jp-relatedposts h3.jp-relatedposts-headline em {
  font-style: normal !important;
  background: #050505 !important;
  padding-right: 10px !important;
}
.jp-relatedposts .jp-relatedposts-items,
#jp-relatedposts .jp-relatedposts-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.jp-relatedposts .jp-relatedposts-post,
#jp-relatedposts .jp-relatedposts-post {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.jp-relatedposts .jp-relatedposts-post-img img,
#jp-relatedposts .jp-relatedposts-post-img img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border: 1px solid var(--ev-image-border) !important;
  box-shadow: none !important;
}
.jp-relatedposts .jp-relatedposts-post-title,
#jp-relatedposts .jp-relatedposts-post-title {
  margin: .65rem 0 .35rem !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}
.jp-relatedposts .jp-relatedposts-post-title a,
#jp-relatedposts .jp-relatedposts-post-title a {
  color: var(--ev-accent-soft) !important;
  text-decoration: none !important;
}
.jp-relatedposts .jp-relatedposts-post-title a:hover,
#jp-relatedposts .jp-relatedposts-post-title a:hover {
  color: #fff !important;
}
.jp-relatedposts .jp-relatedposts-post-date,
.jp-relatedposts .jp-relatedposts-post-context,
#jp-relatedposts .jp-relatedposts-post-date,
#jp-relatedposts .jp-relatedposts-post-context {
  color: var(--ev-muted) !important;
  font-size: .88rem !important;
}
@media (max-width: 980px) {
  .jp-relatedposts .jp-relatedposts-items,
  #jp-relatedposts .jp-relatedposts-items {
    grid-template-columns: 1fr !important;
  }
}


/* v18 hard fixes */

/* absolutely no glow or shadow on widget titles */
.sidebar .widget-title,
.sidebar .widgettitle,
.sidebar .widget-title span,
.sidebar .widgettitle span,
.sidebar .widget-title a,
.sidebar .widgettitle a {
  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* category pills - catch multiple WordPress/plugin outputs */
.loop-post .post-categories,
.loop-post .cat-links,
.loop-post .entry-footer,
.loop-post footer.entry-footer,
.loop-post .entry-meta + .entry-content .post-categories {
  display: block !important;
  text-align: center !important;
  margin-top: .8rem !important;
}

.loop-post a[rel="category tag"],
.loop-post .post-categories a,
.loop-post .cat-links a,
.loop-post .entry-footer a {
  display: inline-block !important;
  margin: 0 .35rem .35rem 0 !important;
  padding: .26rem .55rem !important;
  font-size: .72rem !important;
  line-height: 1.2 !important;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid #4a0d0d !important;
  background: linear-gradient(to bottom,#ff4d4d,#b31212) !important;
  border-radius: 0 !important;
}

.loop-post a[rel="category tag"]:hover,
.loop-post .post-categories a:hover,
.loop-post .cat-links a:hover,
.loop-post .entry-footer a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.loop-post .cat-links::before,
.loop-post .entry-footer::before,
.loop-post .entry-footer .screen-reader-text,
.loop-post .cat-links .screen-reader-text {
  display: none !important;
  content: none !important;
}

/* if single post tags are also category links, keep them on single only */
.single .post-tags a[rel="category tag"] {
  display: none !important;
}

/* stronger related posts card styling */
.jp-relatedposts,
#jp-relatedposts {
  margin: 2rem 0 0 !important;
  padding: 1.4rem 1.2rem 1.2rem !important;
  background: #050505 !important;
  border: 1px solid #111 !important;
}
.jp-relatedposts h3.jp-relatedposts-headline,
#jp-relatedposts h3.jp-relatedposts-headline {
  margin: 0 0 1.2rem !important;
  padding: 0 !important;
  color: var(--ev-widget-accent) !important;
  text-transform: uppercase !important;
  font-size: .95rem !important;
  letter-spacing: .08em !important;
  text-shadow: none !important;
  border: none !important;
}
.jp-relatedposts h3.jp-relatedposts-headline em,
#jp-relatedposts h3.jp-relatedposts-headline em {
  font-style: normal !important;
  background: #050505 !important;
  padding-right: 10px !important;
}
.jp-relatedposts .jp-relatedposts-items,
#jp-relatedposts .jp-relatedposts-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}
.jp-relatedposts .jp-relatedposts-post,
#jp-relatedposts .jp-relatedposts-post {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.jp-relatedposts .jp-relatedposts-post-img img,
#jp-relatedposts .jp-relatedposts-post-img img {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border: 1px solid var(--ev-image-border) !important;
  box-shadow: none !important;
}
.jp-relatedposts .jp-relatedposts-post-title,
#jp-relatedposts .jp-relatedposts-post-title {
  margin: .65rem 0 .35rem !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}
.jp-relatedposts .jp-relatedposts-post-title a,
#jp-relatedposts .jp-relatedposts-post-title a {
  color: var(--ev-accent-soft) !important;
  text-decoration: none !important;
}
.jp-relatedposts .jp-relatedposts-post-title a:hover,
#jp-relatedposts .jp-relatedposts-post-title a:hover {
  color: #fff !important;
}
.jp-relatedposts .jp-relatedposts-post-date,
.jp-relatedposts .jp-relatedposts-post-context,
#jp-relatedposts .jp-relatedposts-post-date,
#jp-relatedposts .jp-relatedposts-post-context {
  color: var(--ev-muted) !important;
  font-size: .88rem !important;
}

/* footer social menu force horizontal */
.footer-social-nav .menu,
.footer-social-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: .85rem !important;
  flex-wrap: wrap !important;
}
.footer-social-nav li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width:980px){
  .jp-relatedposts .jp-relatedposts-items,
  #jp-relatedposts .jp-relatedposts-items {
    grid-template-columns: 1fr !important;
  }
}


/* v19 customizer + comments + related updates */
.jp-relatedposts,
#jp-relatedposts {
  background: #101010 !important;
}

.post-card-title {
  font-size: var(--ev-loop-title-size, 1.55rem) !important;
  line-height: 1.06 !important;
}
.single .entry-title,
.page .entry-title {
  font-size: var(--ev-single-title-size, 2rem) !important;
  line-height: 1.08 !important;
}

#respond,
.comment-respond,
.comment-form {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.comment-form > * {
  display: block !important;
}
.comment-form .logged-in-as,
.comment-form .comment-notes,
.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url,
.comment-form .form-submit {
  display: block !important;
  width: 100% !important;
}
.comment-form .comment-form-cookies-consent {
  display: flex !important;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100% !important;
  box-sizing: border-box !important;
}

.jetpack-likes-widget-wrapper,
.sd-like,
.sharedaddy,
.sd-sharing-enabled,
div.sharedaddy,
#jp-post-flair {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #161616 !important;
}
.jetpack-likes-widget-wrapper iframe,
.sd-like iframe {
  max-width: 100% !important;
}
.sd-title,
.sharedaddy h3,
div.sharedaddy h3 {
  color: var(--ev-accent-soft) !important;
  font-size: 1rem !important;
  text-shadow: none !important;
}

.comment-reply-title small {
  display: inline-block !important;
  margin-left: .5rem !important;
}


/* v20 customizer colors + affiliate hover */
.sidebar .affiliate-grid a,
.sidebar .latest-photos-grid a,
a.image-link,
.widget a img {
  display: inline-block;
}

.sidebar .affiliate-grid img,
.sidebar .latest-photos-grid img {
  transition: filter .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}

/* grayscale until hover for affiliate/link image style */
.sidebar .affiliate-grid img {
  filter: grayscale(100%);
}
.sidebar .affiliate-grid a:hover img,
.sidebar .affiliate-grid img:hover {
  filter: grayscale(0%);
  border-color: var(--ev-image-hover) !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,.55) !important;
  transform: translateY(-1px);
}

/* linked images elsewhere can use color-on-hover too */
a.image-link img:hover {
  border-color: var(--ev-image-hover) !important;
  box-shadow: 0 0 0 4px rgba(0,0,0,.55) !important;
}

/* footer social icons follow customizer icon color */
.footer-social-nav .menu-item a,
.footer-social-nav .footer-social-menu a {
  color: var(--ev-icon-color) !important;
}
.footer-social-nav .menu-item a:hover,
.footer-social-nav .footer-social-menu a:hover {
  color: #fff !important;
}

/* widget title line and text colors from customizer */
.sidebar .widget-title,
.sidebar .widgettitle {
  color: var(--ev-widget-title-color) !important;
}
.sidebar .widget-title::before,
.sidebar .widgettitle::before {
  background: var(--ev-widget-line) !important;
}


/* v21 headings from customizer */
.entry-content h1 { color: var(--ev-h1-color) !important; }
.entry-content h2 { color: var(--ev-h2-color) !important; }
.entry-content h3 { color: var(--ev-h3-color) !important; }

/* list style like reference */
.entry-content ul.styled-list,
.entry-content ol.styled-list,
.entry-content .wp-block-list.is-style-ev-lines,
.entry-content .ev-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--ev-list-line);
}
.entry-content ul.styled-list li,
.entry-content ol.styled-list li,
.entry-content .wp-block-list.is-style-ev-lines li,
.entry-content .ev-list li {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--ev-list-line);
}
.entry-content ul.styled-list li strong,
.entry-content ol.styled-list li strong,
.entry-content .wp-block-list.is-style-ev-lines li strong,
.entry-content .ev-list li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ev-h1-color);
}

/* external links box */
.ext-links {
  position: relative;
  margin: 45px auto 10px;
  padding: 25px 25px 15px;
  background: var(--ev-ext-bg);
  font-size: 14px;
  line-height: 140%;
  vertical-align: middle;
  border: 1px solid var(--ev-border);
}
.ext-links:before {
  content: '\f0c1 \00a0\00a0\00a0 Gallery Links';
  position: absolute;
  top: -15px;
  left: 25px;
  padding: 5px 15px;
  color: #fff;
  background: var(--ev-ext-label-bg);
  font-size: 12px;
  font-family: "Font Awesome 6 Free", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow:
    -5px 5px 0 var(--ev-bg),
    -5px 0 0 var(--ev-bg),
    5px 5px 0 var(--ev-bg),
    5px 0 0 var(--ev-bg);
}
.ext-links a {
  text-decoration: underline;
}
.ext-links a:hover,
.ext-links a:focus {
  color: var(--ev-ext-label-bg);
  text-decoration: none;
}

/* share buttons */
.share-buttons--wrap {
  display: block;
  margin: 25px auto 0;
  padding: 10px 0 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--ev-list-line);
}
.share-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  float: right;
  margin: 0;
  padding: 0;
  text-align: right;
  overflow: hidden;
}
.share-buttons--wrap:before {
  content: 'Share Post:';
  display: inline-block;
  margin: 3px auto 0 0;
  padding: 0;
  width: 100px;
  color: var(--ev-share-label);
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-align: left;
}
.share-button a,
.share-button a:focus {
  margin: 2px 2px 2px 0;
  display: inline-flex;
  align-items: center;
  min-width: 10px;
  padding: 5px 10px !important;
  color: var(--ev-share-text);
  background: var(--ev-share-bg);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ev-border);
}
.share-button a:hover {
  color: #fff;
  border-color: var(--ev-accent);
}
.share-buttons .bsky:before,
.share-buttons .threads:before,
.share-buttons .twitter:before,
.share-buttons .facebook:before,
.share-buttons .tumblr:before,
.share-buttons .pinterest:before,
.share-buttons .mail:before {
  margin-right: 10px;
  font: 400 12px "Font Awesome 6 Brands";
}
.share-buttons .mail:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}
.share-buttons .bsky:before { content:"\e671"; }
.share-buttons .threads:before { content:"\e618"; }
.share-buttons .twitter:before { content:"\e61b"; }
.share-buttons .facebook:before { content:"\f39e"; }
.share-buttons .tumblr:before { content:"\f173"; }
.share-buttons .pinterest:before { content:"\f0d2"; }
.share-buttons .mail:before { content:"\f0e0"; }

/* no border/shadow on linkbank images */
a.linkbank img {
  border: none !important;
  box-shadow: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* affiliates footer */
.affiliates-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 440px;
  margin: 1em auto 0;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.affiliates-link {
  display: block;
  text-align: center;
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  width: 120px;
}
.affiliates-footer .separator {
  flex: 0;
  margin: 0 0.5em;
  color: #444;
}
.affiliates-link:hover,
.affiliates-link:focus {
  color: var(--ev-ext-label-bg);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .share-buttons--wrap:before {
    display: block;
    width: auto;
    margin-bottom: 8px;
  }
  .share-buttons {
    float: none;
    justify-content: flex-start;
  }
  .affiliates-footer {
    flex-direction: column;
    gap: 10px;
  }
}


/* v22 fixes */
.comments-area {
  min-height: 0 !important;
}
.comments-area > script,
.comments-area script {
  display: none !important;
}
.comments-area {
  position: relative;
}
.comments-area .jetpack_remote_comment,
.comments-area [id*="jetpack_remote_comment"] {
  display: none !important;
}

/* Hide raw Jetpack script text if injected as text node wrapper */
.comments-area > p:first-of-type:not(.comment-form-comment):not(.logged-in-as):not(.comment-notes),
.comments-area > div:first-of-type:empty {
  display: none !important;
}

/* ensure comment form visible */
#commentform,
#commentform p,
#commentform textarea,
#commentform input,
.comment-form,
.comment-form p,
.comment-form textarea,
.comment-form input {
  display: block !important;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  background: #0d0d0d !important;
  border: 1px solid #222 !important;
  color: #fff !important;
}

/* Customizer title sizes */
.post-card-title,
.post-card-title a {
  font-size: var(--ev-loop-title-size, 1.35rem) !important;
}
.single .entry-title,
.page .entry-title {
  font-size: var(--ev-single-title-size, 1.8rem) !important;
}


/* v23 typography/link/image/list updates */

/* tighter typography */
body,
.entry-content {
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  word-spacing: -0.02em !important;
}

.entry-content p,
.entry-content li {
  line-height: 1.45 !important;
  margin-bottom: 0.9em !important;
}

/* tighter headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.post-card-title,
.single .entry-title,
.page .entry-title {
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  word-spacing: -0.03em !important;
  margin-bottom: 0.6em !important;
}

/* lists tighter */
.entry-content ul,
.entry-content ol {
  margin-bottom: 1em !important;
  padding-left: 20px !important;
}

.entry-content li {
  margin-bottom: 0.4em !important;
}

/* links */
a {
  color: var(--ev-link) !important;
  text-decoration: none !important;
}

a:hover,
a:focus {
  color: var(--ev-link-hover) !important;
  text-decoration: none !important;
}

.entry-content a:hover,
.entry-content a:focus {
  box-shadow: inset 0 -2px 0 var(--ev-link-hover) !important;
}

/* linked images only */
img {
  border: none !important;
  box-shadow: none !important;
}

.entry-content a img,
.featured-image a img,
.wp-block-image a img,
.gallery a img,
.blocks-gallery-item a img,
.sidebar a img,
.widget a img {
  border: 5px solid #111111 !important;
  box-shadow: none !important;
  transition: border-color 0.25s ease !important;
}

.entry-content a img:hover,
.featured-image a img:hover,
.wp-block-image a img:hover,
.gallery a img:hover,
.blocks-gallery-item a img:hover,
.sidebar a img:hover,
.widget a img:hover {
  border-color: var(--ev-image-hover) !important;
}

/* strong/em */
strong {
  font-weight: 700 !important;
}

em {
  font-style: italic !important;
  color: var(--ev-muted) !important;
}

/* list lines like reference */
.entry-content ul.styled-list,
.entry-content ol.styled-list,
.entry-content .wp-block-list.is-style-ev-lines,
.entry-content .ev-list {
  list-style: none !important;
  margin: 1rem 0 1.5rem !important;
  padding: 0 !important;
  border-top: 1px solid var(--ev-list-line) !important;
}
.entry-content ul.styled-list li,
.entry-content ol.styled-list li,
.entry-content .wp-block-list.is-style-ev-lines li,
.entry-content .ev-list li {
  margin: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--ev-list-line) !important;
  list-style: none !important;
}
.entry-content ul.styled-list li strong,
.entry-content ol.styled-list li strong,
.entry-content .wp-block-list.is-style-ev-lines li strong,
.entry-content .ev-list li strong {
  display: block !important;
  margin-bottom: 4px !important;
  color: var(--ev-h1-color) !important;
}

/* support default wp list block with class on ul */
.entry-content ul.is-style-ev-lines,
.entry-content ol.is-style-ev-lines {
  list-style: none !important;
  margin: 1rem 0 1.5rem !important;
  padding: 0 !important;
  border-top: 1px solid var(--ev-list-line) !important;
}
.entry-content ul.is-style-ev-lines li,
.entry-content ol.is-style-ev-lines li {
  margin: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--ev-list-line) !important;
  list-style: none !important;
}


/* v24 mobile/tablet tuning + hamburger nav */
.main-navigation {
  position: relative;
}

.menu-toggle {
  display: none;
  margin: 0 auto 12px;
  width: 48px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid #1c1c1c;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f1f1f1;
}

.menu-toggle .screen-reader-text {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.main-navigation ul,
.main-navigation .menu,
.main-navigation .page_item_has_children > ul,
.main-navigation .menu-item-has-children > ul {
  list-style: none;
}

@media (max-width: 1024px) {
  .site-shell {
    max-width: 100%;
    padding: 0 12px;
  }

  .content-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .sidebar {
    order: 2;
  }

  .site-main {
    order: 1;
    min-width: 0;
  }

  .site-branding .site-title {
    font-size: clamp(2.4rem, 7vw, 4rem) !important;
    line-height: .95 !important;
  }

  .site-branding .fansite-label {
    font-size: .95rem !important;
  }

  .site-branding .archive-label {
    font-size: .68rem !important;
    letter-spacing: .24em !important;
  }

  .main-navigation {
    padding: 14px 0 !important;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation ul,
  .main-navigation .menu {
    display: none !important;
    width: 100%;
    margin: 0 !important;
    padding: 10px 0 0 !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .main-navigation.is-open ul,
  .main-navigation.is-open .menu {
    display: flex !important;
  }

  .main-navigation li,
  .main-navigation .menu-item,
  .main-navigation .page_item {
    width: 100%;
    text-align: center;
  }

  .main-navigation a {
    display: block !important;
    padding: 12px 10px !important;
    font-size: .95rem !important;
    line-height: 1.2 !important;
  }

  .hero-header img {
    width: 100% !important;
    height: auto !important;
  }

  .featured-image img {
    max-height: none !important;
  }

  .post-card-header,
  .entry-content,
  .single .entry-content,
  .page .entry-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .post-card-title,
  .single .entry-title,
  .page .entry-title {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .entry-meta {
    gap: .45rem !important;
    font-size: .7rem !important;
  }

  .jp-relatedposts .jp-relatedposts-items,
  #jp-relatedposts .jp-relatedposts-items {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .share-buttons {
    float: none !important;
    justify-content: flex-start !important;
  }

  .share-buttons--wrap:before {
    display: block !important;
    width: auto !important;
    margin: 0 0 8px !important;
  }

  .footer-social-nav .footer-social-menu,
  .footer-social-nav ul {
    justify-content: center !important;
  }
}

@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  }

  .site-shell {
    padding: 0 10px !important;
  }

  .site-header {
    padding-top: 18px !important;
    padding-bottom: 12px !important;
  }

  .site-branding .site-title {
    font-size: clamp(2.1rem, 10vw, 3.2rem) !important;
  }

  .site-branding .archive-label {
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.5;
  }

  .main-navigation a {
    font-size: .9rem !important;
    padding: 11px 8px !important;
  }

  .post-card-title {
    font-size: 1.2rem !important;
    line-height: 1.08 !important;
  }

  .single .entry-title,
  .page .entry-title {
    font-size: 1.6rem !important;
    line-height: 1.08 !important;
  }

  .entry-content,
  .single .entry-content,
  .page .entry-content {
    font-size: .98rem !important;
    line-height: 1.45 !important;
  }

  .entry-content p,
  .entry-content li {
    line-height: 1.4 !important;
  }

  .entry-content h1 { font-size: 1.75rem !important; }
  .entry-content h2 { font-size: 1.45rem !important; }
  .entry-content h3 { font-size: 1.2rem !important; }

  .page .content-panel .page-breadcrumbs {
    padding-top: 4px !important;
    font-size: .78rem !important;
  }

  .sidebar .widget {
    padding: 16px !important;
    min-height: 0 !important;
  }

  .sidebar .widget-title,
  .sidebar .widgettitle {
    font-size: .88rem !important;
    letter-spacing: .05em !important;
  }

  .sidebar .latest-photos-grid,
  .sidebar .affiliate-grid {
    grid-template-columns: repeat(auto-fit, minmax(54px, 54px)) !important;
    gap: 8px !important;
  }

  .comments-area {
    padding: 16px 14px !important;
  }

  .comment-form textarea {
    min-height: 140px !important;
  }

  .footer-links a {
    display: inline-block;
    margin: 4px 8px !important;
  }
}

@media (max-width: 480px) {
  .site-branding .site-title {
    font-size: 2rem !important;
  }

  .menu-toggle {
    width: 44px;
    height: 40px;
  }

  .entry-meta span {
    gap: .25rem !important;
  }

  .featured-image {
    padding: 10px 10px 0 !important;
  }

  .sidebar .widget {
    padding: 14px !important;
  }
}


/* v24 full post on loop pages */
.loop-post .entry-content .more-link,
.loop-post .entry-content .read-more-link {
  color: var(--ev-accent) !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

.loop-post .entry-content img,
.loop-post .entry-content .wp-block-image img,
.loop-post .entry-content .gallery img {
  max-width: 100% !important;
  height: auto !important;
}

.loop-post .entry-content iframe,
.loop-post .entry-content embed,
.loop-post .entry-content object,
.loop-post .entry-content video {
  max-width: 100% !important;
}

.loop-post .entry-content > *:last-child {
  margin-bottom: 0 !important;
}

/* v29 mobile + tablet overflow fixes */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-shell,
.content-grid,
.site-main,
.sidebar,
.content-panel,
.post-card-header,
.entry-content,
.featured-image,
.comments-area,
.sidebar .widget,
.widget-content,
.widget-inner,
.textwidget {
  min-width: 0;
  box-sizing: border-box;
}

.site-main,
.sidebar,
.content-panel,
.loop-post,
.single .content-panel,
.page .content-panel {
  overflow-wrap: anywhere;
}

.entry-content img,
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video,
.entry-content table,
.entry-content .wp-block-embed,
.entry-content .wp-block-image,
.entry-content .wp-block-gallery,
.entry-content .blocks-gallery-grid,
.entry-content .gallery,
.sidebar img,
.sidebar iframe,
.sidebar ins,
.sidebar .adsbygoogle {
  max-width: 100% !important;
}

.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video,
.sidebar iframe {
  width: auto !important;
  max-width: 100% !important;
}

.entry-content table,
.wp-block-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar .widget-content img,
.sidebar .textwidget img,
.sidebar .widget_media_image img,
.sidebar .widget_custom_html img,
.sidebar .widget_block img {
  width: auto;
  height: auto;
}

@media (max-width: 1024px) {
  .content-panel {
    overflow: hidden;
  }

  .featured-image,
  .entry-content,
  .post-card-header,
  .comments-area {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .sidebar .widget,
  .sidebar .widget-content,
  .sidebar .textwidget,
  .sidebar .widget-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .sidebar .search-form {
    flex-wrap: wrap;
  }

  .sidebar button,
  .sidebar input[type='submit'] {
    width: 100%;
  }

  .main-navigation ul,
  .main-navigation .menu {
    align-items: stretch !important;
  }

  .main-navigation li,
  .main-navigation .menu-item,
  .main-navigation .page_item {
    min-width: 0;
  }

  .entry-content .alignleft,
  .entry-content .alignright,
  .entry-content .wp-block-image .alignleft,
  .entry-content .wp-block-image .alignright {
    float: none !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .entry-content pre,
  .entry-content code {
    white-space: pre-wrap;
    word-break: break-word;
  }
}

@media (max-width: 767px) {
  .site-shell {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .content-grid {
    gap: 14px !important;
    padding-top: 14px !important;
  }

  .post-card-header,
  .featured-image,
  .entry-content,
  .comments-area,
  .single .entry-content,
  .page .entry-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .featured-image img {
    border-width: 1px !important;
  }

  .entry-content,
  .single .entry-content,
  .page .entry-content {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .entry-meta {
    row-gap: 6px !important;
    column-gap: 10px !important;
  }

  .sidebar .widget {
    padding: 12px !important;
  }

  .sidebar .widget-title,
  .sidebar .widgettitle {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .sidebar .latest-photos-grid,
  .sidebar .affiliate-grid {
    grid-template-columns: repeat(auto-fit, minmax(48px, 48px)) !important;
    gap: 6px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .sidebar .latest-photos-grid img,
  .sidebar .affiliate-grid img {
    width: 48px !important;
    height: 48px !important;
  }

  .sidebar .widget-content,
  .sidebar .widget-inner,
  .sidebar .textwidget,
  .sidebar .search-form {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }


  .main-navigation a {
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .site-branding .fansite-label {
    font-size: .82rem !important;
    letter-spacing: .18em !important;
  }

  .site-branding .archive-label {
    max-width: 220px !important;
    font-size: .62rem !important;
    letter-spacing: .16em !important;
  }

  .post-card-title {
    font-size: 1.08rem !important;
  }

  .single .entry-title,
  .page .entry-title {
    font-size: 1.4rem !important;
  }

  .sidebar .latest-photos-grid,
  .sidebar .affiliate-grid {
    grid-template-columns: repeat(auto-fit, minmax(44px, 44px)) !important;
  }

  .sidebar .latest-photos-grid img,
  .sidebar .affiliate-grid img {
    width: 44px !important;
    height: 44px !important;
  }
}


/* v30 sidebar activation patch */
.sidebar,
.sidebar .widget,
.sidebar .widget-content,
.sidebar .widget-inner,
.sidebar .textwidget,
.sidebar .widget_block {
  min-width: 0;
  box-sizing: border-box;
}

.sidebar .widget {
  overflow: visible;
}

.sidebar img,
.sidebar iframe,
.sidebar ins,
.sidebar .adsbygoogle,
.sidebar .wp-block-image img,
.sidebar .widget_media_image img,
.sidebar .widget_custom_html img,
.sidebar .textwidget img {
  max-width: 100% !important;
  height: auto !important;
}


.sidebar .affiliate-grid,
.sidebar .latest-photos-grid {
  justify-content: start;
}

.sidebar .widget + .widget {
  margin-top: 1.6rem;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: 1fr !important;
  }

  .sidebar {
    width: 100%;
  }
}


/* v33 targeted phone width fix without changing desktop/tablet layout */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
  }

  .site-shell {
    width: auto !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .content-grid,
  .site-main,
  .sidebar,
  .content-panel,
  .loop-post,
  .post-card-header,
  .featured-image,
  .entry-content,
  .single .entry-content,
  .page .entry-content,
  .comments-area {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .content-panel,
  .loop-post,
  .entry-content,
  .single .entry-content,
  .page .entry-content {
    overflow-x: hidden !important;
  }

  .post-card-header,
  .featured-image,
  .entry-content,
  .single .entry-content,
  .page .entry-content,
  .comments-area {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .entry-content,
  .single .entry-content,
  .page .entry-content {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .entry-content > *,
  .single .entry-content > *,
  .page .entry-content > *,
  .entry-content p,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .entry-content h5,
  .entry-content h6,
  .entry-content ul,
  .entry-content ol,
  .entry-content li,
  .entry-content blockquote {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .entry-content img,
  .entry-content iframe,
  .entry-content embed,
  .entry-content object,
  .entry-content video,
  .entry-content table,
  .entry-content pre,
  .entry-content .alignwide,
  .entry-content .alignfull,
  .entry-content .wp-block-image,
  .entry-content .wp-block-gallery,
  .entry-content .blocks-gallery-grid,
  .entry-content .gallery {
    max-width: 100% !important;
  }

  .entry-content pre,
  .entry-content code {
    white-space: pre-wrap !important;
    word-break: break-word !important;
  }
}

/* FIX FEATURED IMAGE GAP ON MOBILE */
@media (max-width: 767px) {

  .featured-image img {
    max-height: none !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .featured-image {
    padding-bottom: 0 !important;
    margin-bottom: 15px !important;
  }

}




/* =========================================================
   MERGED CLEAN OVERRIDES
   Combined from former Customizer CSS
   Keeps theme appearance while removing broken/conflicting bits
========================================================= */

/* full-width footer breakout */
.site-footer {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: #0a0a0a !important;
  border-top: none !important;
  padding: 40px 0 30px;
  margin-top: 60px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* related posts spacing + hover cleanup */
.jp-relatedposts,
#jp-relatedposts {
  box-sizing: border-box;
  margin-bottom: 24px !important;
}
.jp-relatedposts a:hover,
#jp-relatedposts a:hover,
.jp-relatedposts a:hover img,
#jp-relatedposts a:hover img {
  box-shadow: none !important;
}
.jp-relatedposts .jp-relatedposts-post-img img,
#jp-relatedposts .jp-relatedposts-post-img img {
  box-shadow: none !important;
}

/* footer social icons without square boxes */
.footer-social-nav,
.footer-social-menu {
  background: transparent !important;
}
.footer-social-nav .menu-item,
.footer-social-nav li,
.footer-social-menu .menu-item,
.footer-social-menu li {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.footer-social-nav .menu-item a,
.footer-social-nav .footer-social-menu a,
.footer-social-menu .menu-item a,
.footer-social-menu a {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 10px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.footer-social-nav .menu-item a::before,
.footer-social-nav .footer-social-menu a::before,
.footer-social-menu .menu-item a::before,
.footer-social-menu a::before {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ev-icon-color) !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
.footer-social-nav .menu-item a:hover,
.footer-social-nav .footer-social-menu a:hover,
.footer-social-menu .menu-item a:hover,
.footer-social-menu a:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.footer-social-nav .menu-item a:hover::before,
.footer-social-nav .footer-social-menu a:hover::before,
.footer-social-menu .menu-item a:hover::before,
.footer-social-menu a:hover::before {
  color: var(--ev-link-hover) !important;
}

/* sidebar widget spacing + cleaner lists */
.sidebar .widget {
  padding: 15px 13px 15px !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.sidebar .widget-title,
.sidebar .widgettitle {
  margin-bottom: 14px !important;
}
.sidebar .widget ul,
.sidebar .widget ol,
.sidebar ul.mndvault-video-details {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid var(--ev-list-line, #1c1c1c) !important;
}
.sidebar .widget ul li::before,
.sidebar .widget ol li::before,
.sidebar ul.mndvault-video-details li::before {
  display: none !important;
  content: none !important;
}
.sidebar .widget ul li,
.sidebar .widget ol li,
.sidebar ul.mndvault-video-details li {
  margin: 0 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--ev-list-line, #1c1c1c) !important;
  list-style: none !important;
  line-height: 1.45 !important;
}
.sidebar .widget ul li a,
.sidebar .widget ol li a,
.sidebar ul.mndvault-video-details li a {
  color: var(--ev-link) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.sidebar .widget ul li a:hover,
.sidebar .widget ol li a:hover,
.sidebar ul.mndvault-video-details li a:hover {
  color: var(--ev-link-hover) !important;
}
.sidebar .widget_recent_entries li,
.sidebar .widget_recent_comments li {
  line-height: 1.4 !important;
  letter-spacing: -0.01em !important;
}
.sidebar .widget:empty {
  display: none !important;
}

/* cookie/consent widgets */
.widget_jetpack_widget_social_icons,
.widget_jetpack_widget_blog_stats,
.widget_wpcom_social_media_icons_widget,
.widget_eu_cookie_law_widget,
.cookies-and-consents-banner,
.jetpack-cookies-banner,
#eu-cookie-law,
.jp-cookie-consent-banner {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* footer text links unaffected by icon rules */
.site-footer .footer-links a,
.site-footer .footer-bottom a,
.site-footer p a,
.site-footer .copyright a {
  font-size: inherit !important;
}
.site-footer .footer-links a::before,
.site-footer .footer-bottom a::before,
.site-footer p a::before,
.site-footer .copyright a::before {
  content: none !important;
}

/* first footer list can use icon-only links */
.site-footer ul:first-of-type > li > a {
  font-size: 0 !important;
  display: inline-block;
  margin: 0 12px;
  text-decoration: none;
  line-height: 1;
}
.site-footer ul:first-of-type > li > a::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
  color: #d61f2c;
  content: "\f0c1";
  display: inline-block;
}
.site-footer ul:first-of-type > li > a[href*="x.com"]::before,
.site-footer ul:first-of-type > li > a[href*="twitter.com"]::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\e61b";
}
.site-footer ul:first-of-type > li > a[href*="facebook.com"]::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\f39e";
}
.site-footer ul:first-of-type > li > a[href*="instagram.com"]::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\f16d";
}
.site-footer ul:first-of-type > li > a[href*="threads.com"]::before,
.site-footer ul:first-of-type > li > a[href*="threads.net"]::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\e618";
}
.site-footer ul:first-of-type > li > a[href*="bsky.app"]::before {
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  content: "\e671";
}
.site-footer ul:first-of-type > li > a[href*="linktree"]::before,
.site-footer ul:first-of-type > li > a[href*="/linktree"]::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0c1";
}
.site-footer ul:first-of-type > li > a[href*="/contact"]::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f0e0";
}
.site-footer ul:not(:first-of-type) > li > a::before {
  content: none !important;
}

/* divider lines */
.entry-content hr,
.post hr,
.page hr {
  border: none;
  height: 1px;
  background: #222;
  opacity: 1;
}

/* single/page list styling */
.single .entry-content ul,
.page .entry-content ul {
  list-style: none !important;
  margin: 1.2em 0;
  padding: 0;
}
.single .entry-content ul li,
.page .entry-content ul li {
  position: relative;
  padding: 12px 0 12px 28px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.single .entry-content ul li:last-child,
.page .entry-content ul li:last-child {
  border-bottom: none;
}
.single .entry-content li::marker,
.page .entry-content li::marker {
  content: "" !important;
}
.single .entry-content li::before,
.page .entry-content li::before {
  content: none !important;
}
.single .entry-content ul li::after,
.page .entry-content ul li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: #8a1c2c;
  box-shadow: 0 0 6px rgba(138, 28, 44, 0.5);
}

/* featured image sizing */
.featured-image {
  height: 400px;
  overflow: hidden;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .featured-image {
    height: auto !important;
    overflow: visible !important;
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
  }
  .featured-image img {
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
  }
}

/* tags hover */
.post-tags a:hover,
.tagcloud a:hover,
.entry-content .post-tags a:hover {
  color: #ffffff !important;
}

/* slightly tighter single title in header card */
.single .post-card-header .entry-title {
  font-size: 22px !important;
  line-height: 1.25;
  margin-bottom: 6px;
}

/* ad/widget safe sizing */
.sidebar .widget,
#secondary .widget,
.widget,
.sidebar .widget .textwidget,
#secondary .widget .textwidget,
#secondary .widget .custom-html-widget,
#secondary .widget .widget-content,
.widget_execphp,
.widget_execphp .execphpwidget,
.sidebar .widget_execphp,
.sidebar .widget_custom_html,
#secondary .widget_execphp,
#secondary .widget_custom_html {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.sidebar .widget img,
.sidebar .widget iframe,
.sidebar .widget ins,
.sidebar .widget .adsbygoogle,
#secondary .widget img,
#secondary .widget iframe,
#secondary .widget ins,
#secondary .widget .adsbygoogle,
.widget_execphp .adsbygoogle,
.sidebar .widget_execphp .adsbygoogle,
.sidebar .widget_custom_html .adsbygoogle,
#secondary .widget_execphp .adsbygoogle,
#secondary .widget_custom_html .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  overflow: visible !important;
}
.widget_execphp .execphpwidget {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
}
.widget_execphp {
  padding-bottom: 0 !important;
}
.widget_execphp iframe,
.sidebar .widget_execphp iframe,
.sidebar .widget_custom_html iframe,
#secondary .widget_execphp iframe,
#secondary .widget_custom_html iframe {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
ins.adsbygoogle,
.sidebar-ad,
#secondary .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

/* thumb rows */
.entry-content .thumb-row a,
.entry-content .thumb-row a:hover,
.entry-content .thumb-row a:focus,
.entry-content .thumb-row a:active {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}
.thumb-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.thumb-row a {
  display: flex;
  gap: 10px;
}
.thumb-row img {
  display: block;
  width: 90px;
  height: auto;
  border: 2px solid #222;
  transition: 0.3s;
}
.thumb-row img:hover {
  border-color: #d1264d;
}

/* loop card title box */
.post-card-header {
  background: #070707;
  border: 0 solid #111;
  padding: 16px 18px 12px;
  margin: 0 0 18px;
  box-sizing: border-box;
}
.post-card-title {
  margin: 0 0 10px !important;
  line-height: 1.08;
}
.post-card-title a {
  display: inline-block;
  color: #f2f2f2;
  text-decoration: none;
}
.post-card-title a:hover {
  color: #cfcfcf;
}
.post-card-header .entry-meta {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #141414;
}
.content-panel.loop-post .featured-image {
  margin-top: 0;
}
.content-panel.loop-post .entry-content {
  margin-top: 18px;
}

/* linkbank cleanup */
a[href*="downloads"] img,
a.linkbank img,
.linkbank-wrap .linkbank img {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
a.linkbank img {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}
.linkbank-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  text-align: center !important;
}
.linkbank-wrap .linkbank {
  display: inline-block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  text-decoration: none !important;
  line-height: 0 !important;
}
.linkbank-wrap .linkbank:hover,
.linkbank-wrap .linkbank:focus,
.linkbank-wrap .linkbank:active,
.linkbank-wrap .linkbank:hover img,
.linkbank-wrap .linkbank:focus img,
.linkbank-wrap .linkbank:active img {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  opacity: 1 !important;
}

/* custom related posts */
.custom-related-posts,
.custom-related-posts * {
  box-sizing: border-box !important;
}
.custom-related-posts {
  margin-top: 30px !important;
  padding: 18px 22px 16px !important;
  background: #0d0d0d !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}
.custom-related-posts h3,
.custom-related-posts .related-title,
.custom-related-posts > h3 {
  display: inline-block !important;
  margin: 0 0 18px !important;
  padding: 3px 10px 4px !important;
  background: #000 !important;
  border-left: 3px solid #c51616 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.custom-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}
.custom-related-item,
.custom-related-item:hover,
.custom-related-item:focus,
.custom-related-item:active {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}
.custom-related-item a,
.custom-related-item a:link,
.custom-related-item a:visited,
.custom-related-item a:hover,
.custom-related-item a:focus,
.custom-related-item a:active {
  display: block !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  transition: none !important;
}
.custom-related-item a::before,
.custom-related-item a::after,
.custom-related-item::before,
.custom-related-item::after,
.custom-related-thumb::before,
.custom-related-thumb::after,
.custom-related-posts a::before,
.custom-related-posts a::after {
  content: none !important;
  display: none !important;
}
.custom-related-thumb,
.custom-related-thumb:hover,
.custom-related-item:hover .custom-related-thumb,
.custom-related-item a:hover .custom-related-thumb,
.custom-related-item a:focus .custom-related-thumb {
  margin: 0 0 12px !important;
  overflow: hidden !important;
  background: #111 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}
.custom-related-thumb img,
.custom-related-thumb img:hover,
.custom-related-item:hover .custom-related-thumb img,
.custom-related-item a:hover .custom-related-thumb img,
.custom-related-item a:focus .custom-related-thumb img,
.custom-related-posts img,
.custom-related-posts img:hover {
  display: block !important;
  width: 100% !important;
  height: 150px !important;
  object-fit: cover !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  scale: 1 !important;
  transition: none !important;
}
.custom-related-item h4,
.custom-related-item h4 a,
.custom-related-item a h4,
.custom-related-item a:hover h4,
.custom-related-item a:focus h4,
.custom-related-item a:active h4,
.custom-related-posts h4 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}
.custom-related-meta,
.custom-related-meta span,
.custom-related-meta div,
.custom-related-meta p {
  margin: 0 !important;
  padding: 0 !important;
  color: #8a8a8a !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}
.custom-related-posts *:hover,
.custom-related-posts *:focus,
.custom-related-posts *:active {
  box-shadow: none !important;
  outline: none !important;
}
.content-panel .custom-related-posts,
.content-panel .custom-related-posts * {
  transition: none !important;
  animation: none !important;
}
.content-panel .custom-related-posts a,
.content-panel .custom-related-posts a:hover,
.content-panel .custom-related-posts a:focus,
.content-panel .custom-related-posts a:active,
.content-panel .custom-related-posts article,
.content-panel .custom-related-posts article:hover,
.content-panel .custom-related-posts .custom-related-item,
.content-panel .custom-related-posts .custom-related-item:hover,
.content-panel .custom-related-posts .custom-related-thumb,
.content-panel .custom-related-posts .custom-related-thumb:hover,
.content-panel .custom-related-posts img,
.content-panel .custom-related-posts img:hover,
.content-panel .custom-related-posts a:hover img,
.content-panel .custom-related-posts a:focus img,
.content-panel .custom-related-posts .custom-related-item:hover img,
.content-panel .custom-related-posts .custom-related-thumb:hover img {
  transform: none !important;
  scale: 1 !important;
  translate: none !important;
  rotate: none !important;
  filter: none !important;
  opacity: 1 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: none !important;
  animation: none !important;
}
.content-panel .custom-related-posts a::before,
.content-panel .custom-related-posts a::after,
.content-panel .custom-related-posts .custom-related-item::before,
.content-panel .custom-related-posts .custom-related-item::after,
.content-panel .custom-related-posts .custom-related-thumb::before,
.content-panel .custom-related-posts .custom-related-thumb::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 900px) {
  .custom-related-grid {
    grid-template-columns: 1fr !important;
  }
  .custom-related-thumb img {
    height: auto !important;
  }
}

/* archives dropdown */
.widget_archive {
  text-align: center;
  padding: 10px 0 20px;
}
.widget_archive select {
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #8b0000;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  min-width: 160px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.widget_archive select:hover,
.widget_archive select:focus {
  border-color: #ff2a2a;
  box-shadow: 0 0 8px rgba(255, 42, 42, 0.6);
}
.widget_archive option {
  background: #111;
  color: #fff;
}

/* Tour Dates widget cleanup */
.tdm-tour-widget-list {
  background: #030303 !important;
  margin: 0 !important;
  padding: 10px !important;
  list-style: none !important;
}
.tdm-tour-widget-list li {
  display: block !important;
  list-style: none !important;
  margin: 0 0 10px 0 !important;
  padding: 15px 16px !important;
  border-bottom: 1px solid #1a1a1a !important;
  box-sizing: border-box !important;
}
.tdm-tour-widget-list li:nth-child(odd) { background: #000 !important; }
.tdm-tour-widget-list li:nth-child(even) { background: #030303 !important; }
.tdm-tour-widget-list li::before,
.tdm-tour-widget-list li::marker {
  content: none !important;
  display: none !important;
}
.tdm-tour-widget-list .tdm-date {
  display: block !important;
  margin: 0 0 6px 0 !important;
  padding: 0 0 0 9px !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-align: left !important;
}
.tdm-tour-widget-list .tdm-venue {
  display: block !important;
  margin: 0 0 12px 0 !important;
  padding: 0 0 0 9px !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  text-align: left !important;
}
.tdm-tour-widget-list .tdm-tickets {
  display: block !important;
  margin: 0 !important;
  padding: 0 10px 0 10px !important;
  text-align: right !important;
}
.tdm-tour-widget-list .tdm-tickets a {
  display: inline-block !important;
  background: #ff0000 !important;
  border: 1px solid #ff0000 !important;
  color: #fff !important;
  padding: 5px 10px !important;
  border-radius: 3px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}
.tdm-tour-widget-list .tdm-tickets a:hover {
  background: #cc0000 !important;
  border-color: #cc0000 !important;
  color: #fff !important;
}
.tdm-tour-widget-list .tdm-date,
.tdm-tour-widget-list .tdm-venue,
.tdm-tour-widget-list .tdm-tickets,
.tdm-tour-widget-list .tdm-tickets a {
  margin-left: 0 !important;
  text-indent: 0 !important;
  left: auto !important;
  position: static !important;
}

/* mobile single-column support from old customizer */
@media (max-width: 900px) {
  .content-area,
  .site-content,
  .main-content,
  .content-wrap,
  .container,
  .inner,
  .page-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .site-main,
  .content-area,
  .main-area {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #secondary,
  .sidebar,
  aside.sidebar {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px 0 0 !important;
    clear: both !important;
  }
  article,
  .post,
  .entry,
  .entry-content,
  .post-thumbnail,
  .featured-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
  .entry-content p,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4,
  .entry-content li,
  .entry-content blockquote {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  .entry-content img,
  .post-thumbnail img,
  .featured-image img,
  iframe,
  embed,
  object,
  video {
    max-width: 100% !important;
    height: auto !important;
  }
  .sidebar .widget,
  .widget {
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* RESTORE JETPACK LIKE BUTTON */
.sharedaddy.sd-like,
.jetpack-likes-widget-wrapper,
.sd-like {
  display: block !important;
  margin: 18px 0 12px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  min-height: 55px !important;
  overflow: visible !important;
  background: transparent !important;
}

.sharedaddy.sd-like .likes-widget-placeholder,
.jetpack-likes-widget-placeholder,
.post-likes-widget-placeholder {
  height: 55px !important;
  min-height: 55px !important;
  background: transparent !important;
  overflow: visible !important;
}

.sharedaddy.sd-like iframe,
.jetpack-likes-widget-wrapper iframe,
.sd-like iframe,
iframe.jetpack-likes-widget {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 55px !important;
  overflow: visible !important;
  vertical-align: middle !important;
  background: transparent !important;
  border: 0 !important;
}

.sharedaddy.sd-like .sd-title,
.sharedaddy.sd-like h3.sd-title,
.sharedaddy .sd-title,
.sharedaddy h3.sd-title {
  display: inline-block !important;
  margin: 0 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.2 !important;
}

.sharedaddy.sd-like .sd-text-color,
.sharedaddy.sd-like .sd-link-color {
  display: inline !important;
}

/* =========================
   ADSENSE FIX (DO NOT TOUCH OTHER STYLES)
========================= */

/* 1. Make sidebar wide enough for Google ads */
:root {
  --ev-sidebar-width: 372px;
}

/* 2. STOP clipping ads */
.sidebar .widget {
  overflow: visible !important;
}

/* 3. STOP forcing iframe to stretch wrong */
.sidebar iframe {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* 4. FIX Adsense containers */
.sidebar ins,
.sidebar .adsbygoogle,
.sidebar ins.adsbygoogle {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* 5. OVERRIDE your theme's broken rule */
.sidebar .widget iframe,
.sidebar .widget ins,
.sidebar .widget .adsbygoogle {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* ===== FINAL ADS FIX ===== */

/* sidebar width must match the ad */
:root {
  --ev-sidebar-width: 372px !important;
}

.content-grid {
  grid-template-columns: minmax(0,1fr) var(--ev-sidebar-width) !important;
}

/* never clip ad widgets */
.sidebar,
#secondary,
.sidebar .widget,
#secondary .widget,
.widget,
.widget_execphp,
.widget_execphp .execphpwidget,
.sidebar .widget_execphp,
.sidebar .widget_custom_html,
#secondary .widget_execphp,
#secondary .widget_custom_html,
.sidebar .widget .textwidget,
#secondary .widget .textwidget,
#secondary .widget .custom-html-widget,
#secondary .widget .widget-content {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

/* stop forcing ads and iframes to fake 100% widths */
.sidebar iframe,
#secondary iframe,
.widget_execphp iframe,
.sidebar .widget_execphp iframe,
.sidebar .widget_custom_html iframe,
#secondary .widget_execphp iframe,
#secondary .widget_custom_html iframe,
.sidebar ins,
#secondary ins,
.sidebar .adsbygoogle,
#secondary .adsbygoogle,
.sidebar ins.adsbygoogle,
#secondary ins.adsbygoogle,
ins.adsbygoogle,
.sidebar-ad {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

/* cancel the theme rules that keep breaking the ad */
.sidebar .widget iframe,
.sidebar .widget ins,
.sidebar .widget .adsbygoogle,
#secondary .widget iframe,
#secondary .widget ins,
#secondary .widget .adsbygoogle,
.widget_execphp .adsbygoogle,
.sidebar .widget_execphp .adsbygoogle,
.sidebar .widget_custom_html .adsbygoogle,
#secondary .widget_execphp .adsbygoogle,
#secondary .widget_custom_html .adsbygoogle {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
}

/* leave images alone */
.sidebar .widget img,
#secondary .widget img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: 1fr !important;
  }

  .sidebar,
  #secondary {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .sidebar .widget iframe,
  .sidebar .widget ins,
  .sidebar .widget .adsbygoogle,
  #secondary .widget iframe,
  #secondary .widget ins,
  #secondary .widget .adsbygoogle {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
}
/* ===== ADS HEIGHT FIX ===== */

/* let Google keep its own height */
.sidebar iframe,
.sidebar ins,
.sidebar .adsbygoogle,
.sidebar ins.adsbygoogle,
.sidebar .widget iframe,
.sidebar .widget ins,
.sidebar .widget .adsbygoogle {
  height: unset !important;
  min-height: unset !important;
  max-height: none !important;
  overflow: visible !important;
}

/* do not clip the widget vertically */
.sidebar,
.sidebar .widget,
.sidebar .widget-content,
.sidebar .widget-inner,
.sidebar .textwidget,
.sidebar .widget_custom_html,
.sidebar .widget_execphp,
.sidebar .widget_text,
.sidebar .widget_media_code {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

/* specifically stop iframe height forcing */
.sidebar iframe {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
}

/* ===== FINAL ADSENSE HEIGHT PATCH ===== */
/* tailored to the current sidebar ad that is being clipped at the bottom */
.sidebar .widget,
.sidebar .widget-content,
.sidebar .widget-inner,
.sidebar .textwidget,
.sidebar .widget_custom_html,
.sidebar .widget_text,
.sidebar .widget_block {
  overflow: visible !important;
  max-height: none !important;
}

/* let Google keep its own height instead of collapsing to auto */
.sidebar ins.adsbygoogle,
.sidebar .adsbygoogle,
.sidebar iframe,
.sidebar .widget iframe,
.sidebar .widget ins,
.sidebar .widget .adsbygoogle {
  height: unset !important;
  min-height: unset !important;
  max-height: none !important;
  overflow: visible !important;
}

/* target actual Google ad frames/wrappers */
.sidebar iframe[id^="aswift_"],
.sidebar iframe[id^="google_ads_iframe"],
.sidebar iframe[src*="doubleclick"],
.sidebar iframe[src*="googlesyndication"],
.sidebar ins.adsbygoogle[data-ad-status],
.sidebar .adsbygoogle[data-ad-status] {
  display: block !important;
  height: 336px !important;
  min-height: 336px !important;
  max-height: none !important;
  overflow: visible !important;
}

/* keep mobile behavior separate */
@media (max-width: 767px) {
  .sidebar iframe[id^="aswift_"],
  .sidebar iframe[id^="google_ads_iframe"],
  .sidebar iframe[src*="doubleclick"],
  .sidebar iframe[src*="googlesyndication"],
  .sidebar ins.adsbygoogle[data-ad-status],
  .sidebar .adsbygoogle[data-ad-status] {
    height: auto !important;
    min-height: 250px !important;
    max-width: 100% !important;
  }
}

.top-ad {
    width: 100%;
    margin: 0 0 20px 0;
}

.top-ad-box {
    width: 728px;
    max-width: 100%;
    margin: 0 auto;
}

.top-ad-box .adsbygoogle {
    display: block !important;
    margin: 0 auto !important;
}

.top-ad {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.top-ad-unit,
.top-ad .adsbygoogle {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .top-ad {
        margin: 0 0 6px 0 !important;
    }

    .site-header,
    .site-branding,
    .site-title {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* =============================================
   GOOGLE ADSENSE / AD WIDGET FIX - FINAL OVERRIDE
   Put this at the VERY END of your style.css
   ============================================= */

.content-panel {
    overflow: visible !important;           /* Most important fix */
    overflow-x: visible !important;
}

.sidebar .widget,
#secondary .widget,
.widget {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

/* Target the actual Google ad containers */
.sidebar ins.adsbygoogle,
.sidebar .adsbygoogle,
ins.adsbygoogle,
.sidebar iframe[id^="aswift_"],
.sidebar iframe[id^="google_ads_iframe"],
.sidebar iframe[src*="googlesyndication"] {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 250px !important;   /* safe minimum */
    overflow: visible !important;
    box-sizing: content-box !important;
}

/* Make sure the sidebar itself never clips */
.sidebar,
#secondary {
    overflow: visible !important;
}

/* Extra safety for ad widgets */
.widget_execphp,
.widget_custom_html,
.widget_text,
.textwidget {
    overflow: visible !important;
}

.sidebar .widget-content,
.sidebar .widget-inner,
.sidebar .textwidget {
    overflow: visible !important;
}

.entry-content .embed-youtube,
.entry-content .embed-youtube iframe,
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtu.be"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 auto !important;
}

.pagination-wrap .current,
.pagination-wrap .page-numbers:hover {
  background: linear-gradient(to bottom,#ff4d4d,#b31212);
}

/* GOOGLE ADS FULL HEIGHT FIX */

.sidebar,
#secondary,
.sidebar .widget,
#secondary .widget,
.widget,
.widget_execphp,
.widget_custom_html,
.textwidget,
.widget-content,
.widget-inner {
  overflow: visible !important;
  max-height: none !important;
}

/* Adsense container */
ins.adsbygoogle,
.sidebar ins.adsbygoogle,
#secondary ins.adsbygoogle,
.sidebar .adsbygoogle,
#secondary .adsbygoogle {
  display: block !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Google iframe (the actual ad) */
iframe[id^="aswift_"],
iframe[id^="google_ads_iframe"] {
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}