/*
Theme Name: Blood Estate
Template: twentytwentyfive
Version: 1.0.0
Author: Julius Doogan
*/

@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,700;1,400&family=Share+Tech+Mono&family=IM+Fell+English:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  font-size: 14px;
  color: #f0ede8;
  background: #1a1f0f;
  overflow-x: hidden;
}

a { color: #c8d8a0; text-decoration: underline; }
a:hover { color: #fff; }

/* BACKGROUND */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 8, 0.65);
  z-index: 1;
  pointer-events: none;
}
.be-scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,10,0,0.04) 3px, rgba(0,10,0,0.04) 6px);
  z-index: 2;
  pointer-events: none;
}

/* HIDE PARENT THEME */
.wp-site-blocks, .site-content, .entry-content,
.wp-block-template-part, header.wp-block-template-part,
footer.wp-block-template-part, .site-header, .site-footer {
  all: unset; display: block;
}

/* PAGE */
.be-page {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* MARQUEE */
.be-marquees { margin-bottom: 0; }
.be-mbar {
  padding: 4px 0;
  font-size: 10px;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 2px;
  opacity: 0.5;
  color: #c8d8a0;
}
.be-ticker { display: inline-block; animation: be-tick 28s linear infinite; padding-right: 60px; }
.be-ticker-rev { display: inline-block; animation: be-tick 36s linear infinite reverse; padding-right: 60px; }
.be-ticker-slow { display: inline-block; animation: be-tick 48s linear infinite; padding-right: 60px; }
@keyframes be-tick { 0% { transform: translateX(100vw); } 100% { transform: translateX(-100%); } }

/* HEADER */
.be-header {
  background: rgba(10, 15, 5, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 180, 80, 0.2);
  padding: 16px;
}
.be-site-name {
  font-family: 'Alegreya', serif;
  font-size: 28px;
  color: #e8f0d0;
  margin-bottom: 3px;
}
.be-site-handle {
  font-size: 10px;
  color: rgba(180, 210, 120, 0.5);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.be-online { font-size: 9px; color: #88cc66; letter-spacing: 1px; }
.be-online::before { content: '● '; }

/* NAV */
.be-nav {
  background: rgba(8, 12, 4, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(140, 180, 80, 0.15);
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 0;
}
.be-nav a { color: #a8c870; text-decoration: none; }
.be-nav a:hover { color: #fff; text-decoration: underline; }

/* CONTENT AREA */
.be-content { padding: 28px 16px 0; }

/* SECTION HEADING */
.be-sh {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(180, 210, 120, 0.45);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(140, 180, 80, 0.15);
}

/* TWO COL */
.be-two-col {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

/* META */
.be-meta { font-size: 11px; color: rgba(200, 220, 160, 0.5); margin-bottom: 5px; }
.be-meta span { color: #d8eaaa; }
.be-np { font-size: 11px; color: rgba(180, 210, 120, 0.4); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(140, 180, 80, 0.12); }
.be-np span { color: #c8e090; font-family: 'IM Fell English', serif; font-size: 12px; }
.be-about-text { font-size: 12px; color: #d0e0b0; line-height: 1.8; margin-bottom: 8px; }
.be-read-more { font-size: 10px; color: #a8c870; text-decoration: underline; }

/* POSTS */
.be-post-item { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(140, 180, 80, 0.12); }
.be-post-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.be-post-date { font-size: 10px; color: rgba(180, 210, 120, 0.38); letter-spacing: 1.5px; margin-bottom: 5px; }
.be-post-title-lg { font-family: 'IM Fell English', Georgia, serif; font-size: 22px; color: #e8f0d0; text-decoration: none; display: block; margin-bottom: 10px; line-height: 1.3; }
.be-post-title-lg:hover { color: #fff; }
.be-post-title { font-family: 'IM Fell English', Georgia, serif; font-size: 17px; color: #e8f0d0; text-decoration: none; display: block; margin-bottom: 6px; line-height: 1.3; }
.be-post-title:hover { color: #fff; }
.be-post-exc { font-size: 12px; color: #b0c890; line-height: 1.75; margin-bottom: 8px; }
.be-post-img { width: 100%; max-height: 300px; object-fit: cover; margin-bottom: 10px; display: block; }
.be-tag { display: inline-block; font-size: 9px; color: rgba(160, 200, 100, 0.55); border: 1px solid rgba(140, 180, 80, 0.2); padding: 1px 6px; margin-right: 4px; text-decoration: none; }
.be-tag:hover { color: #c8d8a0; }
.be-vid-wrap { margin: 8px 0; }
.be-vid-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: none; }
.be-secondary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

/* BOTTOM ROW */
.be-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.be-bottom-section h3 { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: rgba(180, 210, 120, 0.45); margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(140, 180, 80, 0.15); font-weight: normal; }
.be-action-text { font-size: 12px; color: #b0c890; line-height: 1.9; }
.be-action-text a { color: #a8c870; }

/* BANDSINTOWN; feed from bands in town acc */
.be-bandsintown-wrap .bit-powered-by,
.be-bandsintown-wrap [class*="powered"] { display: none !important; }
.be-bandsintown-wrap { font-size: 12px; color: #b0c890; }

/* FOOTER */
.be-footer-wrap {
  padding-top: 24px;
  border-top: 1px solid rgba(140, 180, 80, 0.12);
  margin-top: 8px;
}
.be-footer-about { font-size: 11px; color: rgba(180, 210, 120, 0.45); line-height: 1.7; margin-bottom: 10px; }
.be-enter-btn { font-size: 10px; color: rgba(200, 220, 160, 0.55); text-decoration: underline; letter-spacing: 2px; }
.be-footer { font-size: 10px; color: rgba(120, 190, 80, 0.35); letter-spacing: 2px; margin-top: 10px; }

/* INNER PAGES */
.be-page-wrap { max-width: 720px; margin: 0 auto; padding: 32px 16px 60px; position: relative; z-index: 10; }
.be-back { font-size: 10px; color: rgba(160, 200, 100, 0.48); letter-spacing: 1px; text-decoration: none; display: block; margin-bottom: 20px; }
.be-back:hover { color: #a8c870; }
.be-page-title { font-family: 'Alegreya', serif; font-size: 26px; color: #026633; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(140, 180, 80, 0.15); }
.be-page-content { font-size: 14px; color: #c0d4a0; line-height: 1.9; }
.be-page-content p { margin-bottom: 14px; }
.be-page-content h2, .be-page-content h3 { font-family: 'IM Fell English', Georgia, serif; color: #e0ecc0; margin: 18px 0 8px; }
.be-page-content a { color: #a8c870; }

/* ARCHIVE */
.be-archive-item { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(140, 180, 80, 0.12); }
.be-archive-item:last-child { border-bottom: none; }

/* RESPONSIVE */
@media (max-width: 640px) {
  .be-two-col { grid-template-columns: 1fr; gap: 20px; }
  .be-secondary-grid { grid-template-columns: 1fr; }
  .be-bottom-row { grid-template-columns: 1fr; }
}

/* V14 HOMEPAGE */

/* Header bio — first paragraph of About, sits under handle */
.be-header-bio {
  font-size: 12px;
  color: rgba(200, 220, 160, 0.6);
  line-height: 1.75;
  margin-top: 10px;
  max-width: 600px;
}

/* Section wrapper — consistent spacing between all homepage blocks */
.be-section {
  padding: 28px 16px;
  border-bottom: 1px solid rgba(140, 180, 80, 0.12);
}
.be-section:last-of-type {
  border-bottom: none;
}

/* Featured video — full width, responsive */
.be-featured-video iframe,
.be-featured-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}
.be-featured-video .wp-block-embed,
.be-featured-video .wp-block-embed__wrapper {
  margin: 0;
}
/* Strip WordPress embed margins */
.be-featured-video figure { margin: 0; }

/* Merch embed wrapper */
.be-merch-wrap iframe {
  width: 100%;
  border: none;
  display: block;
}

/* Shows — no-shows nudge hidden by default, shown via JS if Bandsintown is empty */
.be-no-shows-nudge {
  display: none;
  font-size: 11px;
  color: rgba(180, 210, 120, 0.4);
  font-style: italic;
  letter-spacing: 1px;
  padding-top: 6px;
}
.be-no-shows-nudge a {
  color: rgba(180, 210, 120, 0.55);
}

@media (max-width: 640px) {
  .be-section { padding: 20px 14px; }
  .be-header-bio { font-size: 11px; }
}

/* PROFILE PHOTO IN HEADER */
.be-header-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.be-profile-photo-wrap { flex-shrink: 0; }
.be-profile-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid rgba(140, 180, 80, 0.25);
  display: block;
}
.be-header-text { flex: 1; min-width: 0; }

/* SOCIAL ICONS IN HEADER */
.be-header-social { margin-top: 10px; }
.be-header-social .wpzoom-social-icons-widget,
.be-header-social ul { margin: 0 !important; padding: 0 !important; }
.be-header-social .wpzoom-social-icons-widget li { display: inline-block !important; margin-right: 6px !important; }
.be-header-social img,
.be-header-social svg { width: 18px !important; height: 18px !important; opacity: 0.7; transition: opacity 0.2s; }
.be-header-social a:hover img,
.be-header-social a:hover svg { opacity: 1; }

/* NAV SUB-ITEMS */
.be-nav-parent { display: inline; }
.be-nav-sub-wrap { font-size: 10px; color: rgba(140, 180, 80, 0.45); letter-spacing: 0.5px; }
.be-nav-sub { color: rgba(160, 200, 100, 0.55) !important; font-size: 10px; text-decoration: none !important; letter-spacing: 0.5px; }
.be-nav-sub:hover { color: #c8d8a0 !important; }

/* SITE FOOTER */
.be-site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 16px;
  border-top: 1px solid rgba(140, 180, 80, 0.1);
}
.be-footer-about-link { font-size: 10px; color: rgba(160, 200, 100, 0.35); text-decoration: none; letter-spacing: 2px; }
.be-footer-about-link:hover { color: rgba(160, 200, 100, 0.7); }

@media (max-width: 640px) {
  .be-header-inner { gap: 12px; }
  .be-profile-photo { width: 60px; height: 60px; }
}
