/* Page Hero */
.page-hero {
  width: 100%;
  background-color: #ECFAF7;
  background-image: url('/wp-content/themes/gmbhousing/assets/images/footer-pattern.png'); /* replace with actual image */
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-height: 300px;
  height: 300px;
}
.page-hero-inner {
  padding: 0px 20px;
}
.page-title {
  font-size: 26px;
  font-family: "Red Hat Display", sans-serif;	
  font-weight: 800;
  text-transform: uppercase;
  color: #000000;
}

.page-main {
	padding-bottom: 50px;
}

/* Mobile hero height */
@media (max-width: 768px) {
  .page-hero {
    max-height: 200px;
    height: 200px;
  }
  .page-title {
    font-size: 20px;
  }
   .page-content {
		padding: 0px 0px;
	}
	.page-main {
	padding-bottom: 30px;
    }
}

/* Breadcrumb */
.page-breadcrumb {
  max-width: 1140px;
  margin: 20px auto;
  padding: 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}

/* Page Content */
.page-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-content {
  background: #fff;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}
.page-content a {
  color: #303260;
  text-decoration: underline;
  transition: color .2s ease;
}
.page-content a:hover {
  color: #202040;
}

/* typograpy styles both post and pages */

/* Headings */
.page-content h1,
.single-content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 32px 0 16px;
  color: #000000;
}

.page-content h2,
.single-content h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  margin: 28px 0 14px;
  color: #000000;
}

.page-content h3,
.single-content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 24px 0 12px;
  color: #000000;
}

.page-content h4,
.single-content h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 20px 0 10px;
  color: #000000;
}

.page-content h5,
.single-content h5 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 18px 0 8px;
  color: #000000;
}

.page-content h6,
.single-content h6 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 16px 0 6px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Paragraphs */
.page-content p,
.single-content p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

/* Lists */
.page-content ul,
.single-content ul,
.page-content ol,
.single-content ol {
  margin: 0 0 20px 24px;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.page-content ul li,
.single-content ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.page-content ol li,
.single-content ol li {
  list-style: decimal;
  margin-bottom: 8px;
}

/* Nested lists */
.page-content ul ul,
.single-content ul ul,
.page-content ol ol,
.single-content ol ol {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Tables */
.page-content table,
.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.page-content table th,
.single-content table th {
  background: #f1f2f8;
  color: #000000;
  font-weight: 600;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(48,50,96,0.12);
}

.page-content table td,
.single-content table td {
  padding: 12px;
  border: 1px solid rgba(48,50,96,0.12);
  color: #333;
}

.page-content table tr:nth-child(even),
.single-content table tr:nth-child(even) {
  background: #fafafa;
}

/* Blockquotes */
.page-content blockquote,
.single-content blockquote {
  border-left: 4px solid #303260;
  padding-left: 16px;
  margin: 24px 0;
  font-style: italic;
  color: #555;
}

/* Images inside content */
.page-content img,
.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-content h1,
  .single-content h1 { font-size: 25px; }
  .page-content h2,
  .single-content h2 { font-size: 20px; }
  .page-content h3,
  .single-content h3 { font-size: 18px; }
  .page-content p,
  .single-content p { font-size: 16px; }
  .page-container, .page-breadcrumb {
		padding: 0px 15px;
  }	
}
