/* =========================================================
   THE J — Complete custom CSS
   itsthej.com · WordPress.com Premium
   Paste into Appearance → Customize → Additional CSS
   ========================================================= */


/* ---------- 1. GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ---------- 2. COLOR & FONT VARIABLES ---------- */
:root {
  --j-navy: #0C1220;
  --j-navy-2: #1A2340;
  --j-orange: #D85A30;
  --j-orange-dark: #B54820;
  --j-text: #111111;
  --j-muted: #666666;
  --j-border: #e5e5e5;
  --j-bg-soft: #f7f7f5;
}


/* ---------- 3. TYPOGRAPHY (site-wide) ---------- */
body,
.wp-block-post-title,
.entry-title,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: -0.2px;
}

body {
  color: var(--j-text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.5px;
}


/* ---------- 4. LAYOUT WIDTH ---------- */
.wp-site-blocks .is-layout-constrained,
.wp-block-group.has-global-padding,
.entry-content {
  max-width: 1200px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.wp-block-post-featured-image {
  max-width: 100% !important;
}


/* ---------- 5. HEADER / NAVIGATION ---------- */
.wp-site-blocks > header,
.site-header,
header.wp-block-template-part {
  background: var(--j-navy) !important;
  border-bottom: 3px solid var(--j-orange);
  padding: 14px 0;
}

.site-header a,
.site-header .wp-block-site-title a,
.site-header .wp-block-navigation a,
header .wp-block-navigation__container a {
  color: #ffffff !important;
}

/* Site title (The J) */
.wp-block-site-title,
.wp-block-site-title a,
.site-title,
.site-title a {
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.5px !important;
}

/* Tagline */
.wp-block-site-tagline,
.site-description {
  font-size: 18px !important;
  color: var(--j-orange) !important;
  font-weight: 400 !important;
  margin-top: 6px !important;
  font-style: normal !important;
}

/* Nav menu items */
header .wp-block-navigation a,
.wp-block-navigation__container a,
.main-navigation a {
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 8px 14px !important;
}

header .wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item a {
  color: var(--j-orange) !important;
  border-bottom: 3px solid var(--j-orange) !important;
}


/* ---------- 6. BUTTONS (including Subscribe) ---------- */
.wp-block-button__link,
a.wp-block-button__link,
.wp-block-button .wp-block-button__link,
.wp-block-search__button {
  background: var(--j-orange) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: background 0.15s ease;
}

.wp-block-button__link:hover,
a.wp-block-button__link:hover,
.wp-block-search__button:hover {
  background: var(--j-orange-dark) !important;
}

/* Floating subscribe button (bottom-right corner) */
.floating-subscribe,
.wp-block-button.is-style-floating {
  font-size: 18px !important;
  padding: 18px 36px !important;
}

/* Header subscribe button (slightly smaller) */
header .wp-block-button__link,
.site-header .wp-block-button__link {
  font-size: 15px !important;
  padding: 12px 28px !important;
}


/* ---------- 7. FEATURED / HERO POST ---------- */
.wp-block-post-template > li:first-child .wp-block-post-title,
.wp-block-post-template > li:first-child .wp-block-post-title a,
.featured-post .wp-block-post-title a {
  font-size: 48px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  margin-top: 16px !important;
}

/* Featured image styling */
.wp-block-post-featured-image img {
  border-radius: 12px !important;
  width: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease;
}

.wp-block-post-featured-image:hover img {
  transform: scale(1.01);
}


/* ---------- 8. CATEGORY LABELS (eyebrow tags) ---------- */
.wp-block-post-terms,
.post-categories,
.cat-links,
.wp-block-post-terms a,
.post-categories a,
.cat-links a {
  font-size: 14px !important;
  letter-spacing: 1.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--j-orange) !important;
  text-decoration: none !important;
  margin-bottom: 8px !important;
}


/* ---------- 9. POST CARDS (grid items) ---------- */
.wp-block-post,
article.post {
  border-bottom: 1px solid var(--j-border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.wp-block-post-title {
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0;
  font-weight: 700;
}

.wp-block-post-title a {
  color: var(--j-text) !important;
  text-decoration: none !important;
}

.wp-block-post-title a:hover {
  color: var(--j-orange) !important;
}

/* Post meta (author, date) */
.wp-block-post-date,
.wp-block-post-author-name,
.posted-on,
.byline {
  font-size: 14px !important;
  color: var(--j-muted) !important;
  text-transform: none;
}


/* ---------- 10. SECTION HEADERS (category rows) ---------- */
.wp-block-query-title,
h2.wp-block-heading,
.widget-title {
  border-top: 3px solid var(--j-navy);
  padding-top: 14px;
  margin-top: 40px;
  font-size: 24px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.3px;
}


/* ---------- 11. CATEGORY ARCHIVE PAGES ---------- */
.archive .wp-block-query-title,
.archive-title,
.page-title {
  font-size: 48px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
  margin-bottom: 20px !important;
  border: none !important;
  padding-top: 0 !important;
}


/* ---------- 12. SINGLE POST PAGE ---------- */
.single .entry-title,
.single .wp-block-post-title {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.single .entry-content,
.single .wp-block-post-content {
  font-size: 18px;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto;
}

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

.single blockquote {
  border-left: 4px solid var(--j-orange);
  padding-left: 20px;
  font-style: italic;
  font-size: 20px;
  color: #333;
}


/* ---------- 13. NEWSLETTER / SUBSCRIBE BLOCK ---------- */
.wp-block-jetpack-subscriptions,
.jetpack_subscription_widget {
  background: var(--j-navy);
  color: #ffffff;
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  margin: 48px 0;
}

.wp-block-jetpack-subscriptions h2,
.jetpack_subscription_widget h2,
.wp-block-jetpack-subscriptions label {
  color: #ffffff !important;
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 800;
}

.wp-block-jetpack-subscriptions input[type="email"] {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
}

.wp-block-jetpack-subscriptions input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.wp-block-jetpack-subscriptions button[type="submit"] {
  background: var(--j-orange) !important;
  color: #ffffff !important;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ---------- 14. FOOTER ---------- */
.site-footer,
footer.wp-block-template-part {
  background: var(--j-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0;
  margin-top: 64px;
}

.site-footer a,
footer.wp-block-template-part a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer a:hover,
footer.wp-block-template-part a:hover {
  color: var(--j-orange) !important;
}


/* ---------- 15. PAGINATION ---------- */
.wp-block-query-pagination a,
.nav-links a {
  background: var(--j-navy);
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.15s ease;
}

.wp-block-query-pagination a:hover,
.nav-links a:hover {
  background: var(--j-orange);
}


/* ---------- 16. MOBILE RESPONSIVE ---------- */
@media (max-width: 768px) {
  .wp-block-site-title,
  .wp-block-site-title a {
    font-size: 32px !important;
  }

  .wp-block-site-tagline {
    font-size: 15px !important;
  }

  header .wp-block-navigation a {
    font-size: 14px !important;
    padding: 6px 10px !important;
  }

  .wp-block-post-template > li:first-child .wp-block-post-title,
  .wp-block-post-template > li:first-child .wp-block-post-title a {
    font-size: 28px !important;
  }

  .wp-block-post-title {
    font-size: 18px !important;
  }

  .single .entry-title {
    font-size: 30px !important;
  }

  .archive .wp-block-query-title {
    font-size: 32px !important;
  }

  .wp-block-button__link,
  a.wp-block-button__link {
    font-size: 14px !important;
    padding: 12px 24px !important;
  }
}
/* Add space between site title and tagline */
.wp-block-site-title,
.site-title {
  margin-bottom: 30
		px !important;
}

.wp-block-site-tagline,
.site-description {
  margin-top: 20px !important;
  display: block !important;
}
