/* style/blog-ph365-safety-and-security-overview.css */

/* Base styles for the page content, assuming a dark background from shared.css */
.page-blog-ph365-safety-and-security-overview {
  background-color: var(--page-bg, #0A0A0A);
  color: #FFF6D6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-blog-ph365-safety-and-security-overview__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
}

.page-blog-ph365-safety-and-security-overview__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-blog-ph365-safety-and-security-overview__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-blog-ph365-safety-and-security-overview__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 80px 20px 100px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-blog-ph365-safety-and-security-overview__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFD36B;
}

.page-blog-ph365-safety-and-security-overview__tagline {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-blog-ph365-safety-and-security-overview__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-ph365-safety-and-security-overview__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  color: #0A0A0A;
}

.page-blog-ph365-safety-and-security-overview__cta-button--inline {
  margin-top: 20px;
}

.page-blog-ph365-safety-and-security-overview__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-blog-ph365-safety-and-security-overview__section-wrapper {
  padding: 0;
}

.page-blog-ph365-safety-and-security-overview__section-title {
  font-size: 2.2em;
  color: #F2C14E;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

.page-blog-ph365-safety-and-security-overview__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

.page-blog-ph365-safety-and-security-overview__text-block strong {
  color: #FFD36B;
}

.page-blog-ph365-safety-and-security-overview__highlight {
  color: #FFD36B;
  font-weight: bold;
}

.page-blog-ph365-safety-and-security-overview__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-blog-ph365-safety-and-security-overview__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-blog-ph365-safety-and-security-overview__image-text-block img {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  object-fit: cover;
}

.page-blog-ph365-safety-and-security-overview__image-text-block p {
  flex: 2;
  min-width: 300px;
}

.page-blog-ph365-safety-and-security-overview__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

.page-blog-ph365-safety-and-security-overview__checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-blog-ph365-safety-and-security-overview__checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #FFF6D6;
}

.page-blog-ph365-safety-and-security-overview__checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #F2C14E;
  font-weight: bold;
}

/* FAQ Section */
.page-blog-ph365-safety-and-security-overview__faq-container {
  margin-top: 40px;
  border-top: 1px solid #3A2A12;
  padding-top: 20px;
}

.page-blog-ph365-safety-and-security-overview__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-blog-ph365-safety-and-security-overview__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: #FFD36B;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-ph365-safety-and-security-overview__faq-question:hover {
  background-color: #2a2a2a;
}

.page-blog-ph365-safety-and-security-overview__faq-title {
  margin: 0;
  font-size: 1.1em;
  color: #FFD36B;
}

.page-blog-ph365-safety-and-security-overview__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-ph365-safety-and-security-overview__faq-item.active .page-blog-ph365-safety-and-security-overview__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-ph365-safety-and-security-overview__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  background-color: #111111;
}

.page-blog-ph365-safety-and-security-overview__faq-item.active .page-blog-ph365-safety-and-security-overview__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-ph365-safety-and-security-overview__hero-content {
    padding: 60px 20px 80px;
  }
  .page-blog-ph365-safety-and-security-overview__main-title {
    font-size: 2.5em;
  }
  .page-blog-ph365-safety-and-security-overview__section-title {
    font-size: 2em;
  }
  .page-blog-ph365-safety-and-security-overview__image-text-block {
    flex-direction: column;
  }
  .page-blog-ph365-safety-and-security-overview__image-text-block--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-blog-ph365-safety-and-security-overview {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-blog-ph365-safety-and-security-overview__hero-content {
    padding: 40px 15px 60px;
  }
  .page-blog-ph365-safety-and-security-overview__main-title {
    font-size: 2em;
  }
  .page-blog-ph365-safety-and-security-overview__tagline {
    font-size: 1em;
  }
  .page-blog-ph365-safety-and-security-overview__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px !important;
  }
  .page-blog-ph365-safety-and-security-overview__content-area {
    padding: 40px 15px;
  }
  .page-blog-ph365-safety-and-security-overview__section-title {
    font-size: 1.8em;
  }
  .page-blog-ph365-safety-and-security-overview__text-block {
    font-size: 1em;
  }
  .page-blog-ph365-safety-and-security-overview__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-blog-ph365-safety-and-security-overview__image-text-block,
  .page-blog-ph365-safety-and-security-overview__image-text-block--reverse {
    gap: 20px;
  }
  .page-blog-ph365-safety-and-security-overview__section-wrapper,
  .page-blog-ph365-safety-and-security-overview__card,
  .page-blog-ph365-safety-and-security-overview__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog-ph365-safety-and-security-overview__faq-question {
    padding: 12px 15px;
  }
  .page-blog-ph365-safety-and-security-overview__faq-answer {
    padding: 0 15px;
  }
  .page-blog-ph365-safety-and-security-overview__faq-item.active .page-blog-ph365-safety-and-security-overview__faq-answer {
    padding: 15px 15px;
  }
}

/* Color contrast safety measures */
.page-blog-ph365-safety-and-security-overview__dark-bg {
  color: #FFF6D6;
  background: #0A0A0A;
}

.page-blog-ph365-safety-and-security-overview__card {
  background: #111111;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

.page-blog-ph365-safety-and-security-overview__cta-button {
  color: #111111; /* Ensure dark text on bright button */
}

.page-blog-ph365-safety-and-security-overview__cta-button:hover {
  color: #0A0A0A; /* Ensure dark text on bright button */
}