body {
	margin-bottom: 0 !important;
}

.front-menu-wrapper {
	border-bottom: solid 18px brown;
	border-image: linear-gradient(
90deg, rgb(23, 19, 18) 50%, rgb(157, 106, 59) 50% ) 9;
	overflow: hidden;
	display: grid;
	grid-template-columns: 100% 2fr;
	justify-items: right;
}

.front-menu-column {
	display: grid;
}

.front-menu-group  {
	float: right;
	background-color: rgba(255, 255, 255, 0.3);
	height: 100%;
	right: 0;
	top: 0;
	grid-area: 1 / 1 / 1 / 1;
	z-index: 1;
}

#bs-navbarNav, #bs-pageNavbarNav {
	font-family: Kadwa, Open Sans;
	line-height: 3rem;
	text-align: center;
	margin: auto;
	color: #353535;
}

.front-menu-group .front-page-nav li {
	list-style: none;
}

.front-menu-group .front-page-nav a {
	text-decoration: none;
	color: #17293A;
}

.front-menu a:hover {
	background-color: #C4C4C4;
}

.front-menu ul, ol {
	margin: 0 auto;
	
}

.front-menu li:hover {
	background-color: rgba(255, 255, 255, 0.3);

}

var {
	font-family: Dosis;
}

.entry-content {
	margin-top: 0 !important;
}

/* ------------------------------------------------------------------- MOJE ZMIANY --------------------------------------------------------*/
/*-------------------------------------- MENU ----------------------------------*/
#masthead {
  background-color: #C1783C !important;
}

.custom-logo-link img {
  width: 100%;
}

.nav-item {
  margin: auto !important;
}

.nav-item-static {
  color: #353535;
}

.collapse ul {
  margin: auto !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
  margin-top: 10px !important;
}

.nav-link {
  color: white;
}

#masthead {
  border-bottom: 1px solid black;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1; 
}

.nav-item {
  position: relative;
}

.nav-item .submenu {
  display: none; 
  position: absolute;
  top: 100%; 
  left: 0; 
  padding: 10px; 
  border-radius: 4px;
  width: max-content;
}

.nav-item.parafia:hover .submenu {
  display: block; 
}

.nav-link {
  color: white;
  text-decoration: none; 
  padding: 20px;
  transition: padding 0.3s ease;
}

.submenu li {
  margin-bottom: 5px; 
  background-color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
}

.submenu a:hover {
  background-color: black;
}

.sumbenu1 a:hover {
  background-color: black;
}

.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.5) !important;
  transition: background-color 0.3s ease !important;
}

.dropdown-menu li a:hover {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-nav {
  justify-content: center;
  width: 100%;
}

.sticky-container {
  position: fixed;
  width: 100%;
  z-index: 1000;
  height: 100px; 
  transition: height 0.3s ease;
}

.sticky-container.scrolled {
  background-color: #fff;
  color: black;
  box-shadow: 0px 6px 8px rgb(15 15 15 / 14%);
  height: 60px; 
}

.sticky-container.scrolled .nav-link {
  color: black;
  padding: 10px;
}

.nav-item-scrolled {
  color: black !important;
}

.menu-item span {
}

.navbar-nav .sub-menu {
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 0; 
  z-index: 999;
}

.navbar-nav .sub-menu-level2 {
  top: 0; 
  left: 100%;
}

.navbar-nav .sub-menu-level3 {
  top: 0; 
  left: 100%; 
}

.navbar-nav li:hover > .sub-menu {
  display: block; 
}

.dropdown-menu li a span {
  color: white !important;
}
.navbar-nav .menu-item a span {
  position: relative;
  text-decoration: none;
}

.navbar-nav .menu-item a span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: green;
  transition: width 0.3s ease;
}

.navbar-nav .menu-item a span:hover::after {
  width: 100%;
}

/* .menu-item span .underline {
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.menu-item:hover span .underline {
  width: 100%;
} */
.custom-logo {
  transition: transform 0.3s ease, height 0.3s ease;
}

.sticky-container.scrolled .custom-logo {
  transform: scale(0.6);
}

.sticky-container .navbar {
  height: 100px;
  transition: height 0.3s ease;
}

.sticky-container.scrolled .navbar {
  height: 60px;
}

.header-container {
  padding-top: 50px;
  transition: padding-top 0.3s ease; 
}

.sticky-container.scrolled .header-container {
  padding-top: 30px;
}

/*------ SUBPAGE MENU --------*/
.subpages-menu-class .nav-item-static {
  color: #353535;
}

.sticky-container .custom-logo {
  height: 100px;
}

/* Stylizacja menu hamburgera na urządzeniach mobilnych */
@media (max-width: 767px) {
  .custom-logo {
    display: none;
  }
  #bs-navbarNav {
    background-color: white;
  }
  .container button {
    margin-bottom: 10px;
  }
  #bs-navbarNav a.nav-link {
    background-color: white;
    transition: background-color 0.3s, color 0.3s;
  }
  #bs-navbarNav a.nav-link:hover {
    background-color: #f2c978;
    color: white; 
  }
  .navbar-nav li a {
    color: black;
    color: white;
  }
  .navbar-nav li a:hover {
    background-color: #323232; 
    color: white;
  }
}





/*-------------------------------------- HEADER --------------------------------*/
.header-container {
  padding-top: 100px;
}

.header-title div {
  font-family: 'Kalam', serif;
}

 .reveal {
   position: relative;
   transform: translateY(150px);
   opacity: 0;
   transition: all 2s ease;
   }
  
   .reveal.active {
   transform: translateY(0px);
   opacity: 1;
   }

/*---------------------------------------- EWELINA --------------------------------------*/

.ewelina-container {
	padding: 0;
  padding-top: 150px;
}

.ewelina-title {
	max-width: 1000px;
	margin: 0 auto;
	font-family: Kalam;
}

.ewelina-text {
  text-indent: 30px;
  line-height: 1.8;
}

.ewelina-group {
	padding: 0;
}

#ewelina-columns {
  padding-bottom: 20px;
}

.ewelina-columns {
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Kadwa', serif;
	line-height: 1.5;
}


.ewelina-column1 {
	max-width: 480px;
	float: right;
	font-family: 'Kadwa', sans-serif;
}

.ewelina-image {
  margin-top: -125px !important;
}

.ewelina-image figure{
	margin-right: 0 !important;
}


.wp-block-columns {
  margin-bottom: 0;
}

/*---------------------------------------- SPINACH --------------------------------------*/



/*---------------------------------------- ZMIANA --------------------------------------*/
.zmiana-container {
	max-width: 1200px;
	margin: 0 auto;
	margin-top: 100px;
	margin-bottom: 150px;
	
}

.zmiana-title {
font-family: 'Kalam', cursive;
padding-bottom: 60px;
}

.zmiana-columns {
	font-family: 'Kadwa', sans-serif;
  padding-bottom: 60px;
}

.zmiana-bottom-text {
	font-family: 'Kadwa', sans-serif;
}

.zmiana-column1 {
  max-width: 440px;
  line-height: 1.8;
  margin: 0 auto !important;
  text-indent: 30px;
}

.zmiana-column2 {
  max-width: 440px;
  line-height: 1.8;
  margin: 0 auto !important;
  text-indent: 30px;
}
/*---------------------------------------- WSPIERAM --------------------------------------*/

.wspieram-columns {
  margin-bottom: -130px;
}

.wspieram-column1 {
  border-radius: 0 0 30px 0;
  font-family: 'Kadwa', sans-serif;
  line-height: 1.8;
  max-width: 800px;
  height: 400px;
  margin: 0 auto !important;
  margin-left: 0 !important;
}

.wspieram-group1 {
  max-width: 500px;
  margin: 0 auto !important;
  padding-top: 60px;
}

.wspieram-group1-title {
  text-indent: 50px;
}

.wspieram-column2 {
  font-family: 'Kadwa', sans-serif;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto !important;
}

.okladka-container {
  z-index: -999 !important;
}

/*---------------------------------------- ZAJMUJE --------------------------------------*/

.zajmuje-container {
	max-width: 1400px;
	margin: 0 auto;
	font-family: 'Kadwa', sans-serif;
	padding-top: 50px;
	padding-bottom: 100px;
	text-indent: 30px;
}

/*---------------------------------------- ARTYKUŁY --------------------------------------*/
.artykuly-container {
  max-width: 1400px;
  margin: 0 auto;
}

.artykuly-title {
  font-family: 'Kalam', sans-serif;
}

.latest-articles-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: block; /* Zamiast flexbox, podstawowe wyświetlanie */
}

.latest-articles-grid .col-md-4 {
  max-width: 412px;
  width: 100%;
  margin: 0 auto; /* Wyśrodkowanie kolumny */
  margin-bottom: 20px; /* Odstęp między wpisami */
}

.latest-articles-grid .post-thumbnail-container {
  position: relative;
  width: 100%;
  padding-top: 67%; /* Proporcje obrazu */
  overflow: hidden;
}

.latest-articles-grid .post-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.latest-articles-grid .post-thumbnail-container:hover .post-thumbnail img {
  transform: scale(1.1); /* Powiększenie obrazka na hover */
}

.latest-articles-grid .post-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); /* Przyciemnione tło */
  color: #fff;
  padding: 10px;
  text-align: center;
  transition: background 0.3s ease;
}

.latest-articles-grid .post-title-overlay:hover {
  background: rgba(0, 0, 0, 0.8); /* Ciemniejsze tło na hover */
}

.latest-articles-grid .post-title-overlay h4,
.latest-articles-grid .post-title-overlay p {
  margin: 0;
}


/*---------------------------------------- FOOTER --------------------------------------*/

#footer-sidebar section {
  margin-bottom: 0 !important;
}

.media-columns {
  max-width: 200px;
  margin: 0 auto;
}

.footer2 {
  max-height: 70px;
}

.footer-title-media {
  font-family: 'Kalam', sans-serif;
}

.footer-title-kontakt {
  font-family: 'Kalam', sans-serif;
}

.footer-small-text {
  font-family: 'Kanit', sans-serif;
}

/*---------------------------------------- PODSTRONY --------------------------------------*/
.subpage-contener {
	padding-top: 80px;
}
  
  .subpage-top {
   
	   width: 100%;
	   height: 400px;
	   background-size: cover;
   }
  
  .subpage-header {
	height: 400px;
	background-size: cover;
	position: relative;
  }
  
  .subpage-title {
	color: white;
	font-family: "Playfair Display", serif;
	font-size: 28px !important;
	text-transform: uppercase;
	position: relative;
	background: linear-gradient(183deg, rgba(2,0,34,0) 0%, rgba(0,0,0,0.37160801820728295) 72%, rgba(0,0,0,1) 100%);
	height: 100%;
	padding-left: 80px;
  margin-top: 78px;
  }
  
  .subpage-text {
  max-width: 1200px;
  padding-top: 60px;
	margin: 0 auto;
	font-size: 20px;
	font-family: 'Open Sans';
	min-height: 600px;
  }
  
  .subpage-title h1 {
  bottom: 15px;
	position: absolute;
	
  font-size: 3.2rem;
  }
  
  .subpage-contener {
	padding-bottom: 100px;
  }

  .katarzyna-subpage {
	max-width: 1000px;
	margin: 0 auto;
	padding-top: 70px;
  }
  
table {
  width: 900px;
  text-align: center;
  margin: 0 auto;
}

.archive-posts {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px; /* Dodatkowy odstęp na górze */
}

.archive-post {
  display: flex;
  margin-bottom: 20px;
  padding-top: 50px;
}

.archive-post-border {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.archive-post-thumbnail {
  flex: 0 0 auto;
  margin-right: 20px;
}

.archive-post-thumbnail img {
  max-width: 100%;
  height: auto;
}

.archive-post-content {
  flex: 1 1 auto;
}

.entry-title a {
  color: #1E74A9;
  font-weight: bold;
  text-decoration: none;
}

.entry-meta {
  margin-bottom: 10px;
}

.entry-summary {
  margin-top: 10px;
}

.page-title {
  text-align: center !important; 
}

.pagination {
  display: block !important;
  margin-top: 20px;
  text-align: center;
  width: 100%; /* Rozciągnięcie na całą szerokość */
  padding-bottom: 50px;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  border: 1px solid #ccc;
}

.pagination .page-numbers.current {
  background-color: #1E74A9;
  color: #fff;
  border-color: #1E74A9;
}

.page-numbers {
  background: none;
  text-decoration: none;
}

/*------------------------- WPISY -----------------------------*/

/* Main Content Area */
.content-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 150px 20px 20px 20px;
    background-color: #fff;
}

/* Article Styling */
article {
    margin-bottom: 40px;
}

.entry-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 10px;
}

.entry-title {
    font-size: 2.5em;
    margin: 0;
    color: #333;
}

.entry-meta {
    font-size: 0.9em;
    color: #999;
}

.entry-content {
    margin-top: 20px;
    font-size: 1.2em;
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-content a {
    color: #0073aa;
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-footer {
    margin-top: 20px;
    font-size: 0.9em;
    color: #999;
    border-top: 1px solid #e2e2e2;
    padding-top: 10px;
}

/* Comments Section */
.comments-area {
    margin-top: 40px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 20px;
}

.comment .comment-author {
    font-weight: bold;
}

.comment .comment-metadata {
    font-size: 0.9em;
    color: #999;
}

.comment .comment-content {
    margin-top: 10px;
}

/* Sidebar */
.sidebar {
    margin-top: 40px;
}

/* .widget {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}
 */
.widget-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 5px;
}
/* 
/* Responsive Design */
@media (max-width: 767px) {
    .content-area {
        padding: 80px 10px 10px 10px;
    }

    .entry-title {
        font-size: 2em;
    }
    .menu-item {
      min-width: 100% !important;
    }
    .navbar-nav .menu-item:hover {
      background-color: #323232; /* Nowy kolor tła po najechaniu */
      color: white; /* Kolor tekstu po najechaniu */
    }
}

@media (max-width: 781px) {
  .ewelina-image img {
    padding-top: 100px;
  }
  .ewelina-image figure {
    margin: 0 auto !important;
  }
  .ewelina-column1 {
    max-width: 100%;
    padding: 40px;
  }
  .wspieram-column2 {
    padding-right: 40px;
    padding-left: 40px;
  }
  .okladka-container {
    margin-top: 140px;
  }
  .zajmuje-container {
    padding-right: 40px;
    padding-left: 40px;
  }
  .media-columns {
    flex-wrap: nowrap !important;
  }
}

@media (max-width: 490px) {
  .wspieram-group1-title {
    padding-right: 10px;
    padding-left: 60px;
  }
  .zmiana-columns {
    padding-right: 20px;
    padding-left: 30px;
  }
}

