/*
Theme Name: The Daily Jibe Child
Description: Child theme for The Daily Jibe, based on Twenty Twenty-Four
Author: The Daily Jibe Team
Template: twentytwentyfour
Version: 1.0
*/
 Version:      1.0.0
*/

/* ====== Global Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #222;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* ====== Typography - Headings ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.4em 0 0.6em;
  color: #111;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 26px;
}

/* ====== Typography - Paragraphs (GŁÓWNE) ====== */
p {
  font-size: 20px !important;
  line-height: 1.8 !important;
  margin: 1.2em 0 !important;
  color: #222 !important;
}

.single-post p {
  font-size: 20px !important;
  line-height: 1.8 !important;
  margin: 1.2em 0 !important;
  color: #222 !important;
}

.entry-content p {
  font-size: 20px !important;
  line-height: 1.8 !important;
  margin: 1.2em 0 !important;
  color: #222 !important;
}

.post-content p {
  font-size: 20px !important;
  line-height: 1.8 !important;
  margin: 1.2em 0 !important;
  color: #222 !important;
}

/* ====== Strong/Bold Text ====== */
strong, b {
  font-weight: 700;
  color: #000;
}

/* ====== Links ====== */
a {
  color: #E10600;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #c00000;
}

/* ====== Blockquotes ====== */
blockquote {
  font-family: 'Playfair Display', serif !important;
  font-style: italic;
  font-size: 22px !important;
  line-height: 1.6 !important;
  border-left: 4px solid #E10600;
  padding-left: 1.2em;
  margin: 2em 0 !important;
  color: #444 !important;
}

/* ====== Images ====== */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ====== Post Layout ====== */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}

.post-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  color: #111 !important;
}

.post-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}

/* ====== In-article Ad ====== */
.dj-in-article-ad {
  margin: 40px 0;
  text-align: center;
}

.dj-in-article-ad div {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  color: #666;
  font-family: Inter, sans-serif;
  font-size: 15px;
}

/* ====== Newsletter CTA ====== */
.dj-newsletter-cta {
  margin: 60px 0 20px;
  padding: 28px;
  border: 2px solid #E10600;
  border-radius: 12px;
  background: #fffafa;
  text-align: center;
}

.dj-newsletter-cta h3 {
  margin: 0 0 10px !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #E10600 !important;
}

.dj-newsletter-cta p {
  margin: 0 0 14px !important;
  color: #333 !important;
  font-size: 16px !important;
}

.dj-newsletter-cta a {
  display: inline-block;
  background: #E10600;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  border-radius: 30px;
  padding: 12px 26px;
  transition: background 0.2s ease;
}

.dj-newsletter-cta a:hover {
  background: #c00000;
  text-decoration: none;
}

/* ====== Lists ====== */
ul, ol {
  font-size: 20px !important;
  line-height: 1.8 !important;
  margin: 1.2em 0 !important;
  padding-left: 1.5em;
}

li {
  margin: 0.5em 0 !important;
  color: #222 !important;
}

/* ====== Footer ====== */
.site-footer {
  text-align: center;
  font-size: 14px;
  color: #666;
  padding: 40px 20px;
  border-top: 1px solid #eee;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .single-post {
    padding: 30px 15px;
  }
  
  h1, .post-title {
    font-size: 32px !important;
  }
  
  h2 {
    font-size: 26px;
  }
  
  p {
    font-size: 18px !important;
  }
  
  blockquote {
    font-size: 20px !important;
  }
}
/* Beehiiv newsletter fix */
.newsletter-wrap {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  max-width: 600px;
  width: 100%;
}

.newsletter-wrap iframe.beehiiv-embed {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 280px !important;   /* większa wysokość żeby przycisk się zmieścił */
  border: none !important;
  margin: 0 auto !important;
  display: block;
}
/* Navigation bar styling */
.site-navigation {
    background-color: #ffffff; /* białe tło */
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.site-navigation .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* wyśrodkowanie */
    gap: 40px; /* odstępy między linkami */
}

.site-navigation .main-menu li {
    display: inline-block;
}

.site-navigation .main-menu a {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #111111; /* ciemny tekst */
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 4px;
}

.site-navigation .main-menu a:hover {
    color: #E10600; /* czerwony hover brandowy */
    border-bottom: 2px solid #E10600; /* podkreślenie przy hover */
}