/*
Theme Name: Indiapol Theme
Author: Piotr Sikora
Description: Motyw WordPress dla agencji wspierającej legalizację pobytu i pracy cudzoziemców.
Version: 1.0
Text Domain: indiapol
*/


/* Main styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
background: linear-gradient(to bottom, #ffffff, #e6f2ff);
    color: #333;
}

:root {
    --primary-color: #2780b9;
    --accent-color: #165a96;
    --text-dark: #333;
    --text-light: #fff;
    --font-base: 'Open Sans', sans-serif;
}

.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.site-logo {
    flex: 1 0 auto;
}

.site-logo img{
    max-height: 120px;
    height: auto;
    width: auto;
}

.site-header {
    width: 100%;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);    
}

/* Główna siatka */
.nav-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2rem;
  background-color: #fff;
}

/* Kontener nagłówka */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

/* Logo */
.header-logo {
  grid-column: 1 / 2;
  justify-self: start;
}

.header-logo img {
  max-height: 120px;
}

/* Języki */
.language-switcher {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 2rem;
  background-color: #f9fcff;
  gap: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #e0edf5;
}


.language-switcher ul,
.language-switcher li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.language-switcher a {
  text-decoration: none;
  color: #000;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.language-switcher a:hover {
  color: #000;
}

.language-switcher .current-lang a {
  font-weight: 700;
  color: #000;
  border-bottom: 2px solid #000;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
}

/* Menu (desktop) */
.main-nav {
  grid-column: 2 / 3;
  justify-self: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  font-size: 1rem;
  font-weight: 600;
  color: #0a3652;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #0a3652;
  transition: width 0.3s ease;
}

.nav-list li a:hover {
  color: #0a3652;
}

.nav-list li a:hover::after {
  width: 100%;
}

/* ======= MOBILE ======= */
@media (max-width: 768px) {
  .nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    text-align: center;
  }

  .header-logo {
    display: block;
    margin: 0 auto;
  }

  .header-logo img {
    max-width: 160px;
    height: auto;
    margin: 0 auto;
  }

  .hamburger {
    display: block;
    margin: 0.5rem auto 0;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    border-top: 1px solid #e0edf5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-list li a {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
  }

  .language-switcher {
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 600;
  }
}



/* Hero section */
.hero-section {
  height: 30vh;
  position: relative;
  overflow: hidden;
}

.hero-slider-wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  animation: heroSlider 12s infinite;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 2;
  color: white;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}

.hero-overlay h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: 1rem;
}


@keyframes heroSlider {
  0%, 40% {
    transform: translateX(0%);
  }
  45%, 85% {
    transform: translateX(-100%);
  }
  90%, 100% {
    transform: translateX(-200%);
  }
}

@media (max-width: 768px) {
  .hero-overlay h1 {
    font-size: 1.75rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .hero-logo {
    display: none;
  }
}

#contact-icons img {
    transition: transform 0.3s ease;
    margin: 0 5px;
}

#contact-icons img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* Welcome section */
.welcome-section {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Benefits section */

.benefits {
  padding: 6rem 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-tile {
  background-color: #fff;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 80, 140, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--accent-color);
}

.benefit-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 80, 140, 0.15);
}

.benefit-tile .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.benefit-tile p {
  font-size: 0.95rem;
  color: #333;
}

@media (max-width: 900px) {
    .benefits-grid {
        width: 85%;
    }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* timeline - process */
.timeline {
  padding: 6rem 1rem;
  text-align: center;
}

.timeline h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.timeline-wrapper {
  position: relative;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 3px solid var(--accent-color);
  max-width: 800px;
}

.timeline-step {
  position: relative;
  margin-bottom: 3rem;
}

.step-content {
  background: #fff;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 80, 140, 0.05);
  text-align: left;
}

.step-icon {
  font-size: 1.8rem;
  position: absolute;
  left: -2.2rem;
  top: 1.2rem;
  background-color: #fff;
  border: 3px solid var(--accent-color);
  color: var(--primary-color);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #fdfdfd;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
}

.step-content p {
  font-size: 0.95rem;
  color: #444;
}

/* MOBILE RESPONSIVE */
@media (max-width: 640px) {
  .timeline-wrapper {
    padding-left: 1rem;
    border-left: 2px solid var(--accent-color);
  }

  .step-content {
    padding-left: 2.5rem;
  }

  .step-icon {
    left: -1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.4rem;
  }
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 60px 20px;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #004080;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  background-color: #007BFF;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

.cta-button.outline {
  background-color: transparent;
  color: #007BFF;
  border: 2px solid #007BFF;
}

.cta-button.outline:hover {
  background-color: #007BFF;
  color: white;
}

.site-footer {
  background-color: #f0f8ff;
  padding: 4rem 2rem 1rem;
  color: #0a3652;
  font-size: 0.95rem;
}

/* Logo i tagline */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  align-items: start;
}

.footer-column {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-tagline,
.footer-hours {
  text-align: center;
  width: 100%;
}

.footer-logo img {
  display: block;
  margin: 0 auto;
  max-width: 140px;
  padding-bottom: 0.5rem;
}

.footer-tagline {
  font-weight: 600;
  font-size: 1rem;
  color: #165a96;
}

.footer-hours {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #165a96;
}

.footer-contact h4 {
  margin-bottom: 0.8rem;
}

.footer-contact p {
  margin: 0;
  line-height: 1.6;
}

.footer-contact .contact-block {
  margin-bottom: 1.2rem;
}

.footer-contact,
.footer-social {
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-contact a,
.footer-social a {
  color: #165a96;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-social a:hover {
  color: #2780b9;
}

.footer-column .footer-social h4 {
  text-align: center;
}

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.social-links i {
  color: #2780b9;
}


/* Dolna belka */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #0a3652;
  border-top: 1px solid #dce9f3;
  margin-top: 2rem;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
}

#scrollToTop {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: #005baa;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 100;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

#scrollToTop:hover {
  background-color: #003f7d;
}

/* === QUOTE POPUP === */
.quote-popup {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: #ffffff;
  border: 2px solid #0072ce;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  padding: 20px;
  display: none;
  animation: fadeIn 0.4s ease;
}

.quote-popup-content {
  position: relative;
  text-align: center;
}

.quote-text {
  font-size: 1.15rem;
  color: #005baa;
  margin: 0;
  font-style: italic;
}

.quote-author {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
}

.quote-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #005baa;
  color: white;
  border-radius: 50%;
  font-size: 18px;
  padding: 4px 10px;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.quote-close:hover {
  background: #003f7d;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) scale(0.95); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}


@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    padding: 1rem;
  }

  .footer-logo {
    align-items: center;
    text-align: center;
    grid-column: 1 / -1;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo,
  .footer-contact,
  .footer-social {
    align-items: center;
  }
}

/* DESKTOP – 3 kolumny obok siebie */
@media (min-width: 900px) {
  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: left;
    align-items: start;
    gap: 2rem;
  }

  .footer-logo {
    align-items: flex-start;
    text-align: left;
  }

  .footer-contact,
  .footer-social {
    align-items: flex-start;
    text-align: left;
  }

  .social-links li {
    justify-content: flex-start;
  }
}

/* About intro */
.about-intro {
  padding: 3rem 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #165a96;
}

.about-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.about-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-highlight {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
}

/* Team */
.team-section h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #165a96;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
  position: relative;
}

.team-section h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #2780b9;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.team-grid-1{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team-member .position {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.team-member .email a {
  color: var(--primary-color);
  text-decoration: none;
}

.team-member .bio {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.8rem;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Usługi */
.services-hero {
  width: 100%;
  overflow: hidden;
}

.services-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.services-section {
  padding: 4rem 1rem;
  background: #f9f9f9;
  text-align: center;
}

.services-section .section-title {
  font-size: 2.5rem;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.with-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
  width: 100%;
  margin: 0 auto;
}

.with-underline::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #0077cc;
  margin: 0 auto;
  margin-top: 0.4rem;
  border-radius: 2px;
}

.services-section .section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
  width: 85%;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.3rem;
  color: #0077cc;
  margin-bottom: 1rem;
  text-align: center;
}

.service-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact page */
.contact-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #555;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info a {
  color: #0077cc;
  text-decoration: none;
}

.contact-form form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form 7 */
.wpcf7-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.wpcf7-form input[type="submit"] {
  background: #0077cc;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: #005fa3;
}

.why-contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.why-item {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #007bff;
}

.why-item p {
  font-weight: 500;
  margin: 0;
}


/* BLOG - STYLE */

/* Główna sekcja wpisów blogowych */
main.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-post {
  background: #fff;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 2px 6px rgba(0, 106, 191, 0.08);
  transition: box-shadow 0.3s ease;
}

.blog-post:hover {
  box-shadow: 0 4px 12px rgba(0, 106, 191, 0.15);
}

.blog-post h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #0057a5;
}

.blog-post a {
  text-decoration: none;
  color: #0057a5;
}

/* Lista wpisów bloga (index.php) */
.blog-post {
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 106, 191, 0.08);
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}

.blog-post h2 {
    color: #0057a5;
    font-size: 24px;
    margin-bottom: 10px;
}

.blog-post:hover {
    box-shadow: 0 4px 12px rgba(0, 106, 191, 0.12);
}

.post-date {
  font-size: 0.9rem;
  color: #004c8c;
  margin-bottom: 0.5rem;
}


/* Strona pojedynczego wpisu (single.php) */
.post-single {
    background-color: #f5faff;
    padding: 40px 20px;
}

.post-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 106, 191, 0.1);
}

.post-title {
    color: #006abf;
    font-size: 30px;
    margin-bottom: 20px;
}

.blog-thumbnail img,
.post-thumbnail img {
  max-height: 400px;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.blog-heading {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  color: #0057a5;
}

.post-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

/* CTA Sidebar */
.cta-box {
    background-color: #e6f3ff;
    padding: 25px;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 106, 191, 0.1);
}

.cta-box h3 {
    color: #003f73;
    font-size: 20px;
    margin-bottom: 10px;
}

.cta-box p {
    color: #004c8c;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background-color: #006abf;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #004c8c;
}

.sidebar-section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.sidebar-section h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #003366;
}

.recent-posts {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 8px;
}

.recent-posts a {
  text-decoration: none;
  color: #007BFF;
}

.recent-posts a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  color: #007BFF;
  text-decoration: none;
}

.social-link:hover {
  text-decoration: underline;
}


.post-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.post-main {
  flex: 1 1 700px;
  min-width: 0;
}

.post-sidebar {
  flex: 0 0 300px;
  min-width: 280px;
}

@media (max-width: 991px) {
  .post-wrapper {
    flex-direction: column;
  }
  .post-sidebar {
    order: -1; /* może wyświetlić się nad treścią, zależnie od preferencji */
  }
}
