/* WordPress.com Hever theme — faithful replica */
:root {
  --wp-accent: #c30005;
  --wp-accent-hover: #a00004;
  --wp-dark: #1e1e1e;
  --wp-gray: #767676;
  --wp-light-gray: #eee;
  --wp-border: #ddd;
  --wp-bg: #fff;
  --wp-text: #333;
  --wp-link: #c30005;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; -webkit-font-smoothing: antialiased; }

body {
  font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--wp-text);
  background: var(--wp-bg);
  line-height: 1.8;
}

a { color: var(--wp-link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   WordPress.com Top Promo Banner (sticky)
   ======================================== */
.wp-promo-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--wp-bg);
  border-bottom: 1px solid var(--wp-border);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.875rem;
  color: var(--wp-dark);
}

.wp-promo-bar svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.wp-promo-bar span {
  color: #444;
}

.wp-promo-bar a {
  display: inline-block;
  background: var(--wp-dark);
  color: #fff;
  padding: 5px 16px;
  border-radius: 3px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.wp-promo-bar a:hover {
  background: #333;
  text-decoration: none;
}

/* ========================================
   Site Header (Hever style)
   ======================================== */
.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-branding {
  flex-shrink: 0;
}

.site-title {
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--wp-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.site-title a { color: var(--wp-dark); text-decoration: none; }
.site-title a:hover { color: var(--wp-accent); text-decoration: none; }

.site-title-accent {
  display: block;
  width: 100%;
  max-width: 260px;
  height: 3px;
  background: var(--wp-accent);
  margin-top: 6px;
}

/* Navigation — Hever style */
.main-navigation {
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wp-dark);
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu .current > a {
  color: var(--wp-accent);
  text-decoration: none;
}

.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  min-width: 260px;
  z-index: 100;
  list-style: none;
  padding: 6px 0;
}

.nav-menu li:hover > .sub-menu { display: block; }

.sub-menu a {
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.sub-menu a:hover { background: #f7f7f7; }

/* Dropdown arrow */
.nav-menu > li > a[href="exposing-fanpro-management.html"]::after,
.has-children > a::after {
  content: " \25BE";
  font-size: 0.7em;
}

/* ========================================
   Hero Banner Image
   ======================================== */
.hero-banner {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  background: #1a1a2e;
  margin-bottom: 0;
}

.hero-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* CSS-only hero for when no image is available */
.hero-banner-text {
  width: 100%;
  padding: 80px 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner-text::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.03) 2px,
    rgba(255,255,255,0.03) 4px
  );
}

.hero-banner-text h2 {
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-banner-text p {
  font-family: "Libre Franklin", sans-serif;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-top: 12px;
  position: relative;
}

/* ========================================
   Main Content (single column, no sidebar)
   ======================================== */
.site-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 50px 40px;
}

/* Articles / Posts */
.post {
  margin-bottom: 60px;
}

.post-title {
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 15px;
  color: var(--wp-accent);
}

.post-title a { color: var(--wp-accent); }
.post-title a:hover { text-decoration: underline; }

.post-meta {
  font-size: 0.875rem;
  color: var(--wp-gray);
  margin-bottom: 30px;
  font-family: "Libre Franklin", sans-serif;
}

.post-content {
  font-size: 1.0625rem;
  line-height: 1.9;
}

.post-content h2 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 15px;
  color: var(--wp-dark);
}

.post-content h3 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 30px 0 10px;
  color: var(--wp-dark);
}

.post-content p { margin-bottom: 1.4em; }

.post-content ul, .post-content ol {
  margin: 0 0 1.4em 1.5em;
}

.post-content li { margin-bottom: 0.5em; }

.post-content blockquote {
  border-left: 4px solid var(--wp-accent);
  padding: 15px 25px;
  margin: 1.5em 0;
  font-style: italic;
  color: #555;
  font-size: 1.125rem;
}

.post-content strong { color: var(--wp-dark); }

.post-content a { text-decoration: underline; color: var(--wp-accent); }
.post-content a:hover { color: var(--wp-accent-hover); }

/* Inline figure/image with caption */
.wp-block-image {
  margin: 2em 0;
}

.wp-block-image figcaption {
  font-size: 0.8125rem;
  color: var(--wp-gray);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
  font-family: "Libre Franklin", sans-serif;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9375rem;
  font-family: "Libre Franklin", sans-serif;
}

.post-content th, .post-content td {
  border: 1px solid var(--wp-border);
  padding: 10px 14px;
  text-align: left;
}

.post-content th {
  background: #f7f7f7;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #555;
}

.post-content tr:nth-child(even) { background: #fafafa; }

/* Warning/Alert Boxes */
.warning-box {
  background: #fef3f2;
  border: 1px solid #fecaca;
  border-left: 4px solid var(--wp-accent);
  padding: 20px 25px;
  margin: 1.5em 0;
}

.warning-box strong { color: var(--wp-accent); }

.info-box {
  background: #f0f4f8;
  border: 1px solid #d0d7de;
  border-left: 4px solid #555;
  padding: 20px 25px;
  margin: 1.5em 0;
}

/* Post navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid var(--wp-border);
  font-size: 0.875rem;
  font-family: "Libre Franklin", sans-serif;
}

.post-navigation a { color: var(--wp-accent); }

/* Tags */
.post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--wp-border);
}

.tag {
  display: inline-block;
  background: #f7f7f7;
  border: 1px solid var(--wp-border);
  padding: 3px 10px;
  font-size: 0.75rem;
  margin: 3px 3px 3px 0;
  color: var(--wp-gray);
  font-family: "Libre Franklin", sans-serif;
}

.read-more {
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: "Libre Franklin", sans-serif;
  color: var(--wp-accent);
}

/* ========================================
   Footer Widgets (3-column, Hever style)
   ======================================== */
.footer-widgets {
  background: #f7f7f7;
  border-top: 1px solid var(--wp-border);
  padding: 50px 40px;
}

.footer-widgets-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-widget h2 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wp-dark);
  margin-bottom: 15px;
}

.footer-widget ul {
  list-style: disc;
  padding-left: 20px;
}

.footer-widget ul li {
  margin-bottom: 6px;
  font-size: 0.9375rem;
}

.footer-widget a { color: var(--wp-accent); }

/* Top posts with thumbnails */
.top-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--wp-border);
}

.top-post-item:last-child { border-bottom: none; }

.top-post-thumb {
  width: 48px;
  height: 48px;
  background: #ddd;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #999;
  font-family: "Libre Franklin", sans-serif;
}

.top-post-item a {
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* Subscribe widget in footer */
.subscribe-footer input[type="email"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--wp-border);
  font-size: 0.875rem;
  font-family: inherit;
  margin-bottom: 10px;
}

.subscribe-footer button {
  background: var(--wp-accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.875rem;
  cursor: pointer;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
}

.subscribe-footer button:hover { background: var(--wp-accent-hover); }

.subscribe-footer .sub-count {
  font-size: 0.8125rem;
  color: var(--wp-gray);
  margin-top: 8px;
}

/* ========================================
   Site Footer bottom bar
   ======================================== */
.site-footer {
  border-top: 1px solid var(--wp-border);
  padding: 20px 40px;
  font-family: "Libre Franklin", sans-serif;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: var(--wp-gray);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--wp-accent); }

.footer-credit {
  font-size: 0.8125rem;
  color: var(--wp-gray);
}

.footer-credit a { color: var(--wp-gray); text-decoration: underline; }

/* ========================================
   Cookie Banner (WordPress.com style)
   ======================================== */
.wp-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 20px;
  right: 20px;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border);
  border-bottom: none;
  padding: 20px 25px;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 1000;
  font-family: inherit;
  color: var(--wp-text);
  line-height: 1.6;
}

.wp-cookie-banner a { color: var(--wp-accent); text-decoration: underline; }

.wp-cookie-banner button {
  background: var(--wp-accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.wp-cookie-banner button:hover { background: var(--wp-accent-hover); }

/* ========================================
   Floating Subscribe Button (bottom-right)
   ======================================== */
.wp-floating-subscribe {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-floating-subscribe a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border);
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-family: "Libre Franklin", sans-serif;
  color: var(--wp-dark);
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.wp-floating-subscribe a:hover { background: #f7f7f7; text-decoration: none; }

.wp-floating-subscribe svg { width: 16px; height: 16px; }

.wp-floating-dots {
  width: 28px;
  height: 28px;
  background: var(--wp-bg);
  border: 1px solid var(--wp-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--wp-gray);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ========================================
   Comment Form (WordPress style)
   ======================================== */
.comments-area {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--wp-border);
}

.comments-title {
  font-family: "Libre Franklin", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--wp-dark);
  font-family: "Libre Franklin", sans-serif;
}

.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--wp-border);
  font-size: 0.9375rem;
  font-family: inherit;
  margin-bottom: 15px;
  line-height: 1.6;
}

.comment-form textarea { min-height: 160px; resize: vertical; }

.comment-form .form-row { display: flex; gap: 15px; }
.comment-form .form-row > div { flex: 1; }

.comment-form .form-note {
  font-size: 0.8125rem;
  color: var(--wp-gray);
  margin-bottom: 15px;
  font-family: "Libre Franklin", sans-serif;
}

.wp-button {
  background: var(--wp-accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 0.9375rem;
  cursor: pointer;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
}

.wp-button:hover { background: var(--wp-accent-hover); }

/* Submit button loading state */
.wp-button.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Form feedback messages */
.form-message {
  padding: 14px 18px;
  margin-top: 15px;
  font-size: 0.9375rem;
  font-family: "Libre Franklin", sans-serif;
  line-height: 1.5;
}

.form-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #22c55e;
  color: #166534;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

/* File input styling */
.comment-form input[type="file"] {
  padding: 8px 0;
  border: none;
  font-size: 0.875rem;
  margin-bottom: 5px;
}

.form-note-file {
  font-size: 0.8125rem;
  color: var(--wp-gray);
  margin-bottom: 15px;
  font-family: "Libre Franklin", sans-serif;
}

/* Turnstile widget spacing */
.cf-turnstile {
  margin-bottom: 15px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px 0;
  }

  .nav-menu { flex-direction: column; }

  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--wp-border);
    margin-left: 14px;
    padding: 0;
  }

  .site-content { padding: 30px 20px; }

  .hero-banner-text { padding: 50px 20px; }
  .hero-banner-text h2 { font-size: 2rem; }

  .footer-widgets { padding: 30px 20px; }
  .footer-widgets-inner { grid-template-columns: 1fr; gap: 30px; }

  .site-footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }

  .comment-form .form-row { flex-direction: column; gap: 0; }

  .wp-cookie-banner { flex-direction: column; text-align: center; left: 10px; right: 10px; }
}

@media (max-width: 600px) {
  .post-title { font-size: 1.4rem; }
  .post-content table { font-size: 0.8rem; }
  .post-content th, .post-content td { padding: 6px 8px; }
  .wp-promo-bar span { font-size: 0.75rem; }
}
