/**
 * Church Node Complete Styles
 */

/* Header Section - Full Width */
.church-header {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 6px 0 16px 0;
  margin-bottom: 15px;
  background: #fafafa;
  border-bottom: 1px solid #dddddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.church-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.colclass {
  
}
.church-header__left {
  flex: 1;
}

.church-location {
  font-size: 20px;
  color: #7db500 !important;
  margin-bottom: 0;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 5px;
}
.church-location a {
  color: #7db500;
}
.church-location a:hover {
  color: #0097db;
}
.active #about-id{
  fill: #0097db;
}
.church-title {
  font-family: var(--font-heading);
  font-size: 32px !important;
  font-weight: 900;
  color: #666;
  margin: 0;
  line-height: 1.2;
}

.church-header__right {
  display: flex;
  gap: 15px;
  align-items: center;
}

.church-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  color: #0097db;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background:transparent;
  /* border: 1px solid #e0e0e0; */
  border-radius: 6px;
  transition: all 0.2s ease;
}

.church-action:hover {
  background-color: #f5f5f5;
  color: #7db500;
  fill: #699800;
}

.church-action__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.church-action__icon:hover, .church-action__icon svg:hover {
  #review-id{
    fill: #7db500;
    background: #7db500;
  }
}
/* Special styling for review button icon - speech bubble with star */
.church-action--review .church-action__icon {
  position: relative;
  background: #0097db;
  border-radius: 4px;
  /* padding: 3px; */
}

/* Left Sidebar - Sticky Menu */
.church-sidebar__sticky {
  position: sticky;
  top: 140px;
}

.church-nav {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.church-nav__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #333333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  background-image: linear-gradient(to bottom, #ffffff, #fafafa);
  border-bottom: 1px solid #dddddd;
}

.church-nav__item:last-child {
  border-bottom: none;
}

.church-nav__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #848484;
  font-size: 20px;
}

/* Hover state */
.church-nav__item:hover:not(.active) {
  background-image: linear-gradient(to bottom, #fafafa, #f5f5f5);
}

.church-header__right a::before {
  display: inline-block;
  margin-right: 8px;
  font-size: 24px;
  vertical-align: sub;
}

.church-header__right .ajax-progress {
  float: right;
}

/* Active state with gradient blue right-pointing chevron/flag */
.church-nav__item.active {
  background: linear-gradient(to bottom, #36c9ff, #0397dc);
  color: #ffffff;
  font-weight: 600;
  border-bottom: 1px solid #0397dc;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  padding-right: 25px;
  position: relative;
}

.church-nav__item.active svg {
  fill: #ffffff;
}

/* Remove clip-path on mobile */
@media (max-width: 768px) {
  .church-nav__item.active {
    clip-path: none;
    padding-right: 16px;
  }
}

.church-share {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.church-share__label {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
  font-weight: 400;
}

.church-share__icons {
  display: flex;
  gap: 8px;
}

.church-share__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0097db;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #ffffff;
  transition: all 0.2s ease;
}

.church-share__icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: white;
  border-color: #0097db;
}

/* Church Featured Image */
.church-featured-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.church-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.church-info-box {
  background: #f3f4f6;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.church-denomination {
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
  display: flex;
  gap: 5px;
}
.church-denomination a {
  color: #000;
}

.church-members {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6b7280;
}

.church-members svg {
  color: #6b7280;
}

/* Reviews Section */
.church-reviews {
  margin-bottom: 20px;
}

.church-reviews .write-church-review {
  line-height:24px;
  margin: 25px 0px;
}

.church-reviews .write-church-review a:before {
  display: inline-block;
  margin-right: 8px;
  font-size: 24px;
  vertical-align: sub;  
}

.church-links a {
  color: #666;
  font: 14px "Lato", Arial, sans-serif;
  font-weight: 300;
}

.church-links a::before {
  color:var(--color-accent);
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  vertical-align: text-bottom;
}

.church-rating {
  display: flex;
  align-items: center;
}

.church-rating__stars {
  display: flex;
  gap: 2px;
  font-weight: bold ;
  margin-right: 15px;
  margin-bottom: 5px;
}

.church-rating__stars .star {
  color: #f59e0b;
  font-size: 18px;
  line-height: 20px;
}

.church-rating__text {
  display: inline-block;
  line-height: 20px;
  font-size: 14px;
  font-weight: 300;
  color: #666;
  font-family: var(--font-heading);
}

.church-review-count {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 12px;
}

.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0097db;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-review:hover {
  background: #0097db;
  color: white;church-profile-column__header
}

/* Church Links */
.church-link {
  line-height:17px;
  margin-bottom: 15px;
}
.church-link a:hover {
  color: var(--color-accent);
}

/* Church Profile Section */

.church-profile-heading {
  font-size: 28px;
  font-weight: 900;
  color: #0097db;
  margin-bottom: 30px;
  /* letter-spacing: 1px; */
  line-height: normal;
}

.church-profile-section__content {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.church-profile-section .row > [class*="col-"] {
  border-right: 1px solid #ddd;
  padding: 25px 20px;
}

.church-profile-section .row > [class*="col-"]:first-child,
.church-profile-section .row > [class*="col-"]:nth-child(2) {
  padding-top: 20px;
}

.church-profile-section .row > [class*="col-"]:last-child {
  border-right: none;
}
.church-address br {
  display: none;
}
.church-profile-column__header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 300;
  color: #7db500;
}

.church-profile-third-content__service-times .church-profile-column__header {
  margin-bottom: 15px;
}

.church-profile-third-content__church_logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.church-profile-third-content__address .join-us {
  display: block;
  margin: 10px auto;
  font: 14px "Lato", Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
  text-align: left;
  line-height: 20px;
  color: #666;
}

.church-profile-column__header::before {
  font-size: 18px;
}

.church-profile-icon {
  color: #7db500;
  /* fill: #7db500; */
  width: 20px;
  height: 21px;
  flex-shrink: 0;
}

.church-profile-content {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.church-welcome-text {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.church-address {
  margin-bottom: 12px;
  line-height: 1.4;
  font-size: 14px;
}

.church-address .field__item {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.4;
}

/* Hide empty or invalid address lines */
.church-address .field__item:empty {
  display: none;
}

.church-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #374151;
  font-weight: 500;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #7db500;
  margin-left:0;
  color: white;
  padding: 5px 13px 5px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-map:hover {
  background: #699800;
  color: white;
}

.church-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px;
}

.church-logo img {
  max-width: 100%;
  height: auto;
}

.church-profile-column--logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.church-profile-second.church-profile-section {
    padding : 30px 0;
}

.church-profile-second-left {
    display: inline-block;
    color: #666;
    font-family: var(--font-heading);
    font-weight: bold;
    line-height: 33px;
    margin-right: 20px;
}

.church-profile-second-left:before {
    margin-right: 15px;
    font-weight: 400;
    font-size: 40px;
    vertical-align: middle;
}

/* Our Mission Section */
.church-mission-section {
  padding-top: 40px;
  border-top: 1px solid #ddd;
}

.church-mission-section h3 {
  margin-bottom: 15px;
}

.church-section-heading {
  color: #7db500;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.church-section-heading.church-section-heading--blue {
  margin: 25px auto;
  padding: 20px 0;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  color: #0097db;
}

.church-mission-phrase {
  margin-bottom: 40px;
  color: #666;
  font: 24px "PT Serif", Times, serif;
  font-style: italic;
  font-weight: bold;
}

.church-mission-statement {
  font-size: 16px;
  color: #757575;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 500;
}

/* About Church Section */

.church-section-heading--blue {
  color: #0097db;
}

.church-about-description {
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 30px;
}

.church-details-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.church-detail-item {
  display: flex;
  gap: 10px;
  color: #666;
  font: 14px var(--font-heading);
}

.church-intro {
  margin-top: 30px;
  font-size: 16px;
  color: #374151;
  line-height: 1.8;
}

.church-detail-label {
  float: left;
  opacity: 0.6;
  min-width: 33%;
  padding-right: 10px;
}

/* Ministries and Groups Section */

.church-ministries-subheading {
  font-size: 20px;
  font-weight: 600;
  color: #7db500;
  margin-bottom: 20px;
}

.church-ministries-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 400;
}

.church-ministry-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #374151;
}

.church-ministry-item i {
  color: #9ca3af;
  font-size: 16px;
}

.church-other-ministries {
  margin-top: 30px;
}

.church-other-ministries-label {
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.church-other-ministries-content {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

.church-services-description {
  margin-top: 30px;
}

.church-services-description-label {
  font-size: 17px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

.church-services-description-content {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.8;
}

/* Beliefs Section */

.church-beliefs-summary {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 30px;
}

.church-beliefs-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.church-belief-item {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.church-belief-label {
  font-weight: 400;
  color: #9ca3af;
  min-width: 250px;
}

.church-belief-value {
  color: #374151;
  font-weight: 400;
}

/* Map Section */
.church-map-description {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 25px;
}

.church-map-container {
  width: 100%;
  min-height: 400px;
  margin-bottom: 30px;
}

.church-map-container .geofield-map {
  width: 100%;
  height: 400px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

/* Additional Content */
.church-full-content {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 991px) {
  .church-sidebar__sticky {
    position: relative;
    top: 0;
  }
  
  .church-profile-section .row > [class*="col-"] {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  
  .church-profile-section .row > [class*="col-"]:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .church-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: relative;
  }
  
  .church-header__right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .church-title {
    font-size: 24px;
  }
}

