/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/*
.archives #main{
	background-color: green;
}
.entries[data-layout="grid"] .entry-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.entry-card .boundless-image img {
  max-width: 200px;
  border-radius: 8px;
}

.entry-card .entry-meta {
  font-size: 0.9em;
  color: #666;
}
*/
/*
.priest-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

.priest-photo {
  flex: 0 0 150px;
}

.priest-photo img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.priest-info {
  flex: 1;
}

.priest-info h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #003366;
}

.priest-info p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #333;
}
*/


/*added

.priest-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 12px;
  background-color: #fdfdfd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.priest-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.priest-photo {
  flex: 0 0 160px;
  max-width: 160px;
}

.priest-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.priest-info {
  flex: 1;
  min-width: 200px;
}

.priest-info h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #003366;
  font-weight: 600;
}

.priest-info h2 a {
  text-decoration: none;
  color: inherit;
}

.priest-info h2 a:hover {
  color: #0055a5;
}

.priest-info p {
  margin: 4px 0;
  font-size: 1rem;
  color: #444;
}

.designation {
  font-style: italic;
  color: #666;
}

/*added
.priest-columns {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.column {
  flex: 1;
}

.priest-row {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.priest-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .priest-columns {
    flex-direction: column;
  }
}
/*end added*

@media (max-width: 600px) {
  .priest-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .priest-photo {
    max-width: 100%;
  }

  .priest-info {
    margin-top: 16px;
  }
}*/


/*current addition for the loop of 10*/
.priest-archive-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.archive-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #003366;
}

.priest-columns {
  display: flex;
  gap: 40px;
}

.column {
  flex: 1;
}

.priest-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #F0F0F0;
  /*background-color: #fdfdfd;*/
  border-radius: 10px;
  /*box-shadow: 0 2px 6px rgba(0,0,0,0.05);*/
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
	/*border: 3px solid #fdd835; /* Yellow (Material Design shade) 
	border: 3px solid #135E96;*/
  border-radius: 8px;


}

.priest-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.priest-photo img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.priest-info {
  flex: 1;
}

.priest-info h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #003366;
}

.priest-info p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #444;
}

.designation {
  font-style: italic;
  color: #666;
}

@media (max-width: 768px) {
  .priest-columns {
    flex-direction: column;
  }

  .priest-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .priest-photo img {
   /* width: 100px;*/
	  width: 120px;
    height: 120px;
	  border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

  .priest-info {
    margin-top: 10px;
  }
}


/*search and Pagination*/
.priest-search-form {
  margin-bottom: 30px;
  text-align: center;
}

.priest-search-form input[type="search"] {
  padding: 8px 12px;
  width: 250px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.priest-search-form button {
  padding: 8px 16px;
  margin-left: 10px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.priest-pagination {
  text-align: center;
  margin-top: 40px;
}

.priest-pagination a {
  margin: 0 6px;
  padding: 6px 12px;
  background-color: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #003366;
}

.priest-pagination .current {
  background-color: #003366;
  color: white;
}
/* end search and pagination*/

/*this is for the banner
.priest-banner {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.banner-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.banner-text h1 {
  font-size: 2.5rem;
  margin: 0;
}

.banner-text p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* blur */
.priest-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.1); /* Slight zoom to hide blur edges */
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  background-color: rgba(0,0,0,0.3);
  padding: 20px 30px;
  border-radius: 10px;
}

.banner-text h1 {
  font-size: 2.5rem;
  margin: 0;
}

.banner-text p {
  font-size: 1.2rem;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 1.8rem;
  }

  .banner-text p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .banner-text {
    padding: 15px 20px;
  }

  .banner-text h1 {
    font-size: 1.4rem;
  }

  .banner-text p {
    font-size: 0.95rem;
  }
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
}

.card-body p {
  font-size: 0.95rem;
  color: #333;
}

.object-fit-cover {
  object-fit: cover;
}

/*end blur*/
.archive-block {
  width: 100%;
  padding: 2rem;
  background: #f9f9f9;
}
.block-header {
  text-align: center;
  margin-bottom: 2rem;
}
.priest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2rem;
}
.priest-card {
  display: flex;
  gap: 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  align-items: flex-start;
}
.priest-photo {
  flex: 0 0 160px;
}
.priest-photo img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.priest-info {
  flex: 1;
}
.priest-name {
  font-size: 1.4rem;
  font-family: 'Georgia', serif;
  margin-bottom: 0.5rem;
  color: #333;
}
.priest-info p {
  font-size: 0.95rem;
  color: #444;
  margin: 0.3rem 0;
}
.priest-info a {
  color: #006837;
  text-decoration: none;
}
.priest-info a:hover {
  text-decoration: underline;
}
.pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
}
.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 0.3rem;
  padding: 0.5rem 0.8rem;
  background: #f0f0f0;
  color: #006837;
  text-decoration: none;
  border-radius: 3px;
}
.pagination .current {
  background: #006837;
  color: #fff;
  font-weight: bold;
}
/*end this is for the banner*/