/* Brand Site Polish — typography, logo, cards, reserved ad slots */
.bsp-ad-slot{
  margin:16px auto;
  border:1px dashed #C9C3B8;
  background:#F6F3EE;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#8A8580;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-align:center;
  box-sizing:border-box;
}
.bsp-ad-slot .bsp-ad-label{font-weight:600}
.bsp-ad-slot .bsp-ad-note{
  font-size:12px;
  letter-spacing:0;
  text-transform:none;
  margin-top:4px;
  color:#A39E97;
}
.bsp-ad-header{max-width:728px;min-height:90px;margin:16px auto 8px}
.bsp-ad-in{min-height:90px;margin:28px 0;max-width:100%}
.bsp-ad-after{min-height:90px;margin:28px 0 8px;max-width:100%}
.bsp-ad-side{min-height:250px;width:100%;max-width:300px}
.bsp-ad-home{
  max-width:100%;
  min-height:0;
  margin:8px 0 20px;
  padding:12px 16px;
  border-style:solid;
  border-color:#E4DFD6;
  background:transparent;
  flex-direction:row;
  flex-wrap:wrap;
  gap:8px;
  letter-spacing:.08em;
}
.bsp-article-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:40px;
  align-items:start;
}
.bsp-article-aside{position:sticky;top:16px}
@media(max-width:900px){
  .bsp-article-layout{grid-template-columns:1fr}
  .bsp-article-aside{position:static;margin-top:24px}
  .bsp-ad-side{max-width:100%}
}

/* Logo: use the tight wordmark at a professional header height */
.site-logo-container img,
.custom-logo,
.site-branding img.default-logo,
.site-branding img.custom-logo,
.brand img.custom-logo{
  max-height:48px !important;
  width:auto !important;
  height:48px !important;
  object-fit:contain !important;
  max-width:240px !important;
}
/* Hide duplicate site title next to / under the wordmark */
.site-title-container,
.site-branding .site-title-wrap,
.site-branding .site-title,
.brand .site-title-wrap{
  display:none !important;
}

/* Archive / card featured images: consistent 16:9 crop, do not stretch */
.bsp-card .bsp-thumb,
body.home .entry-card .ct-media-container,
body.blog .entry-card .ct-media-container,
body.archive .entry-card .ct-media-container,
body.home .entry-content-wrap .post-thumbnail,
body.blog .post-thumbnail,
.wp-block-latest-posts img{
  aspect-ratio:16/9 !important;
  overflow:hidden;
}
.bsp-card .bsp-thumb img,
body.home .entry-card img.wp-post-image,
body.blog .entry-card img.wp-post-image,
body.archive .entry-card img.wp-post-image,
body.home .post-thumbnail img,
body.blog .post-thumbnail img,
body.single .bsp-featured img,
body.single .post-top-featured img,
body.single .entry-hero img,
body.single img.wp-post-image{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  aspect-ratio:16/9;
}
body.single .post-top-featured,
body.single .bsp-featured,
body.single .entry-hero .post-thumbnail{
  aspect-ratio:16/9;
  overflow:hidden;
  max-height:none !important;
}

/* Homepage */
.bsp-home{font-family:inherit;color:inherit}
.bsp-hero{padding:28px 0 24px}
.bsp-hero-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:28px;
  align-items:center;
}
.bsp-feature{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  overflow:hidden;
}
.bsp-feature .bsp-thumb{aspect-ratio:16/9;overflow:hidden;background:#ddd;border-radius:0}
.bsp-feature .bsp-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.bsp-feature-body{padding:14px 16px 16px}
.bsp-feature h2{
  font-family:var(--bsp-heading,Georgia,serif);
  font-size:22px;
  line-height:1.3;
  margin:0 0 8px;
  font-weight:650;
}
.bsp-feature p{margin:0;font-size:14px;line-height:1.5;opacity:.75}
.bsp-feature .bsp-by{margin-top:10px;font-size:13px;opacity:.65}
.bsp-hero h1{
  font-family:var(--bsp-heading,Georgia,serif);
  font-size:42px;
  line-height:1.2;
  font-weight:650;
  margin:0 0 8px;
}
.bsp-hero .bsp-tag{
  font-family:var(--bsp-heading,Georgia,serif);
  font-style:italic;
  font-size:20px;
  margin:0 0 16px;
}
.bsp-hero p{max-width:640px;margin:0;font-size:17px;line-height:1.6;opacity:.85}
.bsp-sec{padding:16px 0 28px}
.bsp-sec h2{
  font-family:var(--bsp-heading,Georgia,serif);
  font-size:26px;
  margin:0 0 20px;
  font-weight:650;
}
.bsp-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.bsp-cat{
  display:block;
  text-decoration:none;
  color:inherit;
  border:1px solid rgba(0,0,0,.08);
  border-radius:10px;
  padding:18px;
  background:rgba(0,0,0,.02);
}
.bsp-cat:hover{border-color:currentColor}
.bsp-cat strong{display:block;font-size:16px}
.bsp-cat em{display:block;font-style:normal;opacity:.7;font-size:13px;margin-top:4px}
.bsp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.bsp-card{display:block;text-decoration:none;color:inherit}
.bsp-thumb{aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#ddd}
.bsp-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.bsp-card .bsp-meta{
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:700;
  margin:12px 0 6px;
  opacity:.85;
}
.bsp-card h3{
  font-family:var(--bsp-heading,Georgia,serif);
  font-size:19px;
  line-height:1.3;
  margin:0 0 8px;
  font-weight:650;
}
.bsp-card p{margin:0;font-size:14px;opacity:.75;line-height:1.5}
.bsp-card .bsp-by{margin-top:10px;font-size:13px;opacity:.65}
@media(max-width:800px){
  .bsp-cats,.bsp-grid{grid-template-columns:1fr 1fr}
  .bsp-hero-split{grid-template-columns:1fr;gap:18px}
  .bsp-hero h1{font-size:32px}
}

/* Brand palettes */
body.bsp-brand-fursift{
  --bsp-heading:"Literata",Georgia,serif;
  --bsp-teal:#1B5E4A;
  --bsp-teal-dark:#123F32;
}
body.bsp-brand-fursift .bsp-hero h1,
body.bsp-brand-fursift .bsp-sec h2{color:#123F32}
body.bsp-brand-fursift .bsp-hero .bsp-tag,
body.bsp-brand-fursift .bsp-card .bsp-meta{color:#1B5E4A}
body.bsp-brand-fursift .bsp-hero{background:#F7F4EF;margin:0 -24px;padding-left:24px;padding-right:24px}
body.bsp-brand-fursift .bsp-cat{background:#F7F4EF;border-color:#E4DDD3;border-radius:10px}
body.bsp-brand-homerivr{
  --bsp-heading:"Source Serif 4",Georgia,serif;
  --bsp-sage:#6F8458;
  --bsp-sage-dark:#4E5F3E;
}
body.bsp-brand-homerivr .bsp-hero h1,
body.bsp-brand-homerivr .bsp-sec h2{color:#2F2F2F}
body.bsp-brand-homerivr .bsp-hero .bsp-tag,
body.bsp-brand-homerivr .bsp-card .bsp-meta{color:#4E5F3E}
body.bsp-brand-homerivr .bsp-hero{background:#F4F1EB;margin:0 -24px;padding-left:24px;padding-right:24px}
body.bsp-brand-homerivr .bsp-cat{background:#fff;border-color:#E4DFD6;border-radius:4px}
body.bsp-brand-homerivr .bsp-thumb{border-radius:0}

/* Tighter header spacing */
.ct-header .ct-container,
#masthead .site-header-inner-wrap{align-items:center}

/* Hide the static front page's default "Home" heading; the brand hero is the visible H1 */
body.home .hero-section[data-type="type-1"],
body.home .entry-hero,
body.home header.entry-header.page-title {
  display: none !important;
}


/* Homepage: no empty leaderboard under the header; tighten first screen */
body.home .bsp-header-ad-wrap,
body.page-template-default.home .bsp-header-ad-wrap{
  display:none !important;
}
body.home #main,
body.home .content-area,
body.home .ct-container-full,
body.home .entry-content{
  padding-top:0 !important;
}
body.home .entry-content > .bsp-home{margin-top:0}
body.bsp-brand-fursift .bsp-hero,
body.bsp-brand-homerivr .bsp-hero{
  margin-top:0;
  padding-top:28px;
  padding-bottom:24px;
}
body.bsp-brand-fursift .bsp-feature{border-color:#E4DDD3}
body.bsp-brand-homerivr .bsp-feature{border-color:#E4DFD6;border-radius:4px}

/* Hide Hostinger Agent floating button on the frontend only (this file is not loaded in wp-admin). */
[class*="hostinger-agent"],
[id*="hostinger-agent"],
[class*="hostinger-ai-assistant"],
[id*="hostinger-ai-assistant"],
[class*="hst-agent"],
[id*="hst-agent"],
[data-hostinger-agent],
hostinger-agent,
hostinger-ai-assistant,
#hostinger-chatbot-container,
iframe[src*="hostinger"][src*="agent"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
