/*
Theme Name: Kempingowanie Blog
Theme URI: https://kempingowanie.pl
Author: Bartosz
Description: Motyw bloga WordPress dopasowany wizualnie do portalu Django Kempingowanie.pl
Version: 1.0
Text Domain: kempingowanie-blog
*/
.blog-content p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.blog-content h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.blog-content a {
  color: #16a34a;
  text-decoration: none;
}

.blog-content a:hover {
  text-decoration: underline;
}

.blog-content blockquote {
  border-left: 4px solid #16a34a;
  padding-left: 1rem;
  color: #4b5563;
  font-style: italic;
  margin: 1.5rem 0;
}

.blog-content img {
  border-radius: 1rem;
  margin: 1.5rem 0;
}

.blog-content strong {
  font-weight: 700;
  color: #111827;
}
.blog-content p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.blog-content h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-content h4 {
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.blog-content a {
  color: #16a34a;
  text-decoration: none;
}

.blog-content a:hover {
  text-decoration: underline;
}

.blog-content blockquote {
  border-left: 4px solid #16a34a;
  padding-left: 1rem;
  color: #4b5563;
  font-style: italic;
  margin: 1.5rem 0;
}

.blog-content img {
  border-radius: 1rem;
  margin: 1.5rem 0;
}

.blog-content strong {
  font-weight: 700;
  color: #111827;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.blog-content th,
.blog-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: left;
}

.blog-content th {
  background: #f9fafb;
  font-weight: 700;
}
.blog-content .gallery {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.blog-content .gallery.gallery-columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-content .gallery.gallery-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-content .gallery.gallery-columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-content .gallery-item {
  margin: 0;
  width: auto !important;
}

.blog-content .gallery-icon {
  display: block;
}

.blog-content .gallery-icon a {
  display: block;
}

.blog-content .gallery-icon img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 1rem;
  margin: 0;
}

.blog-content .gallery-caption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 767px) {
  .blog-content .gallery.gallery-columns-2,
  .blog-content .gallery.gallery-columns-3,
  .blog-content .gallery.gallery-columns-4 {
    grid-template-columns: 1fr;
  }

  .blog-content .gallery-icon img {
    height: auto;
  }
}.fancybox__container {
  --fancybox-bg: rgba(0,0,0,0.9);
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem 0;
}

.blog-content .wp-caption,
.blog-content figure {
  max-width: 100%;
}

.blog-content .alignright {
  float: right;
  max-width: 320px;
  margin: 0.5rem 0 1.5rem 2rem;
}

.blog-content .alignleft {
  float: left;
  max-width: 320px;
  margin: 0.5rem 2rem 1.5rem 0;
}

.blog-content .aligncenter {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
}

.blog-content .wp-caption.alignright,
.blog-content figure.alignright {
  float: right;
  max-width: 320px;
  margin: 0.5rem 0 1.5rem 2rem;
}

.blog-content .wp-caption.alignleft,
.blog-content figure.alignleft {
  float: left;
  max-width: 320px;
  margin: 0.5rem 2rem 1.5rem 0;
}

.blog-content .wp-caption.aligncenter,
.blog-content figure.aligncenter {
  margin: 1.5rem auto;
  text-align: center;
}

.blog-content::after {
  content: "";
  display: block;
  clear: both;
}

@media (max-width: 767px) {
  .blog-content .alignright,
  .blog-content .alignleft,
  .blog-content .wp-caption.alignright,
  .blog-content .wp-caption.alignleft,
  .blog-content figure.alignright,
  .blog-content figure.alignleft {
    float: none;
    display: block;
    max-width: 100%;
    margin: 1.5rem auto;
  }
}

nav.navigation.pagination {
  display: flex;
  justify-content: center;
}

nav.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

nav.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

nav.navigation.pagination .page-numbers:hover {
  background: #f0fdf4;
  color: #16a34a;
}

nav.navigation.pagination .page-numbers.current {
  background: #16a34a;
  color: #ffffff;
}

nav.navigation.pagination .page-numbers.prev,
nav.navigation.pagination .page-numbers.next {
  padding: 0 1.25rem;
}

nav.navigation.pagination .dots {
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-width: auto;
  height: auto;
  color: #9ca3af;
}



