/* EmigracjaPL custom fixes - load AFTER style.css */

/* ===== HEADER / TOP OFFSET FIX ===== */

html {
  scroll-padding-top: 100px;
}

body {
  padding-top: 100px !important;
}

.header-nav .navigation {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #fff !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-nav .navigation .navbar {
  min-height: 92px !important;
}

/* desktop menu height */
.header-nav .navigation .navbar .navbar-nav .nav-item a {
  line-height: 92px !important;
}

/* IMPORTANT: do not add second top offset through main */
.page-top-space {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-intro {
  padding-top: 12px !important;
  margin-top: 0 !important;
}

/* ===== FORM PLACEHOLDERS ===== */

.contact-us-area .contact-overlay .contact-details .contact-form-area .input-box input::placeholder,
.contact-us-area .contact-overlay .contact-details .contact-form-area .input-box textarea::placeholder {
  opacity: 1;
  color: #616161;
  font-weight: 700;
  text-transform: capitalize;
}

/* ===== KARTA POBYTU / CONTENT HELPERS ===== */

.page-hero-clean {
  padding-top: 12px !important;
}

@media (max-width: 991px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    padding-top: 78px !important;
  }

  .header-nav .navigation {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .header-nav .navigation .navbar {
    min-height: 64px !important;
  }

  .navbar-brand img {
    width: 135px !important;
    height: auto !important;
  }

  .header-nav .navigation .navbar .navbar-nav .nav-item a {
    line-height: 1.4 !important;
    min-height: 44px !important;
    padding: 14px 10px !important;
    margin: 0 !important;
  }

  .page-top-space {
    padding-top: 0 !important;
  }

  .page-intro {
    padding-top: 10px !important;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-top: 74px !important;
  }

  .page-hero-clean {
    padding-top: 8px !important;
  }

  .page-intro {
    padding-top: 8px !important;
  }

  .useful-links {
    grid-template-columns: 1fr;
  }
}

/* FIX LIST VISIBILITY */
.container ul {
  list-style: disc !important;
  padding-left: 20px !important;
}

.container ul li {
  color: #111 !important;
  margin-bottom: 6px;
}

.container ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.container ul li {
  color: #222;
  margin-bottom: 8px;
}

.container h1 {
  margin-bottom: 20px;
}

.container h2 {
  margin-top: 28px;
  margin-bottom: 14px;
}

.container h3 {
  margin-top: 22px;
  margin-bottom: 10px;
}

.container p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.container a {
  text-decoration: none;
}

/* ===== PERFECT HEADINGS (EMIGRACJAPL) ===== */

.container h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 20px;
}

.container h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 12px;
}

.container h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.container h4 {
  font-size: 18px;
  font-weight: 600;
}

.container h5 {
  font-size: 16px;
}

/* ===== MOBILE HEADINGS ===== */
@media (max-width: 767px) {

  .container h1 {
    font-size: 26px;
  }

  .container h2 {
    font-size: 22px;
  }

  .container h3 {
    font-size: 18px;
  }

}

/* ===== GLOBAL HEADINGS ===== */
.container h1 {
  font-size: 32px !important;
  line-height: 1.25 !important;
}

.container h2 {
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.container h3 {
  font-size: 20px !important;
  line-height: 1.35 !important;
}

.container h4 {
  font-size: 18px !important;
}

.container h5 {
  font-size: 16px !important;
}

/* ===== MOBILE HEADINGS ===== */
@media only screen and (max-width: 767px) {
  .container h1 {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }

  .container h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .container h3 {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .container h4 {
    font-size: 16px !important;
  }

  .container h5 {
    font-size: 15px !important;
  }
}
/* ===== INNER PAGES: TOP OFFSET FROM FIXED MENU ===== */
body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main {
  padding-top: 120px !important;
  padding-bottom: 80px;
}

/* ===== TYPOGRAPHY FOR CONTENT PAGES ===== */
.container h1 {
  font-size: 32px !important;
  line-height: 1.25 !important;
  font-weight: 700;
  margin-bottom: 20px;
}

.container h2 {
  font-size: 24px !important;
  line-height: 1.3 !important;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 12px;
}

.container h3 {
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 10px;
}

.container h4 {
  font-size: 18px !important;
  font-weight: 600;
}

.container h5 {
  font-size: 16px !important;
}

/* ===== TEXT SPACING ===== */
.container p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #444;
}

.container ul {
  list-style: disc !important;
  padding-left: 22px !important;
  margin-bottom: 20px;
}

.container ul li {
  color: #222 !important;
  margin-bottom: 8px;
  line-height: 1.6;
}

.container a {
  text-decoration: none;
}

/* ===== MOBILE ===== */
@media only screen and (max-width: 767px) {
  body.karta-page main,
  body.obywatelstwo-page main,
  body.legalizacja-page main {
    padding-top: 90px !important;
    padding-bottom: 60px;
  }

  .container h1 {
    font-size: 26px !important;
  }

  .container h2 {
    font-size: 22px !important;
  }

  .container h3 {
    font-size: 18px !important;
  }

  .container h4 {
    font-size: 16px !important;
  }

  .container h5 {
    font-size: 15px !important;
  }
}
body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main,
body.meldunek-page main {
  padding-top: 120px !important;
  padding-bottom: 80px;
}

body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main,
body.meldunek-page main {
  padding-top: 90px !important;
  padding-bottom: 60px;
}

body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main,
body.meldunek-page main,
body.praca-page main {
  padding-top: 120px !important;
  padding-bottom: 80px;
}
body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main,
body.meldunek-page main,
body.praca-page main {
  padding-top: 90px !important;
  padding-bottom: 60px;
}

body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main,
body.meldunek-page main,
body.praca-page main,
body.mieszkanie-page main {
  padding-top: 120px !important;
  padding-bottom: 80px;
}
body.karta-page main,
body.obywatelstwo-page main,
body.legalizacja-page main,
body.meldunek-page main,
body.praca-page main,
body.mieszkanie-page main {
  padding-top: 90px !important;
  padding-bottom: 60px;
}
/* =========================================
   ABOUT PAGE — EmigracjaPL
========================================= */

.page-intro {
  padding: 150px 0 60px;
  background: #f8f9fb;
  text-align: center;
}

.page-intro h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #111;
  font-weight: 700;
}

.page-intro p {
  max-width: 850px;
  margin: 0 auto;
  color: #666;
  font-size: 18px;
  line-height: 1.7;
}

.about-section {
  padding: 80px 0;
}

.about-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 30px 25px;
  height: 100%;
  text-align: center;
}

.about-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #111;
  font-weight: 700;
}

.about-card p {
  margin: 0;
  color: #666;
  line-height: 1.7;
}

.about-image-box img,
.about-thumb img,
.history-thumb img,
.blog-standard-thumb img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2,
.section-title h2 {
  font-size: 34px;
  margin-bottom: 20px;
  color: #111;
  font-weight: 700;
}

.about-text p,
.section-text,
.history-content span {
  color: #666;
  line-height: 1.8;
  font-size: 17px;
}

.mini-divider {
  width: 70px;
  height: 3px;
  background: #c79a2b;
  margin: 0 auto 25px;
  border-radius: 20px;
}

.service-video-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: center;
  height: 100%;
}

.service-video-card video {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #000;
  display: block;
}

.service-video-card h3 {
  font-size: 20px;
  margin: 18px 0 10px;
  color: #111;
  font-weight: 700;
}

.service-video-card p {
  color: #666;
  margin-bottom: 18px;
  min-height: 52px;
  line-height: 1.7;
}

.about-cta-box {
  background: #f8f9fb;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  margin-top: 40px;
}

.about-cta-box h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #111;
  font-weight: 700;
}

.about-cta-box p {
  max-width: 760px;
  margin: 0 auto 20px;
  color: #666;
  font-size: 17px;
  line-height: 1.8;
}

.history-content h3,
.history-content h4 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #111;
  font-weight: 700;
}

.history-item {
  margin-bottom: 30px;
}

.ad-section {
  background: #fcfcfc;
}

/* spacing helpers */
.mb-30 {
  margin-bottom: 30px;
}

/* responsive */
@media (max-width: 991px) {
  .page-intro {
    padding: 130px 0 50px;
  }

  .page-intro h1 {
    font-size: 32px;
  }

  .page-intro p {
    font-size: 17px;
  }

  .about-text h2,
  .section-title h2,
  .about-cta-box h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .page-intro {
    padding: 105px 0 40px;
  }

  .page-intro h1 {
    font-size: 26px;
  }

  .page-intro p {
    font-size: 16px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-card {
    padding: 24px 18px;
  }

  .service-video-card p {
    min-height: auto;
  }
}
/* ===== ABOUT V2 ===== */

.breadcrumbs {
  margin-bottom: 18px;
  font-size: 14px;
  color: #777;
}

.breadcrumbs a {
  color: #c79a2b;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 6px;
}

.about-card .main-btn {
  margin-top: 16px;
}
.about-image-box img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}


body {
  padding-top: 0;
}

main > section:first-child {
  padding-top: var(--header-height-desktop);
}

html {
  scroll-padding-top: var(--header-height-desktop);
}

@media (max-width: 991px) {
  main > section:first-child {
    padding-top: var(--header-height-mobile);
  }

  html {
    scroll-padding-top: var(--header-height-mobile);
  }
}
/* ===== CONTACT PAGE FIX ===== */
body.contact-page main {
  padding-top: 120px !important;
}

body.contact-page .page-hero-clean {
  padding-top: 30px !important;
}

@media (max-width: 991px) {
  body.contact-page main {
    padding-top: 90px !important;
  }

  body.contact-page .page-hero-clean {
    padding-top: 20px !important;
  }
}
/* ===== CONTACT PAGE FIX (FINAL) ===== */
body.contact-page main {
  padding-top: 80px !important;
}

@media (max-width: 991px) {
  body.contact-page main {
    padding-top: 65px !important;
  }
}








