/* Policy Hero Section */
.community-hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/background/sterra_bg_10.jpg") no-repeat center
    center/cover;
  z-index: -1;
  opacity: 0.98;
  background-attachment: fixed;
}

.privacy-hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/background/sterra_bg_11.jpg") no-repeat center
    center/cover;
  z-index: -1;
  opacity: 0.98;
  background-attachment: fixed;
}

.disclosure-hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/background/sterra_bg_13.jpg") no-repeat center
    center/cover;
  z-index: -1;
  opacity: 0.98;
  background-attachment: fixed;
}

.support-hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/support.jpg") no-repeat center center/cover;
  z-index: -1;
  opacity: 0.8;
  background-attachment: fixed;
}

.patriot-hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/patroit-act-preview.jpg") no-repeat center
    center/cover;
  z-index: -1;
  opacity: 1;
  background-attachment: fixed;
}

.policy-hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.highlight {
  color: #ffc107;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Policy Breadcrumbs */
.policy-breadcrumbs {
  background-color: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb-item a {
  color: #0056b3;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Policy Main Content */
.policy-main {
  padding: 3rem 0;
}

.policy-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
}

.policy-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #212529;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: #495057;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.toc-list a:hover {
  color: #0056b3;
}

.related-policies {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-policies li {
  margin-bottom: 0.5rem;
}

.related-policies a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-policies a:hover {
  text-decoration: underline;
}

.policy-content {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #212529;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.policy-section h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
  color: #343a40;
}

.policy-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #495057;
}

.policy-section ul,
.policy-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-box,
.warning-box {
  padding: 1rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
}

.info-box {
  background-color: #e7f5ff;
  border-left: 4px solid #0056b3;
}

.warning-box {
  background-color: #fff3bf;
  border-left: 4px solid #ffc107;
}

.info-box i {
  color: #0056b3;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.warning-box i {
  color: #e67700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-box p,
.warning-box p {
  margin: 0;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
}

.cookies-table th,
.cookies-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.cookies-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
}

.cookies-table tr:hover {
  background-color: #f8f9fa;
}

/* Browser Instructions */
.browser-instructions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.browser-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.browser-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.browser-icon i {
  font-size: 1.5rem;
}

.browser-icon .fa-chrome {
  color: #4285f4;
}

.browser-icon .fa-firefox {
  color: #ff7139;
}

.browser-icon .fa-safari {
  color: #1b7ef6;
}

.browser-icon .fa-edge {
  color: #0078d7;
}

.browser-card ol {
  padding-left: 1.25rem;
  margin: 0;
}

.browser-card li {
  margin-bottom: 0.5rem;
}

/* Contact Methods */
.contact-methods {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.contact-methods li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-methods i {
  color: #0056b3;
  font-size: 1.25rem;
  width: 24px;
}

/* CTA Section */
.policy-cta {
  padding: 5rem 0;
  background-color: #f8f9fa;
  text-align: center;
}

.policy-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

.policy-cta p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #495057;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .policy-grid {
    grid-template-columns: 250px 1fr;
  }
}

@media (max-width: 768px) {
  .policy-hero h1 {
    font-size: 2.5rem;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
    margin-bottom: 2rem;
  }

  .policy-cta h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  /* Hero section adjustments */
  .policy-hero {
    padding: 3rem 0;
  }

  .policy-hero h1 {
    font-size: 1.75rem;
  }

  .policy-hero .hero-subtitle {
    font-size: 1rem;
  }

  /* Content padding adjustments */
  .policy-main {
    padding: 1.5rem 0;
  }

  .policy-content {
    padding: 1.5rem;
  }

  /* Table adjustments */
  .cookies-table th,
  .cookies-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }

  /* Info/Warning boxes */
  .info-box,
  .warning-box {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Browser instructions */
  .browser-instructions {
    grid-template-columns: 1fr;
  }

  /* Sidebar cards */
  .sidebar-card {
    padding: 1rem;
  }

  /* Section headings */
  .policy-section h2 {
    font-size: 1.4rem;
  }

  .policy-section h3 {
    font-size: 1.2rem;
  }

  /* Breadcrumbs */
  .breadcrumb {
    font-size: 0.9rem;
  }

  /* Contact methods */
  .contact-methods li {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 400px) {
  /* Extra small devices adjustments */
  .policy-hero h1 {
    font-size: 1.5rem;
  }

  .policy-content {
    padding: 1rem;
  }

  .policy-section {
    margin-bottom: 2rem;
  }

  .cookies-table th,
  .cookies-table td {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
}
