/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

:root {
  --white: #ffffff;
  --mainDark: #2b2a2b;
  --mainDarkHover: #494949;
  --backgroundBody: #f6f6f6;
  --paragraphNormal: #575757;
  --paragraphLight: #818181;
  --brandYellow: #f9ea49;
  --primaryCta: #0084ff;
  --cta: #0f416f;
  --ctaHover: #225c92;
  --ctaClick: #083258;
  --neutral50: #f8f9fa;
  --neutral100: #e9ecef;
  --neutral200: #dee2e6;
  --neutral300: #ced4da;
  --neutral400: #adb5bd;
  --neutral500: #495057;
  --neutral600: #495057;
  --neutral700: #343a40;
  --success: #34a853;
  --error: #fc584f;
  --warning: #ffab00;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  font-family: "League Spartan", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
}

.ast-container {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-container {
  margin: 0 auto;
  max-width: 144rem;
  width: 100%;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

p {
  margin: 0;
}

a {
  color: var(--primaryCta);
}

h1 {
  font-family: "League Spartan", sans-serif;
  font-weight: 800;
  font-size: 6.4rem;
  line-height: 130%;
  letter-spacing: -0.8px;
  color: var(--mainDark);
}

h2 {
  font-family: "League Spartan", sans-serif;
  font-weight: 600;
  font-size: 4.8rem;
  line-height: 130%;
  letter-spacing: -0.8px;
  color: var(--mainDark);
}

h3 {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 120%;
  letter-spacing: 0px;
  color: var(--mainDark);
}

h4 {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 130%;
  letter-spacing: 0.15px;
  color: var(--mainDark);
}

h5 {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  letter-spacing: 0.15px;
  color: var(--mainDark);
}

h6 {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 2.1rem;
  letter-spacing: 0.1px;
  color: var(--mainDark);
}

@media (max-width: 1024px) {
  h1 {
    font-weight: 700;
    font-size: 4.2rem;
    line-height: 100%;
    letter-spacing: 0;
  }
  h2 {
    font-weight: 700;
    font-size: 3.2rem;
    line-height: 100%;
    letter-spacing: 0;
  }
  h3 {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 100%;
    letter-spacing: 0;
  }
  h4 {
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 150%;
    letter-spacing: 0;
  }
  h5 {
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 100%;
    letter-spacing: 0;
  }
}

.body-regural-1,
.body-regural-1 p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.7rem;
  letter-spacing: 0px;
  color: var(--paragraphNormal);
}

.body-regular-2 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2.4rem;
  letter-spacing: 0.25px;
  color: var(--mainDark);
}

.body-regular-3 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 2.1rem;
  letter-spacing: 0.25px;
  color: var(--mainDark);
}

.body-bold {
  font-weight: 600;
}

.btn-link-normal {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: var(--mainDark);
}

@media (max-width: 921px) {
  .btn-link-normal {
    font-size: 1.6rem;
  }
}

.link-medium {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2rem;
  letter-spacing: 0;
}

.link-small {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.6rem;
  letter-spacing: 0;
}

.row-two-columns {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
  gap: 3.2rem;
}

@media (max-width: 1024px) {
  .row-two-columns {
    flex-direction: column;
  }
}

.btn-main {
  position: relative;
  display: inline-block;
  padding: 1.6rem 5.4rem 1.6rem 2rem;
  border-radius: 99.9rem;
  background-color: var(--brandYellow);
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: var(--mainDark);
}

.btn-main::after {
  content: "";
  width: 3.2rem;
  height: 3.2rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1.2rem;
  background-image: url("img/arrow-right.svg");
  background-repeat: no-repeat;
  background-size: 3.2rem 3.2rem;
  background-position: center;
}

.btn-main:hover {
  background-color: #d8c635;
  color: var(--mainDark);
}

#content {
  background-color: var(--backgroundBody);
}


.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* menu */
.ast-hfb-header .site-header {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  margin-left: 3rem;
  margin-right: 3rem;
}

@media (max-width: 921px) {
  .ast-hfb-header .site-header {
    margin: 0;
  }
}

.admin-bar .site-header {
  top: 3.2rem;
}

.site-header {
  position: sticky;
  top: 0;
}

.site-header .ast-primary-header-bar {
  border-radius: 10rem;
  border: none;
  background-color: var(--white);
}

@media (max-width: 921px) {
  .ast-mobile-header-wrap .ast-primary-header-bar {
    min-height: 6.4rem;
  }
}

#masthead .ast-container {
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.site-branding.ast-site-identity {
  padding: 1.2rem 0;
}

@media (max-width: 921px) {
  #masthead .ast-container {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .site-branding.ast-site-identity {
    padding: 0.8rem 0;
  }
}

.site-header .main-header-menu a.menu-link {
  padding: 0 2.4rem;
  color: var(--paragraphNormal);
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2rem;
  letter-spacing: 0;
  transition: 0.3s ease-out;
}

.site-header a.menu-link:hover {
  color: var(--ctaHover);
  transition: 0.3s ease-out;
}

@media (max-width: 1024px) {
  header .custom-logo-link img {
    max-width: 15.9rem;
    width: 15.9rem;
  }
  .site-header .main-header-menu a.menu-link {
    padding: 0 1.8rem;
  }
}

.ast-custom-button {
  color: var(--white);
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: normal;
  letter-spacing: 0;
}

.site-header ul.sub-menu {
  padding: 1.6rem 0;
  width: 21.8rem;
  background-color: #fff;
  border-radius: 1.6rem;
  box-shadow: 0px 8px 16px 0px #abbed166;
  border: none;
}

.site-header ul.sub-menu li {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

/* search */
.ast-builder-layout-element.ast-header-search {
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid var(--neutral100);
  border-radius: 50%;
  justify-content: center;
}

.ast-icon.icon-search {
  position: relative;
}

@media (max-width: 921px) {
  .ast-builder-layout-element.ast-header-search {
    padding: 0;
  }
  .ast-icon.icon-search {
    width: 4.4rem;
  }
}

.ast-icon.icon-search svg {
  opacity: 0;
  visibility: hidden;
  margin-top: 0;
  margin-right: 0;
}

.ast-icon.icon-search::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/search.svg");
  background-repeat: no-repeat;
  background-size: 2rem 2rem;
  background-position: center;
}

/* menu mobile */
.ast-header-break-point
  #masthead
  .ast-mobile-header-wrap
  .ast-primary-header-bar {
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

[data-section="section-header-mobile-trigger"]
  .ast-button-wrap
  .ast-mobile-menu-trigger-minimal {
  border: 1px solid var(--neutral200);
  border-radius: 50%;
}

[data-section="section-header-mobile-trigger"]
  .ast-button-wrap
  .mobile-menu-toggle-icon
  .ast-mobile-svg {
  fill: var(--mainDark);
}

.ast-mobile-header-content.content-align-flex-start {
  height: 100vh;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
  padding: 3.2rem;
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: var(--paragraphNormal);
}

.content-align-flex-start .main-header-menu {
  text-align: center;
}

.menu-item-object-page span.ast-icon.icon-arrow {
  display: none !important;
}

@media (max-width: 921px) {
  ul#ast-hf-mobile-menu ul.sub-menu {
    margin-top: -2rem;
    padding: 0;
    box-shadow: none;
  }
  .site-header ul.sub-menu li {
    padding-top: 0;
    padding-bottom: 0;
  }
  ul#ast-hf-mobile-menu ul.sub-menu .menu-link {
    padding: 1.2rem;
    color: var(--paragraphLight);
  }
  .ast-builder-menu-mobile
    .main-navigation
    .menu-item.menu-item-has-children
    > .ast-menu-toggle {
    top: 2.4rem;
    box-shadow: none;
    z-index: 999999;
  }
  .ast-header-break-point .ast-icon.icon-arrow svg {
    margin-left: 0;
  }
  svg.ast-arrow-svg {
    transition: 0.3s ease-out;
  }
  li.ast-submenu-expanded svg.ast-arrow-svg {
    transition: 0.3s ease-out;
    rotate: 180deg;
  }
  .ast-mobile-header-content .ast-builder-layout-element {
    justify-content: center;
  }
}

/* home */
.presidium-container {
  padding-top: 16.4rem;
  padding-bottom: 10.2rem;
}

.presidium-container h2 {
  text-align: center;
  padding-bottom: 6.4rem;
}

@media (max-width: 1024px) {
  .presidium-container {
    padding-top: 6.4rem;
    padding-bottom: 2.3rem;
  }
  .presidium-container h2 {
    padding-bottom: 2.4rem;
  }
}

/* post card */
.post-card {
  border-radius: 2.4rem;
  background-color: var(--white);
}

.post-card .image-container {
  max-height: 47rem;
}

.post-card .image-container img {
  border-top-right-radius: 2.4rem;
  border-top-left-radius: 2.4rem;
  max-height: 47rem;
  width: 100%;
  aspect-ratio: 0.73;
  object-fit: cover;
  object-position: top;
}

.info-container {
  padding: 2.4rem;
}

.post-card h4.title {
  padding-bottom: 0.8rem;
}

.post-card .desc {
  padding-bottom: 1.6rem;
}

.post-card .contact {
  border-top: 1px solid var(--neutral200);
}

.contact-item {
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.6rem;
}

/* splide */
#splide2 .splide__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border-radius: 50%;
  opacity: 1;
  height: 6.4rem;
  width: 6.4rem;
  top: 40%;
  transform: translateY(-40%);
}

#splide2 .splide__arrow--prev {
  left: -3.2rem;
}

#splide2 .splide__arrow--next {
  right: -3.2rem;
}

#splide2 .splide__arrow svg {
  display: none;
}

#splide2 .splide__arrow::after {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  margin: 0;
  display: block;
  position: absolute;
  content: "";
  background-image: url(./img/arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#splide2 .splide__arrow.splide__arrow--next::after {
  transform: rotate(180deg);
}

@media (max-width: 1515px) {
  #splide2 .splide__arrow {
    top: unset;
    bottom: 0;
  }
  #splide2 .splide__arrow.splide__arrow--prev {
    left: calc(50% - 7.2rem);
  }
  #splide2 .splide__arrow.splide__arrow--next {
    right: calc(50% - 7.2rem);
  }
}

/* list members */
.list-items {
  display: flex;
  align-items: stretch;
  justify-content: start;
  flex-wrap: wrap;
  gap: 2.4rem;
}

.item {
  flex: 0 0 calc((100% - 2.4rem * 3) / 4);
}

@media (max-width: 1100px) {
  .item {
    flex: 0 0 calc((100% - 2.4rem * 2) / 3);
  }
}

@media (max-width: 921px) {
  .item {
    flex: 0 0 calc((100% - 2.4rem) / 2);
  }
}

@media (max-width: 480px) {
  .item {
    flex: 0 0 100%;
  }
}

.presidium-entry {
  padding-bottom: 6.4rem;
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3.2rem;
}

.col {
  flex: 0 0 calc((100% - 3.2rem) / 2);
}

@media (max-width: 1024px) {
  .row {
    flex-direction: column;
  }
  .presidium-entry .text-bold {
    text-align: center;
  }
}

.text-bold p {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 120%;
  letter-spacing: 0px;
  color: var(--mainDark);
}

.text-bold p strong,
.text-bold p b {
  color: var(--primaryCta);
}

@media (max-width: 1024px) {
  .text-bold p {
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 100%;
    letter-spacing: 0;
  }
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3.2rem 1.6rem;
  align-items: start;
  margin-top: 16.4rem;
}

@media (max-width: 1024px) {
  .about-row {
    margin-top: 8rem;
  }
}

.about-heading {
  grid-column: 1;
  grid-row: 1;
}

.about-btn {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.about-text {
  grid-column: 2;
  grid-row: 1;
}

.about-img {
  grid-column: 1 / span 2;
  grid-row: 3;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .about-row {
    gap: 2.4rem;
    grid-template-columns: 1fr;
  }
  .about-heading {
    grid-column: 1;
    grid-row: 1;
  }
  .about-img {
    grid-column: 1;
    grid-row: 2;
  }
  .about-text {
    grid-column: 1;
    grid-row: 3;
  }
  .about-btn {
    grid-row: 4;
  }
}

.committees-container {
  padding: 12.4rem 0;
  background-color: var(--white);
}

.committees-container h2 {
  padding-bottom: 4.8rem;
}

.committees-container .committees-text {
  padding-bottom: 2.4rem;
}

.committees-container .row > .col:first-child {
  position: relative;
  z-index: 1;
}

.committees-container .row > .col:last-child {
  position: relative;
  z-index: 2;
}

.committees-container .row > .col:first-child::before {
  content: "";
  position: absolute;
  background-color: #f8f9fa;
  z-index: -2;
  border-top-right-radius: 2.4rem;
  top: -4rem;
  bottom: -30.2rem;
  right: 60%;
  left: -34vw;
}

.committees-container .row {
  position: relative;
}

@media (min-width: 1450px) {
  .committees-container .row::before {
    content: "";
    position: absolute;
    z-index: 0;
    height: 6.8rem;
    border-top: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    border-top-right-radius: 2.4rem;
    top: 7rem;
    right: 86.5%;
    left: -100vw;
  }
  .committees-container .row::after {
    content: "";
    position: absolute;
    background-color: #f8f9fa;
    width: 6rem;
    height: 6rem;
    border-radius: 0 2.4rem;
    right: 87%;
    top: 7.5rem;
  }
  .committees-container .row > .col:first-child::after {
    content: "";
    position: absolute;
    background-color: #f8d43b;
    z-index: 3;
    width: 6rem;
    height: 6rem;
    border-radius: 0 2.4rem;
    top: -15.4rem;
    right: 65%;
  }
}

@media (max-width: 1024px) {
  .committees-container {
    padding: 6.4rem 0;
  }
  .committees-container .row > .col:first-child::before {
    right: 20rem;
    left: -1.6rem;
    top: 1.1rem;
    bottom: -49rem;
  }
  .committees-container h2 {
    padding-bottom: 2.4rem;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
  max-width: 65.4rem;
  aspect-ratio: 1 / 1;
}

.grid-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
  padding: 2rem;
  border-radius: 0 2.4rem 0 2.4rem;
  transition: transform 0.2s ease-in-out;
  position: relative;
  text-decoration: none;
}

.item-1 h4,
.item-2 h4,
.item-3 h4,
.item-4 h4 {
  color: var(--mainDark);
}

.item-1 h4,
.item-2 h4 {
  color: var(--white);
}

.item-1 {
  background-color: var(--mainDark);
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.item-2 {
  background-color: var(--cta);
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.item-3 {
  background-color: #ffe018;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.item-4 {
  background-color: var(--neutral50);
  border: 1px solid var(--neutral200);
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.item-5 {
  background-color: transparent;
  border: 1px solid var(--neutral200);
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.committees-container .arrow-icon {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  bottom: 0.5rem;
  right: 0.8rem;
  -webkit-mask-image: url("img/arrow-down-right.svg");
  mask-image: url("img/arrow-down-right.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: var(--white);
}

.committees-container .item-3 .arrow-icon,
.committees-container .item-4 .arrow-icon {
  background-color: var(--mainDark);
}

@media (max-width: 1024px) {
  .grid-container .grid-item .icon {
    height: 3.5rem;
    width: 3.5rem;
  }
  .item-1 h4,
  .item-2 h4,
  .item-3 h4,
  .item-4 h4 {
    font-size: 1.3rem;
    font-weight: 400;
  }
  .committees-container .arrow-icon {
    width: 1.3rem;
    height: 1.3rem;
  }
}

.homepage {
  margin-top: 3rem !important;
}

.hero-section {
  position: relative;
  margin-bottom: 16.4rem;
  height: 75.9rem;
  padding: 0 3.2rem;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 3.2rem;
  right: 3.2rem;
  height: 100%;
  z-index: 1;
  border-radius: 2.4rem;
  overflow: hidden;
}

.hero-video-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow-overlay::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120rem;
  height: 100rem;
  background: radial-gradient(
    ellipse,
    rgba(4, 110, 209, 0.938) 0%,
    transparent 70%
  );
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  z-index: 2;
  background-size: contain;
  background-repeat: no-repeat;
}

.hero-section::before {
  background-image: url("img/left-group.png");
  bottom: -2px;
  left: 3rem;
  width: 21.9rem;
  height: 20.8rem;
}

.hero-section::after {
  background-image: url("img/right-group.png");
  top: -2px;
  right: 3rem;
  width: 11.4rem;
  height: 11.4rem;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-social-bar {
  position: absolute;
  top: 50%;
  right: 5rem;
  transform: translateY(-50%);
  z-index: 10;
}

.hero-social-bar .zoom-social-icons-list {
  display: flex;
  flex-direction: column;
}

.hero-social-bar .zoom-social_icons-list__item {
  margin-bottom: 1.5rem;
}

.hero-social-bar .zoom-social_icons-list-span {
  background-color: #ffffff33 !important;
  color: #ffffff !important;
  padding: 1.4rem !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-social-bar a:hover .zoom-social_icons-list-span {
  background-color: #ffffff55 !important;
  color: #eeeeee !important;
}

.hero-content-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  max-width: 80rem;
}

.hero-content .hero-title {
  color: var(--white);
  font-size: 6.4rem;
  font-weight: 800;
  line-height: 130%;
  letter-spacing: -0.8px;
}

.hero-content .hero-description {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.7rem;
  margin-top: 2.4rem;
  margin-bottom: 4rem;
}

.hero-button-wrapper .btn-main {
  background-color: var(--brandYellow);
  color: var(--mainDark);
}

.hero-button-wrapper .btn-main:hover {
  background-color: #e9d73a;
}

@media (max-width: 1024px) {
  .homepage {
    margin-top: 0 !important;
  }

  .hero-video-wrapper::after {
    background-color: rgba(15, 65, 111, 0.8);
  }
  .hero-content-wrapper {
    margin-top: -8.4rem;
  }
  .hero-content .hero-title {
    font-size: 4.2rem;
  }
  .hero-section {
    min-height: initial;
    height: 75vh;
    margin-bottom: 6.4rem;
    padding: 0;
  }
  .hero-video-wrapper {
    left: 0;
    right: 0;
    border-radius: 0;
  }
  .hero-section::before {
    background-image: url("img/left-group-mobile.png");
    left: -1.2rem;
    bottom: -0.3rem;
    width: 13.8rem;
    height: 13.8rem;
  }
  .hero-section::after {
    display: none;
  }
  .hero-social-bar {
    position: absolute;
    top: auto;
    left: 66%;
    right: auto; /* Jawne usunięcie 'right' */
    bottom: 2.5rem;
    transform: translateX(-50%); /* Centrowanie horyzontalne */
    z-index: 5;
    width: max-content; /* Gwarantuje, że kontener ma szerokość swojej zawartości */
  }
  .hero-social-bar .zoom-social-icons-list {
    flex-direction: row;
    justify-content: center;
  }
  .hero-social-bar .zoom-social_icons-list__item {
    margin: 0 0.8rem; /* Zapewnia symetryczny odstęp */
  }
}

@media (max-width: 360px) {
  .hero-social-bar .zoom-social_icons-list-span {
    font-size: 1.2rem !important; /* Zmniejszenie wielkości ikony */
    padding: 1rem !important; /* Zmniejszenie wielkości tła */
  }

  .hero-social-bar .zoom-social_icons-list__item {
    margin: 0 0.4rem; /* Zmniejszenie odstępów między ikonami */
  }
}

@media (max-width: 450px) {
  .hero-content .hero-title {
    font-size: 3.2rem;
  }

  .hero-content .hero-description {
    font-size: 1.4rem;
    margin-top: 0.4rem;
  }

  .hero-button-wrapper a {
    padding: 1.2rem 5.8rem 1.2rem 1.6rem;
    font-size: 1.6rem;
  }

  .hero-content-wrapper {
    margin-top: -12.4rem;
  }

  .homepage {
    margin-top: 0 !important;
  }

  .zoom-social_icons-list-span {
    font-size: 14px;
  }

  .hero-section {
    min-height: 85vh;
  }
}

.news-section {
  margin-top: 16.4rem;
  margin-bottom: 16.4rem;
}

@media (max-width: 500px) {
  .news-section .section-container {
    padding-right: 0;
  }
}

.news-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.8rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

/* --- Karta Aktualności (wspólna dla strony głównej i archiwum) --- */
.news-card {
  display: block;
  text-decoration: none;
  border-radius: 1.6rem;
  background-color: var(--white);
  overflow: hidden;
  border: 1px solid var(--neutral200);
  transition: transform 0.3s ease-out;
}

.news-card:hover {
  transform: translateY(-0.5rem);
}

.news-card-image {
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  display: block;
}

.news-card-category {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  background-color: var(--white);
  color: var(--mainDark);
  padding: 0.8rem 1.2rem;
  border-radius: 99.9rem;
  font-size: 1.4rem;
  font-weight: 500;
}

.news-card-content {
  padding: 2.4rem;
}

.news-card-date {
  display: block;
  color: #818181;
  font-size: 1.3rem;
  line-height: 2.1rem;
  margin-bottom: 0.8rem;
}

.news-card-title {
  color: #2b2a2b;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.news-card-link {
  font-family: "League Spartan", sans-serif;
  color: #0f416f;
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 500;
}

/* --- Archiwum Aktualności --- */
.news-grid-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-bottom: 4.8rem;
}

/* --- Pojedyncza Aktualność --- */
.single-news-page .section-container {
  max-width: 96rem;
  padding-top: 6.4rem;
  padding-bottom: 6.4rem;
}

.news-article {
  border-radius: 1.6rem;
  padding: 2.4rem;
  background-color: var(--white);
}

.news-article-image {
  margin-bottom: 2.4rem;
}

.news-article-image img {
  width: 100%;
  height: auto;
  border-radius: 1.6rem;
}

.news-article-content .publish-date {
  display: block;
  color: #6c757d;
  font-size: 1.4rem;
  line-height: 2.4rem;
  margin-bottom: 1.6rem;
}

.news-article-content .entry-title {
  color: #181818;
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.news-article-content .entry-content p {
  color: #495057;
  font-size: 1.6rem;
  line-height: 2.7rem;
  margin-bottom: 1.5em;
}

.news-article-content .entry-footer {
  margin-top: 4.8rem;
  padding-top: 3.2rem;
}

/* --- Globalny styl dla przycisków .btn-secondary --- */
.btn-secondary {
  display: inline-block;
  padding: 1.6rem 3.2rem;
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: #2b2a2b;
  background-color: var(--white);
  border: 1px solid var(--neutral200);
  border-radius: 99.9rem;
  text-decoration: none;
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease-out;
}

.btn-secondary:hover {
  background-color: var(--neutral50);
  border-color: var(--neutral300);
}

/* --- Kontrola widoczności przycisków "Czytaj wszystkie" --- */
.btn-news-desktop {
  display: none;
}
.news-footer-mobile {
  display: flex;
  justify-content: start;
  margin-top: 2.4rem;
}

/* --- Media Queries (Responsywność) --- */
@media (max-width: 1024px) {
  .news-grid,
  .news-grid-archive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-section {
    margin-top: 6.4rem;
    margin-bottom: 6.4rem;
    overflow: hidden;
  }
  .news-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.6rem;
    padding-bottom: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .news-grid::-webkit-scrollbar {
    display: none;
  }
  .news-grid > * {
    flex-shrink: 0;
    width: 75%;
  }
  .news-grid-archive {
    grid-template-columns: 1fr;
  }
  .news-article-content .entry-title {
    font-size: 3.2rem;
  }
  .btn-news-desktop {
    display: none;
  }
  .news-footer-mobile {
    display: flex;
  }
}

@media (min-width: 769px) {
  .btn-news-desktop {
    display: inline-block;
  }
  .news-footer-mobile {
    display: none;
  }
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 4.8rem;
  justify-content: center;
  margin-top: 6.4rem;
}

.filter-button {
  padding: 1.2rem 2.4rem;
  border: 1px solid var(--neutral300);
  border-radius: 99.9rem;
  background-color: transparent;
  color: var(--mainDark);
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.filter-button:hover {
  background-color: var(--mainDark);
  color: var(--white);
}

.filter-button.active {
  background-color: var(--mainDark);
  color: var(--white);
}

#news-grid-container {
  transition: opacity 0.3s ease-out;
}

@media (min-width: 1200px) {
  .page-banner-template__container {
    margin-top: -60px;
  }
}



/* --- Nowe, Niezależne Style dla Banera Strony (odwzorowujące Hero Section) --- */

/* 1. Główny kontener banera */
.page-banner {
    position: relative;
    height: 37.5rem; 
    margin-bottom: 8rem;
    padding: 0 3.2rem;
}

/* 2. Wrapper dla tła */
.page-banner-background-wrapper {
    position: absolute;
    top: 0;
    left: 3.2rem;
    right: 3.2rem;
    height: 100%;
    z-index: 1;
    border-radius: 2.4rem;
    overflow: hidden;
}

/* 3. Właściwe tło z obrazkiem */
.page-banner-background {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 4. Nakładka z gradientem */
.page-banner-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(4, 110, 209, 0.8) 0%,
        transparent 70%
    );
}

/* 5. Kontener na treść */
.page-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 2rem;
}

/* 6. Tytuł banera */
.page-banner-title {
    color: var(--white);
    font-size: 6.4rem;
    font-weight: 800;
    line-height: 130%;
    letter-spacing: -0.8px;
    max-width: 80rem;
}

/* 7. Elementy dekoracyjne */
.page-banner::before,
.page-banner::after {
    content: "";
    position: absolute;
    z-index: 2;
    background-size: contain;
    background-repeat: no-repeat;
}

/* NOWY element po lewej */
.page-banner::before {
    background-image: url("img/left-group2.png");
    bottom: -2px;
    left: 3rem;
    width: 11.4rem;
    height: 11.4rem;
}

/* Istniejący element po prawej */
.page-banner::after {
    background-image: url("img/right-group.png");
    top: -2px;
    right: 3rem;
    width: 11.4rem;
    height: 11.4rem;
}


/* --- Style Responsywne dla Banera --- */
@media (max-width: 1024px) {
    .page-banner {
        padding: 0;
        height: 30vh;
        min-height: 250px;
        margin-bottom: 4rem;
    }

    .page-banner-background-wrapper {
        left: 0;
        right: 0;
        border-radius: 0;
    }

    .page-banner-title {
        font-size: 4.2rem;
    }

    /* Ukrywamy OBA dekoracyjne obrazki na mobile */
    .page-banner::before,
    .page-banner::after {
        display: none;
    }
}

@media (max-width: 450px) {
    .page-banner {
        height: 40vh;
        min-height: 280px;
    }

    .page-banner-title {
        font-size: 3.2rem;
    }
}

/* Dodajemy pozycjonowanie i z-index do kontenera z tekstem, aby był na wierzchu */
.page-banner .section-container {
    position: relative;
    z-index: 3;
}

.page-banner-title {
  color: var(--white);
  font-size: 5.6rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .page-banner-container {
    padding: 0 1.6rem;
  }
  .page-banner {
    padding: 6rem 0;
    min-height: 20rem;
  }
  .page-banner-title {
    font-size: 4.2rem;
  }
}

.info-section {
  padding: 16.4rem 0; /* Adjusted padding to be vertical only */
}

@media (max-width: 768px) {
  .info-section {
    padding: 6.4rem 0;
  }
}

.info-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.2rem;
  align-items: start;
  margin-bottom: 6.4rem;
}

.info-header__title {
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--mainDark);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.info-card {
  padding: 3.2rem;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  border-top-right-radius: 2.4rem;
  border-bottom-left-radius: 2.4rem;
}

.info-card:nth-child(2) {
  background-color: var(--cta);
  color: var(--white);
}

.info-card:nth-child(2) .info-card-title,
.info-card:nth-child(2) .info-card-description,
.info-card:nth-child(2) .info-card-description p {
  color: var(--white);
}

.info-card:nth-child(2) .info-card-link {
  color: var(--white);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}

.info-card-icon {
  flex-shrink: 0;
}

.info-card-title {
  margin-bottom: 0;
}

.info-card-description {
  margin-bottom: 2.4rem;
  flex-grow: 1;
  font-size: 1.3rem;
  color: var(--paragraphNormal);
}

.info-card-link {
  font-family: "League Spartan", sans-serif;
  color: var(--cta);
  font-weight: 500;
  font-size: 1.6rem;
  text-decoration: none;
  margin-top: auto;
}

.info-card:hover {
  cursor: pointer;
}

.info-card:hover .info-card-link {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .info-header {
    grid-template-columns: 1fr;
    text-align: start;
  }
}

.projects-section {
  padding: 16.4rem 0; /* Adjusted padding */
  background-color: var(--white);
}

@media (max-width: 1024px) {
  .projects-section {
    padding: 6.4rem 0;
  }
}

.projects-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4.8rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

/* --- Karta Projektu --- */
.project-card {
  display: block;
  text-decoration: none;
  border-radius: 1.6rem;
  overflow: hidden;
  transition: transform 0.3s ease-out; /* Added transition */
}

.project-card:hover {
  transform: translateY(-0.5rem);
}

.project-card-image img {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  display: block;
}

.project-card-content {
  padding: 2.4rem;
}

.project-card-title {
  color: #2b2a2b;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.project-card-excerpt {
  color: var(--paragraphNormal);
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
}

.project-card-link {
  font-family: "League Spartan", sans-serif;
  color: #0f416f;
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 500;
}

/* Responsywność dla siatki projektów */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.projects-grid-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  margin-top: 6.4rem;
  margin-bottom: 4.8rem;
}

@media (max-width: 1024px) {
  .projects-grid-archive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid-archive {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  #projects-splide .splide__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #projects-splide .splide__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
}

#projects-splide .splide__slide {
  display: flex;
  align-items: stretch;
}

.btn-projects-desktop {
  display: none;
}
.projects-footer-mobile {
  display: flex;
  justify-content: start;
  margin-top: 2.4rem;
}

@media (min-width: 768px) {
  .btn-projects-desktop {
    display: inline-block;
  }
  .projects-footer-mobile {
    display: none;
  }
}

.footer-banner {
  position: relative;
}

.footer-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-banner .desktop-banner {
  display: none;
}

.footer-banner .mobile-banner {
  display: block;
}

/* BANNER DESKTOP */
.banner-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 9rem 3rem 5rem 2rem;
  box-sizing: border-box;
}

.banner-text-block {
  color: white;
  text-align: left;
  max-width: 100%;
}

.banner-text-block h2 {
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1.2;
}

.banner-text-block .description {
  font-size: 1.3rem;
  line-height: 1.6;
}

.banner-button {
  margin-top: 1.2rem;
}

.footer-banner .btn-main {
  font-size: 1.2rem;
  padding: 1.2rem 4.2rem 1.2rem 1.6rem;
}

.footer-banner .btn-main::after {
  width: 2.8rem;
  height: 2.8rem;
  background-size: 2.8rem;
  right: 0.8rem;
}

@media (min-width: 1014px) {
  .footer-banner .desktop-banner {
    display: block;
  }
  .footer-banner .mobile-banner {
    display: none;
  }
  .banner-content-overlay {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 4rem 2rem 16rem;
    gap: 3rem;
  }
  .banner-text-block {
    max-width: 50rem;
  }
  .banner-text-block h2 {
    font-size: 2.8rem;
  }
  .banner-text-block .description {
    font-size: 1.4rem;
  }
  .banner-button {
    margin-top: 0;
  }
  .footer-banner .btn-main {
    font-size: 1.8rem;
    padding: 1.6rem 5.4rem 1.6rem 2rem;
  }
  .footer-banner .btn-main::after {
    width: 3.2rem;
    height: 3.2rem;
    background-size: 3.2rem;
    right: 1.2rem;
  }
}

@media (min-width: 1161px) {
  .banner-content-overlay {
    padding: 0 10rem 5rem 22rem;
    gap: 4rem;
  }
}

@media (min-width: 1250px) {
  .banner-text-block h2 {
    font-size: 4.8rem;
    margin-bottom: 38px;
  }

  .banner-text-block {
    max-width: 72rem;
  }

  .banner-content-overlay {
    padding: 0 10rem 5rem 22rem;
  }
}

/* BANNER MOBILE */

@media (min-width: 365px) and (max-width: 545px) {
  .banner-content-overlay {
    padding: 16rem 3rem 5rem 2rem;
  }
}

@media (min-width: 545px) and (max-width: 1013px) {
  .banner-content-overlay {
    padding: 33rem 3rem 5rem 2rem;
  }
}

/* Footer */
.site-footer-custom {
  background-color: #f8f9fa;
  padding: 4rem 0;
  border-top: 1px solid #e9ecef;
  margin-top: 6.4rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}

.footer-branding a {
  display: inline-block;
  text-decoration: none;
}

.footer-branding img {
  height: 4rem;
  display: block;
}

.footer-social ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: block;
  padding: 0.8rem;
  border-radius: 50%;
  background-color: #edf2f7;
  transition: background-color 0.3s;
}

.footer-social a:hover {
  background-color: #e2e8f0;
}

.footer-social img {
  width: 2rem;
  height: 2rem;
  display: block;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: #e9ecef;
  margin: 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.footer-contact-box {
  background-color: #f0f4f8;
  padding: 2.4rem;
  border-radius: 2rem;
}

.contact-box-title {
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: var(--mainDark);
  margin: 0 0 2.4rem 0;
}

.contact-box-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.contact-box-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-box-list img {
  width: 2rem;
  height: 2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-box-list div {
  display: flex;
  flex-direction: column;
  font-size: 1.6rem;
  line-height: 2rem;
  color: var(--mainDark);
  font-weight: 500;
}

.contact-box-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-box-list a:hover {
  color: var(--cta);
}

.footer-widget-title {
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--mainDark);
  margin: 0 0 1.6rem 0;
  line-height: 2.4rem;
}

.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-menu-list a {
  color: #575757;
  text-decoration: none;
  font-size: 1.6rem;
  transition: color 0.3s;
  line-height: 2rem;
}

.footer-menu-list a:hover {
  color: var(--cta);
}

.footer-copyright {
  padding-top: 2.4rem;
  font-size: 1.3rem;
  color: #6c757d;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-copyright p {
  margin: 0;
}

.footer-copyright a {
  color: #6c757d;
  text-decoration: underline;
}

.footer-copyright a:hover {
  color: var(--cta);
}

@media (min-width: 768px) {
  .site-footer-custom {
    padding: 6rem 0;
  }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-branding img {
    height: 4.8rem;
  }
  .footer-bottom-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
  }
  .contact-box-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.6rem 2.4rem;
  }
  .contact-box-list li:first-child {
    grid-row: 1 / span 3;
  }
  .footer-copyright {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* === Strona Kontakt === */
.office-image-section {
  position: relative;
  z-index: 3;
  margin-top: 6.4rem;
}

.office-image-section img {
  width: 100%;
  height: auto;
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
  display: block;
}

.contact-info-bar-section {
  background-color: white;
  padding: 3.2rem 0;
}

.contact-info-bar {
  background-color: var(--white);
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  padding: 2.4rem 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.info-bar-title {
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--mainDark);
}

.info-bar-details {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  font-size: 1.8rem;
  color: var(--mainDark);
  background-color: #f8f9fa;
  padding: 2.4rem;
  border-radius: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
}

.info-item img {
  width: 4.8rem;
  height: 4.8rem;
}

.info-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.info-item div {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  line-height: 1.5;
}

/* CONTACT FORM */
.contact-form-section {
  margin-top: 6.4rem;
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: 2rem;
  padding: 3.2rem;
}

.form-title {
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--mainDark);
  margin: 0 0 2.4rem 0;
}

.map-section {
  margin-top: 6.4rem;
}

.google-map-embed iframe {
  width: 100%;
  height: 69.2rem;
  border: 0;
}

@media (min-width: 992px) {
  .contact-info-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .info-bar-details {
    flex-direction: row;
    gap: 1.6rem;
  }
}

.contact-form-wrapper .wpcf7-form p {
  margin: 0;
}

.contact-form-wrapper .form-inputs-grid + p {
  margin-top: 2.4rem;
}

.contact-form-wrapper .form-footer {
  margin-top: 2.4rem;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
  width: 100%;
  padding: 1.8rem 2.4rem;
  border: none;
  background-color: #f8f8f8;
  border-radius: 0;
  font-size: 1.5rem;
  color: #7a7a7a;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form-wrapper textarea {
  min-height: 18rem;
  resize: vertical;
}

.contact-form-wrapper .form-footer > p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-form-wrapper .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 1.4rem;
  color: #4a5568;
}

.contact-form-wrapper .wpcf7-submit.btn-main {
  display: inline-block;
  padding: 1.6rem 5.4rem 1.6rem 2rem;
  border-radius: 99.9rem;
  background-color: var(--brandYellow);
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  letter-spacing: 0;
  color: var(--mainDark);
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.3s ease;
  text-align: left;
  background-image: url("img/arrow-right.svg");
  background-repeat: no-repeat;
  background-size: 3.2rem 3.2rem;
  background-position: right 1.2rem center;
}

.contact-form-wrapper .wpcf7-submit.btn-main:hover {
  background-color: #d8c635;
  color: var(--mainDark);
}

@media (min-width: 992px) {
  .contact-form-wrapper .form-inputs-grid > p {
    display: flex;
    flex-direction: row;
    gap: 2.4rem;
  }
  .contact-form-wrapper .form-inputs-grid .wpcf7-form-control-wrap {
    flex: 1;
  }
  .contact-form-wrapper .form-inputs-grid > p > br {
    display: none;
  }
}

/* Commission Section */
.commissions-intro-text {
  font-family: "League Spartan", sans-serif;
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1.6;
  text-align: center;
  color: var(--mainDark);
  max-width: 98rem;
  margin: 12.4rem auto;
}

@media (max-width: 768px) {
  .commissions-intro-text {
    font-size: 2.4rem;
    margin-top: 6.4rem;
    margin-bottom: 6.4rem;
  }
}

.commissions-list-container {
  margin-top: 8rem;
  margin-bottom: 12.4rem;
  max-width: 98rem;
  margin-left: auto;
  margin-right: auto;
}

.commissions-grid {
  display: flex;
  gap: 1.6rem;
}

.commissions-grid .grid-item {
  flex: 1;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.2rem;
  color: var(--white);
  position: relative;
  transition: transform 0.3s ease;
}

.commissions-grid .grid-item:hover {
  transform: translateY(-0.5rem);
}

.commissions-grid .grid-item .icon {
  margin-bottom: 1.6rem;
}

.commissions-grid .grid-item h4 {
  color: inherit;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.commissions-grid .arrow-icon {
  width: 2.4rem;
  height: 2.4rem;
  position: absolute;
  bottom: 0.5rem;
  right: 0.8rem;
  -webkit-mask-image: url("img/arrow-down-right.svg");
  mask-image: url("img/arrow-down-right.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: var(--white);
}

.commissions-grid .item-2 {
  background-color: #1a4a7a;
}
.commissions-grid .item-1 {
  background-color: #343a40;
}
.commissions-grid .item-3 {
  background-color: #f8e71c;
  color: var(--mainDark);
}
.commissions-grid .item-4 {
  background-color: var(--white);
  color: var(--mainDark);
  border: 1px solid #f0f0f0;
}

.commissions-grid .item-3 .arrow-icon,
.commissions-grid .item-4 .arrow-icon {
  background-color: var(--mainDark);
}

@media (max-width: 992px) {
  .commissions-grid {
    flex-wrap: wrap;
  }
  .commissions-grid .grid-item {
    flex-basis: calc(50% - 0.8rem);
  }
}

@media (max-width: 576px) {
  .commissions-grid .grid-item {
    flex-basis: 100%;
  }
}

/* --- Commission Details Sections --- */
.commission-details-background-wrapper {
  background-color: var(--white);
  padding: 12rem 0;
}

.commission-details-container {
  margin-top: 0;
}

.commission-details-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26.7rem;
  margin: 0 auto;
  padding: 0;
  scroll-margin-top: 300px;
}

.commission-details-section:not(:last-child) {
  border-bottom: 1px solid #eaeaea;
}

.commission-info-wrapper {
  flex-basis: 58%;
}

.commission-member-wrapper {
  flex-basis: 42%;
  max-width: 41.2rem;
}

.commission-icon {
  width: 12.5rem;
  height: 12.4rem;
  margin-bottom: 2.4rem;
}

.commission-title {
  font-family: "League Spartan", sans-serif;
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--mainDark);
  margin-bottom: 1.6rem;
}

.commission-description {
  font-size: 1.8rem;
  line-height: 1.8;
  color: #555;
}

.member-card {
  background-color: transparent;
  position: relative;
}

.member-image-container {
  position: relative;
  z-index: 2;
}

.member-image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.member-info-container {
  background-color: var(--white);
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  padding: 2.4rem;
  position: relative;
  z-index: 1;
}

.member-name {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--mainDark);
  margin: 0;
}

.member-role {
  font-size: 1.4rem;
  color: var(--mainDark);
  line-height: 2.4rem;
  margin-top: 0.8rem;
  margin-bottom: 1.6rem;
}

.member-contact {
  border-top: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: flex-start;
  padding-top: 1.6rem;
}

.contact-item a {
  font-size: 1.8rem;
  color: var(--mainDark);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--cta);
}

@media (max-width: 992px) {
  .commission-details-section {
    gap: 3.2rem;
  }
}

@media (max-width: 768px) {
  .commission-details-background-wrapper {
    padding: 8.8rem 0;
  }
  .commission-details-section {
    flex-direction: column;
    gap: 4.8rem;
  }
}

.governing-bodies-section {
  padding: 4rem 0;
}

.bodies-container {
  background-color: #ffffff;
  padding: 2.4rem 3.6rem;
  border-radius: 1.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.bodies-title {
  font-size: 2.4rem;
  color: var(--mainDark);
  margin: 0 3.2rem 0 0;
  font-weight: 500;
}

.bodies-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.bodies-list li {
  display: flex;
  align-items: center;
  margin-right: 3.2rem;
}

.bodies-list li:last-child {
  margin-right: 0;
}

.bodies-list li::before {
  content: "•";
  margin-right: 1.2rem;
  color: #333333;
}

.bodies-list li a {
  font-size: 1.8rem;
  color: var(--mainDark);
  text-decoration: none;
  font-weight: 500;
  line-height: 2.4rem;
}

.bodies-list li a:hover {
  color: #0056b3;
}

@media (max-width: 992px) {
  .bodies-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .bodies-title {
    margin-right: 0;
    margin-bottom: 1.6rem;
  }
  .bodies-list {
    flex-direction: column;
    align-items: flex-start;
  }
  .bodies-list li {
    margin-right: 0;
    margin-bottom: 1.2rem;
  }
  .bodies-list li:last-child {
    margin-bottom: 0;
  }
}

.law-quote-section {
  padding: 6rem 0;
  text-align: center;
}

.law-main-text {
  max-width: 95.2rem;
  margin: 0 auto 6rem auto;
}

.law-main-text p {
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 120%;
  letter-spacing: 0px;
  text-align: center;
  color: #333;
}

.law-quote-block {
  position: relative;
  max-width: 95.2rem;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 4.8rem;
  border-top-left-radius: 6.4rem;
  border-bottom-right-radius: 6.4rem;
}

.quote-icon {
  position: absolute;
  top: -2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4.8rem;
  height: 4.8rem;
}

.quote-content p {
  font-size: 2.4rem;
  line-height: 130%;
  color: var(--mainDark);
  text-align: left;
}

@media (max-width: 768px) {
  .law-main-text p {
    font-size: 2.4rem;
  }
  .law-quote-block {
    padding: 5rem 2.4rem 3rem 2.4rem;
  }
}

.timeline-section {
  padding: 8rem 0;
  background-color: #f8f9fa;
}

.timeline-main-title {
  text-align: center;
  font-size: 3.6rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8rem;
}

.timeline {
  position: relative;
  max-width: 90rem;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  width: 0.3rem;
  background-color: #e9ecef;
  top: 1rem;
  bottom: 1rem;
  left: 10rem;
  margin-left: -1.5px;
}

.timeline-line.active {
  background-color: #007bff;
  height: 0;
  transition: height 0.2s linear;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
}

.timeline-year {
  width: 10rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 4.2rem;
}

.year-text {
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--cta);
  line-height: 130%;
}

.dot {
  position: absolute;
  right: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: #e0edff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transform: translateX(50%);
}

.dot-inner {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: #007bff;
}

.timeline-content {
  flex: 1;
  padding-left: 3rem;
}

.content-card {
  background-color: white;
  border-radius: 1.6rem;
  padding: 2.4rem;
  border: 1px solid #dee2e6;
}

.content-card p {
  margin: 0;
  line-height: 130%;
  color: #575757;
  font-size: 2.4rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .timeline-main-title {
    font-size: 2.8rem;
    margin-bottom: 6rem;
  }
  .timeline-line,
  .timeline-line.active {
    left: 2rem;
  }
  .timeline-year {
    display: none;
  }
  .timeline-item {
    padding-left: 4.5rem;
  }
  .dot {
    left: 2rem;
    transform: translateX(-50%);
  }
  .timeline-content {
    padding-left: 1.5rem;
    width: 100%;
  }
  .content-card p {
    font-size: 1.8rem;
  }
  .content-card::before {
    content: attr(data-year);
    display: block;
    font-size: 2.6rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 0.8rem;
  }
}

.situational-plan-container {
  margin-top: 64px;
}
.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6.2rem;
  flex-wrap: wrap;
  gap: 20px;
}
.plan-header .entry-title {
  margin: 0;
  font-weight: 600;
  font-size: 48px;
  line-height: 130%;
}

.plan-download-button {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  padding: 12px 24px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.plan-download-button:hover {
  background-color: #e9e9e9;
}
.plan-image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e0e0e0;
}
/* Responsive styles for header */
@media (max-width: 768px) {
  .plan-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*
 * ===================================================================
 * == OSTATECZNE Style dla Galerii (z poprawką z-index) ==
 * ===================================================================
 */

/*
 * ===================================================================
 * == OSTATECZNE Style dla Galerii z Lightboxem i Efektem Hover ==
 * ===================================================================
 */

.photo-gallery-section {
  padding-top: 4em;
  padding-bottom: 4em;
}

.gallery-title {
  font-size: 4.8rem;
  line-height: 130%;
  margin-bottom: 32px;
  font-weight: 600;
}

.gallery-content-wrapper p {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}

/* Stylujemy kontener DIV, który odpowiada za wygląd i :hover */
.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 464 / 309;
  cursor: zoom-in; /* Kursor z Pana kodu */
}

/* --- NOWA, KLUCZOWA REGULA --- */
/* Stylujemy link <a>, aby wypełniał cały kontener */
.gallery-image-wrapper a.gallery-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-image-wrapper:hover img {
  transform: scale(1.1);
}

/* Nakładka (overlay) */
.gallery-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f416f;
  opacity: 0;
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none; /* Pozwala na klikanie "przez" nakładkę */
}

.gallery-image-wrapper:hover::before {
  opacity: 0.8;
}

/* Ikona lupy */
.gallery-image-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-image: url("img/zoom-in.svg");
  background-size: 64px 64px;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2;
  pointer-events: none; /* Pozwala na klikanie "przez" ikonę */
}

.gallery-image-wrapper:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Responsywność */
@media (max-width: 991px) {
  .gallery-content-wrapper p {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-content-wrapper p {
    grid-template-columns: 1fr;
  }
}

.custom-section-1 {
  max-width: 872px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6.4rem;
}

.custom-section-1 h2 {
  text-align: center;
  color: var(--mainDark);
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 130%;
  margin-bottom: 3.2rem;
}

.custom-section-1 .description {
  text-align: center;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  color: var(--paragraphNormal);
}

.about-dormitories-wrapper {
  background-color: white;
  margin-top: 6.4rem;
}

.about-dormitories-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10rem;
  align-items: start;
  padding: 88px 0;
}

.about-dormitories-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

.about-dormitories-left .section-title {
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 130%;
  color: var(--mainDark);
}

.about-dormitories-left .btn-main {
  width: fit-content;
}

.about-dormitories-right {
  font-size: 1.6rem;
  line-height: 2.7rem;
  color: var(--paragraphNormal);
}

.about-dormitories-right ul {
  list-style: disc;
  margin: 0 !important;
}

.about-dormitories-right ul li {
  margin-left: 2.4rem;
}

@media (max-width: 991px) {
  .about-dormitories-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-dormitories-left {
    gap: 4rem;
    align-self: auto;
  }
}

.dormitory-slider-wrapper {
  padding-top: 6rem;
  padding-bottom: 6rem;
  /* --- ZMIANA --- */
  /* Ustawiamy wyśrodkowanie, jeśli slider jest węższy niż strona */
  display: flex;
  justify-content: center;
}

/* 2. Kontener samego slidera Splide */
#splide-akademiki.splide {
  overflow: visible;
}

/* 3. Pojedynczy slajd */
#splide-akademiki .splide__slide {
  /* --- ZMIANA --- */
  /* Upewniamy się, że slajd ma dokładnie zadaną wysokość */
  height: 677px;
}

/* 4. Obrazek wewnątrz slajdu */
#splide-akademiki .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* 5. Strzałki nawigacyjne (bez zmian) */
#splide-akademiki .splide__arrow {
  background-color: white;
  width: 56px;
  height: 56px;
  opacity: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#splide-akademiki .splide__arrow svg {
  fill: var(--mainDark);
}

/* 6. Pozycjonowanie strzałek (bez zmian) */
#splide-akademiki .splide__arrow--prev {
  left: -28px;
}

#splide-akademiki .splide__arrow--next {
  right: -28px;
}

.neighborhood-section-wrapper {
  margin-top: 6.4rem;
}

.neighborhood-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14.7rem;
  align-items: center;
  padding: 88px 0;
}

.neighborhood-content .section-title {
  font-size: 4.8rem;
  font-weight: 600;
  line-height: 130%;
  color: var(--mainDark);
  margin-bottom: 2.4rem;
}

.neighborhood-content .description {
  font-size: 1.6rem;
  line-height: 2.7rem;
  color: var(--paragraphNormal);
}

.neighborhood-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 991px) {
  .neighborhood-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 500px) {
  .presidium-splide__container {
    margin-left: -1.6rem;
    margin-right: -1.6rem;
  }

  .presidium-splide__container h2,
  .presidium-splide__container .presidium-entry {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .presidium-splide__container .splide__track {
    padding-left: 1.6rem !important; /* !important, aby nadpisać styl inline dodany przez Splide.js */
  }

  .projects-section .splide {
    margin-left: -1.6rem;
    margin-right: -1.6rem;
  }

  .projects-section .splide .splide__track {
    padding-left: 1.6rem !important; /* !important, aby nadpisać styl inline dodany przez Splide.js */
  }
}

/* --- Układ sekcji Rzecznika --- */
.ombudsman-layout {
  display: flex;
  gap: 8rem;
  align-items: flex-start;
  margin-top: 167px;
}

.ombudsman-layout .post-card {
  flex: 0 0 38rem;
}

.ombudsman-layout .ombudsman-description {
  flex: 1; /* Opis zajmuje resztę dostępnego miejsca */
  padding-top: 1rem;
}

.ombudsman-description p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 2rem;
}

.contact-item {
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.2rem; /* Zmniejszono odstęp dla lepszego dopasowania */
}

.contact-item .btn-link-normal,
.contact-item .body-regular-2 {
  color: #495057;
  text-decoration: none;
}

/* --- Responsywność --- */
@media (max-width: 1024px) {
  .ombudsman-layout {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .ombudsman-layout .post-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 42rem; /* Ograniczenie szerokości na mobile */
  }
}

.file-attachments__container {
  background-color: white;
  width: 100%;
  margin-top: 164px;
}

/* --- Sekcja z załącznikami (nowe style) --- */
.file-attachments {
  padding: 6.4rem 0; /* Dodano odstęp */
}

.file-attachments__title {
  font-size: 3.6rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 3.2rem;
}

.file-attachments__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  /* Odstępy między plikami */
  gap: 1.6rem 2.4rem; /* 1.6rem pionowo, 2.4rem poziomo */
}

.file-item__link {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #f8f9fa; /* Jasnoszare tło */
  border-radius: 99px; /* Zaokrąglenie "pigułki" */
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.file-item__link:hover {
  background-color: #f1f3f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-decoration: underline;
}

.file-item__icon {
  width: 2rem;
  height: 2rem;
  margin-right: 1.2rem;
}

.file-item__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--mainDark);
  white-space: nowrap;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
  .file-attachments__list {
    /* Na mobile wracamy do jednej kolumny */
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}

/* --- Główny kontener sekcji --- */
.legal-info-section {
  display: flex;
  margin-top: 164px;
  align-items: stretch;
}

/* --- Lewa kolumna (biała karta) --- */
.legal-info-section__left {
  flex: 1 1 50%;
  min-width: 0; /* KLUCZOWA ZMIANA: Pozwala kolumnie być węższą niż jej treść */

  background-color: var(--white);
  padding: 4rem;
  border-radius: 2.4rem 0 0 2.4rem;
  border-right: none;
}

.legal-info-section__title {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--mainDark);
  line-height: 1.4;
  margin: 0 0 2.4rem 0;
}

.legal-info-section__list {
  padding-left: 3.8rem;
  margin: 0;
  color: var(--paragraphNormal);
}

.legal-info-section__list li {
  font-size: 1.6rem;
  line-height: 1.8;
}

.legal-info-section__right {
  flex: 1 1 50%;
  min-width: 0; /* KLUCZOWA ZMIANA: Pozwala kolumnie być węższą niż jej treść */
  display: flex;
}

/* --- Niebieska karta --- */
.legal-box {
  background-color: #0f416f;
  color: var(--white);
  padding: 4rem;
  border-radius: 0 2.4rem 2.4rem 0;
  width: 100%;
  height: 100%;
}

.legal-box__title {
  font-size: 4.8rem;
  font-weight: 700;
  margin: 0 0 2.4rem 0;
  padding-bottom: 1.6rem;
  color: var(--white);
}

.legal-box__content p {
  font-size: 1.6rem;
  line-height: 2.7rem;
  color: var(--white);
}

.legal-box__content p:last-child {
  margin-bottom: 0;
}

/* --- Responsywność --- */
@media (max-width: 1024px) {
  .legal-info-section {
    flex-direction: column;
    gap: 2.4rem;
  }

  .legal-info-section__left,
  .legal-box {
    border-radius: 2.4rem;
  }
}

@media (max-width: 768px) {
  .legal-info-section__left,
  .legal-box {
    padding: 2.4rem;
  }

  .legal-info-section__title,
  .legal-box__title {
    font-size: 2.8rem;
  }
}

.tasks-section {
  padding: 164px 0;
}

.tasks-section__title {
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--mainDark);
  margin-bottom: 2.4rem;
}

.tasks-section__content p {
  font-size: 1.6rem;
  color: var(--paragraphNormal);
}

/* --- Style dla strony z dokumentami --- */

/* Główny kontener dla wszystkich sekcji */
.document-sections-container .section-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.document-section + .document-section {
  margin-top: 6.4rem;
}

.document-section--special {
  max-width: 775px;
}

.document-section__description {
  font-size: 2.4rem;
  line-height: 130%;
  color: var(--mainDark);
  font-weight: 500;
  margin-bottom: 24px;
}

.document-section__title {
  font-size: 4.8rem;
  font-weight: 600;
  margin-bottom: 3.2rem;
  color: var(--mainDark);
}

.document-file-attachments__list {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.document-file-attachments__list .file-item {
  display: block;
}

.document-file-attachments__list .file-item__link {
  display: inline-flex;
  align-items: center;
  background-color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  color: var(--mainDark);
  font-weight: 500;
  font-size: 1.8rem;
  max-width: 100%;
}

.document-file-attachments__list .file-item__link:hover {
  text-decoration: underline;
}

.document-file-attachments__list .file-item__icon {
  margin-right: 12px;
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.document-file-attachments__list .file-item__title {
  white-space: normal;
  word-break: break-word;
  min-width: 0;
}

.regular-sections-wrapper {
  background-color: white;
}

.regular-sections-wrapper .section-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.regular-sections-wrapper .document-file-attachments__list .file-item__link {
  background-color: #f8f9fa;
}

/* FAQ */

.faq-container {
  margin-top: 164px;
}

.faq-item {
  transition: background-color 0.3s ease;
  background-color: var(--white);
  margin-bottom: 24px;
}

.faq-section__container {
  display: flex;
  flex-direction: column;
}

.faq-section .main-title {
  color: var(--mainDark);
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 120%;
  text-align: center;
  margin-bottom: 3.2rem;
}

.faq-section__container:not(:last-child) {
  margin-bottom: 188px;
}

/* Kontener na pytanie */
.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 16px;
  font-size: 2.4rem;
}

.faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-content {
  padding: 20px 16px;
}

.faq-answer-content p:first-child {
  margin-top: 0;
}
.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* --- Sekcja Linków na Stronie Stypendiów --- */

.scholarship-links-section {
  padding: 100px 0;
  background-color: #f7f8fa; /* Jasnoszary kolor tła */
}

/* Używamy tutaj prostej klasy .container do wyśrodkowania treści */
.scholarship-links-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
}

@media (max-width: 768px) {
  .scholarship-links-section .container {
    width: 100%;
    padding: 0;
  }
}

.scholarship-links-section .section-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: var(--mainDark);
  margin-bottom: 24px;
  max-width: 927px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .scholarship-links-section .section-title {
    font-size: 2.4rem;
  }
}

.scholarship-links-list {
  display: flex;
  flex-direction: column;
  align-items: center; /* Wyśrodkowanie linków w poziomie */
  gap: 16px; /* Odstęp pomiędzy linkami */
}

@media (max-width: 768px) {
  .scholarship-links-list {
    gap: 12px;
  }
}

.scholarship-link-item {
  display: inline-flex; /* Ustawienie flex dla zawartości w jednej linii */
  align-items: center;
  background-color: var(--white);
  padding: 16px 24px;
  border-radius: 50px;

  font-size: 1.8rem;
  text-align: left;
}

@media (max-width: 768px) {
  .scholarship-link-item {
    font-size: 1.6rem;
    padding: 12px 20px;
  }
}

.scholarship-link-item .link-title {
  color: var(--mainDark);
  text-decoration: underline;
}

.scholarship-link-item .link-description {
  color: var(--paragraphNormal);
  margin-left: 6px;
}

.scholarship-link-item:hover {
  transform: translateY(-4px);
}

/* Stylizacja ikony SVG wewnątrz linku */
.scholarship-link-item svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0; /* Zapobiega kurczeniu się ikony */
}

.scholarships-faq-main-title {
  text-align: center;
  margin-bottom: 64px;
}

.scholarships-faq-section-spacer:not(:last-child) {
  margin-bottom: 64px;
}

/* --- Style dla Strony Wyników Wyszukiwania --- */
/* WordPress automatycznie dodaje tę klasę do <body> */
.search-results .site-main {
    padding-top: 80px;
    padding-bottom: 120px;
}

/* --- Nagłówek i Formularz Wyszukiwania --- */
.search-page-header {
    text-align: center;
    margin-bottom: 80px;
}

.search-page-header .page-title {
    font-size: 4.2rem;
    font-weight: 600;
    color: var(--mainDark);
}

.search-page-header .page-title span {
    color: var(--cta);
}

.search-page-header p {
    font-size: 1.6rem;
    color: var(--paragraphNormal);
    margin-top: 16px;
    margin-bottom: 24px;
}

.search-form-on-page .search-form {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--neutral300);
    border-radius: 8px;
    overflow: hidden;
}

.search-form-on-page .search-field {
    flex-grow: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1.6rem;
    color: var(--mainDark);
    background-color: var(--white);
    width: 100%;
}

.search-form-on-page .search-field:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--cta);
}

.search-form-on-page .search-field::placeholder {
    color: var(--paragraphLight);
    opacity: 1;
}

.search-form-on-page .search-submit {
    border: none;
    background-color: var(--cta);
    color: var(--white);
    padding: 0 32px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.search-form-on-page .search-submit:hover {
    background-color: var(--ctaHover);
}


/* --- Lista Wyników --- */
.search-results-list {
    display: grid;
    gap: 32px; /* Odstęp między kartami */
}

.search-result-item {
    background-color: var(--white);
    border: 1px solid var(--neutral200);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search-result-item .entry-title {
    font-size: 2.4rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.search-result-item .entry-title a {
    color: var(--mainDark);
    text-decoration: none;
}
.search-result-item .entry-title a:hover {
    color: var(--cta);
}

.search-result-item .entry-summary {
    color: var(--paragraphNormal);
    line-height: 1.7;
    margin-bottom: 24px;
}

.search-result-item .read-more-link {
    display: inline-block;
    background-color: var(--cta);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-result-item .read-more-link:hover {
    background-color: var(--ctaHover);
}

/* --- Paginacja --- */
.search-results .ast-pagination {
    margin-top: 60px;
    justify-content: center; /* Wyśrodkowanie paginacji */
}

.search-results .ast-pagination .page-numbers {
    border-color: var(--neutral300);
    color: var(--cta);
}

.search-results .ast-pagination .page-numbers.current,
.search-results .ast-pagination .page-numbers:hover {
    background-color: var(--cta);
    color: var(--white);
    border-color: var(--cta);
}

.privacy-policy-content {
    padding-top: 80px;
    padding-bottom: 120px;
    max-width: 960px; /* Ustawiamy maksymalną szerokość dla lepszej czytelności */
    margin: 0 auto;   /* Centrujemy kontener */
}

.privacy-policy-content h2 {
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--mainDark);
    margin-top: 80px; 
    padding-bottom: 16px;
}

/* Zerujemy margines górny dla pierwszego nagłówka H2, aby nie tworzyć podwójnego odstępu od góry */
.privacy-policy-content h2:first-of-type {
    margin-top: 0;
}

.privacy-policy-content h3 {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--mainDark);
    /* Zwiększamy margines górny, aby oddzielić podsekcje */
    margin-top: 64px; 
    margin-bottom: 20px;
}

body.error404 #primary,
body.error404 #main {
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Ustawiamy sekcji DOKŁADNIE taką samą wysokość i margines jak na stronie głównej */
body.error404 .hero-section {
    height: 75.9rem; /* Używamy dokładnej wartości z homepage.php */
    margin-bottom: 0; /* Na stronie 404 nie potrzebujemy marginesu na dole */
}

/* 3. Style dla unikalnych elementów tekstowych na stronie 404 (bez zmian) */
body.error404 .hero-content {
    text-align: center;
    color: var(--white);
}

.error-text {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.error-image-title {
    margin-bottom: 24px;
}

.error-image-title img {
    max-width: 100%;
    height: auto;
}

body.error404 .hero-description {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 40px;
}

