:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* Body background from shared.css */
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-resources-banca29-security-privacy {
  color: var(--text-light); /* Default text color for the page content, matching dark body background */
  background-color: var(--bg-dark); /* Should match body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

/* Fixed navigation bar spacing */
.page-resources-banca29-security-privacy__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop padding-top for fixed header */
  text-align: center;
  background-color: var(--secondary-color); /* Dark blue background for hero */
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-resources-banca29-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-banca29-security-privacy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color); /* Gold title */
  font-weight: bold;
}

.page-resources-banca29-security-privacy__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-banca29-security-privacy__text-link {
    color: var(--primary-color); /* Gold color for internal text links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-banca29-security-privacy__text-link:hover {
    color: #e0b800; /* Slightly darker gold on hover */
}

.page-resources-banca29-security-privacy__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-banca29-security-privacy__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for responsive button wrapping */
  box-sizing: border-box;
}

.page-resources-banca29-security-privacy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color); /* Gold button */
  color: var(--bg-dark); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-resources-banca29-security-privacy__cta-button:hover {
  background: #e0b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-banca29-security-privacy__content-section {
  padding: 80px 0;
  background-color: var(--bg-light); /* Default light background for content sections */
  color: var(--text-dark); /* Dark text on light background */
  text-align: center;
  box-sizing: border-box;
}

.page-resources-banca29-security-privacy__content-section.page-resources-banca29-security-privacy__dark-bg {
  background-color: var(--secondary-color); /* Dark blue background */
  color: var(--text-light); /* Light text on dark blue background */
}

.page-resources-banca29-security-privacy__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-banca29-security-privacy__content-section.page-resources-banca29-security-privacy__dark-bg .page-resources-banca29-security-privacy__section-title {
  color: var(--primary-color); /* Gold title on dark blue background */
}

.page-resources-banca29-security-privacy__text-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: left;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-resources-banca29-security-privacy__text-block p {
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-banca29-security-privacy__image-full {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-banca29-security-privacy__contact-section {
  padding: 80px 0;
  background-color: var(--bg-dark); /* Dark background for contact section */
  color: var(--text-light); /* Light text */
  text-align: center;
  box-sizing: border-box;
}

.page-resources-banca29-security-privacy__contact-section .page-resources-banca29-security-privacy__section-title {
  color: var(--primary-color); /* Gold title on dark background */
}

/* Responsive design */
@media (max-width: 1024px) {
  .page-resources-banca29-security-privacy__main-title {
    font-size: 2.8em;
  }
  .page-resources-banca29-security-privacy__section-title {
    font-size: 2em;
  }
  .page-resources-banca29-security-privacy__content-section,
  .page-resources-banca29-security-privacy__contact-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-resources-banca29-security-privacy__hero-section {
    padding-top: 10px !important; /* Mobile padding-top for fixed header */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-banca29-security-privacy__main-title {
    font-size: 2.2em;
  }
  .page-resources-banca29-security-privacy__description {
    font-size: 1em;
  }
  .page-resources-banca29-security-privacy__section-title {
    font-size: 1.8em;
  }
  .page-resources-banca29-security-privacy__content-section,
  .page-resources-banca29-security-privacy__contact-section {
    padding: 40px 0;
  }
  .page-resources-banca29-security-privacy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-banca29-security-privacy__text-block {
    font-size: 0.95em;
    padding: 0 10px;
  }

  /* Image responsiveness */
  .page-resources-banca29-security-privacy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-banca29-security-privacy__hero-image,
  .page-resources-banca29-security-privacy__image-full {
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  /* Button responsiveness */
  .page-resources-banca29-security-privacy__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-banca29-security-privacy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

@media (max-width: 480px) {
  .page-resources-banca29-security-privacy__main-title {
    font-size: 1.8em;
  }
  .page-resources-banca29-security-privacy__section-title {
    font-size: 1.5em;
  }
  .page-resources-banca29-security-privacy__hero-section,
  .page-resources-banca29-security-privacy__content-section,
  .page-resources-banca29-security-privacy__contact-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}