@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap");
:root {
  --color-green: #27860D;
  --color-yellow: #FEBD12;
  --color-light-blue: #D2ECFC;
  --color-dark-blue: #2D556C;
  --color-white: #ffffff;
  --color-dark: #313131;
  --font-serif: Cinzel, serif;
  --font-decorative: Cinzel Decorative, serif;
  --font-sans: Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--color-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  color: var(--color-dark-blue);
}

.global-contact-widgets {
  position: fixed;
  right: 35px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}
@media (max-width: 991px) {
  .global-contact-widgets {
    right: 20px;
    bottom: 20px;
    gap: 10px;
  }
}

.global-contact-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.global-contact-widget svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}
.global-contact-widget:hover {
  background-color: var(--color-white);
  color: var(--color-yellow);
  transform: scale(1.08);
}
.global-contact-widget:hover svg {
  transform: rotate(15deg);
}
@media (max-width: 991px) {
  .global-contact-widget {
    width: 48px;
    height: 48px;
  }
  .global-contact-widget svg {
    width: 20px;
    height: 20px;
  }
}


/* =============================================================
   Gutenberg Core Blocks — Group, Paragraph, Heading
   ============================================================= */

/* Group block wrapper */
.wp-block-group {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
}
.wp-block-group.alignfull {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 991px) {
  .wp-block-group {
    padding: 3rem 1.5rem;
  }
}
@media (max-width: 767px) {
  .wp-block-group {
    padding: 2.5rem 1rem;
  }
}

/* Paragraph block */
.wp-block-paragraph {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-dark);
  margin-top: 0;
  margin-bottom: 1.25rem;
}
.wp-block-paragraph:last-child {
  margin-bottom: 0;
}
.wp-block-paragraph.has-large-font-size {
  font-size: 1.2rem;
  line-height: 1.6;
}
.wp-block-paragraph.is-style-lead {
  font-size: 1.15rem;
  color: #555;
  font-weight: 300;
}
.wp-block-paragraph a {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.wp-block-paragraph a:hover {
  color: #1a5a09;
}
.wp-block-paragraph strong {
  font-weight: 700;
  color: inherit;
}

/* Heading blocks (h2–h6 inside Gutenberg) */
.wp-block-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #226515;
}
.wp-block-heading.is-style-light {
  font-weight: 400;
}
.wp-block-heading.has-accent-underline {
  position: relative;
  padding-bottom: 0.6rem;
}
.wp-block-heading.has-accent-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--color-yellow);
  border-radius: 2px;
}
h2.wp-block-heading { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3.wp-block-heading { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4.wp-block-heading { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h5.wp-block-heading { font-size: 1.1rem; }
h6.wp-block-heading { font-size: 1rem; }
@media (max-width: 767px) {
  .wp-block-heading {
    margin-bottom: 0.75rem;
  }
}

.mieszkania-section {
  padding-bottom: 0 !important;
}
