/* ========================
   Static Template Pages
   Privacy Policy, Cookies Policy, Terms & Conditions
   Page-Specific Styling
   ======================== */

/* ========================
   Section Base
   ======================== */

.section-static-content .container {
  max-width: 74.6875rem;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ========================
   Page Header
   ======================== */

.static-page-title {
  color: var(--bs-primary-25);
  margin: 0;
  font-size: var(--font-size-50);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-heading);
}

/* ========================
   Alert/Banner Section
   ======================== */

.static-alert-banner {
  background-color: var(--bs-primary-100);
  padding: var(--space-13) var(--space-13);

  display: flex;
  align-items: center;
  justify-content: center;
}

.static-alert-content {
  max-width: 74.6875rem;
  color: var(--bs-primary-700);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  text-align: left;
  text-transform: uppercase;
}

/* ========================
   Content Container
   ======================== */

.static-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding-bottom: var(--space-18);
}

/* ========================
   Content Section
   ======================== */

.static-content-section {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-5) 0;
}

.static-content-text {
  flex: 1;
  color: var(--bs-primary-25);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-body);
  text-align: left;
}

/* ========================
   Headings
   ======================== */

.static-content-text h1 {
  color: var(--bs-primary-50);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin: var(--space-6) 0 var(--space-4) 0;
}

.static-content-text h2 {
  color: var(--bs-primary-50);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  margin: var(--space-5) 0 var(--space-3) 0;
}

.static-content-text h3 {
  color: var(--bs-primary-50);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  margin: var(--space-4) 0 var(--space-3) 0;
}

.static-content-text h4 {
  color: var(--bs-primary-50);
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  margin: var(--space-4) 0 var(--space-2) 0;
}

.static-content-text h5 {
  color: var(--bs-primary-50);
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  margin: var(--space-3) 0 var(--space-2) 0;
}

.static-content-text h6 {
  color: var(--bs-primary-50);
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-heading);
  margin: var(--space-3) 0 var(--space-2) 0;
}

/* ========================
   Links & Emphasis
   ======================== */

.static-content-text a,
.static-content-text .link {
  color: var(--bs-success);
  text-decoration: underline;
  transition: color var(--transition-base);
}

.static-content-text a:hover,
.static-content-text .link:hover {
  color: var(--bs-success-600);
}

.static-content-text strong {
  font-weight: var(--font-weight-semibold);
  color: var(--bs-primary-50);
}

.static-content-text em {
  font-style: italic;
  color: var(--bs-primary-50);
}

/* ========================
   Lists
   ======================== */

.static-content-text ul,
.static-content-text ol {
  margin: var(--space-3) 0 var(--space-3) var(--space-7);
  padding: 0;
  list-style-position: outside;
}

.static-content-text li {
  margin-bottom: var(--space-2);
  color: var(--bs-primary-50);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
}

.static-content-text ul li {
  list-style-type: disc;
}

.static-content-text ol li {
  list-style-type: decimal;
}

/* ========================
   Paragraphs & Spacing
   ======================== */

.static-content-text p {
  margin: 0 0 var(--space-3) 0;
  color: var(--bs-primary-25);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
}

.static-content-text p:last-child {
  margin-bottom: 0;
}

.static-content-text br {
  display: block;
  content: "";
  margin: var(--space-2) 0;
}

/* ========================
   Images
   ======================== */

.static-content-text img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  margin: var(--space-5) 0;
  box-shadow: var(--shadow-card) rgba(0, 0, 0, 0.15);
}

.static-content-text figure {
  margin: var(--space-5) 0;
  padding: 0;
}

.static-content-text figcaption {
  color: var(--bs-primary-100);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  text-align: center;
  margin-top: var(--space-2);
  font-style: italic;
}

/* ========================
   Tables
   ======================== */

.static-content-text table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.static-content-text table th,
.static-content-text table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 0.0625rem solid rgba(var(--bs-primary-50-rgb), 0.2);
  color: var(--bs-primary-50);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
}

.static-content-text table th {
  background-color: rgba(var(--bs-primary-100-rgb), 0.15);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  color: var(--bs-primary-50);
}

.static-content-text table tr:hover {
  background-color: rgba(var(--bs-primary-100-rgb), 0.08);
}

.static-content-text table tbody tr:last-child td {
  border-bottom: 0.125rem solid rgba(var(--bs-primary-50-rgb), 0.3);
}

/* ========================
   Data Table (Legacy)
   ======================== */

.static-data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
}

.static-data-table th,
.static-data-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 0.0625rem solid rgba(var(--bs-primary-50-rgb), 0.2);
  color: var(--bs-primary-50);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-body);
}

.static-data-table th {
  background-color: rgba(var(--bs-primary-100-rgb), 0.1);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
}

.static-data-table tr:hover {
  background-color: rgba(var(--bs-primary-100-rgb), 0.05);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* X-Small devices (portrait phones, less than 576px) - Default/Base Styles */

.section-static-content .container {
  padding: 0 var(--space-4);
}

.static-page-header {
  margin-bottom: var(--space-11);
}

.static-page-title {
  font-size: var(--font-size-h2);
}

.static-alert-banner {
  padding: var(--space-5) var(--space-7);
  margin-bottom: var(--space-9);
}

.static-alert-content {
  font-size: var(--font-size-sm);
}

.static-content-wrapper {
  gap: var(--space-9);
  padding-bottom: var(--space-14);
}

.static-content-section {
  gap: var(--space-3);
  padding: var(--space-3) 0;
}

.static-content-text {
  max-width: 100%;
  font-size: var(--font-size-sm);
}

.static-content-text h1 {
  font-size: var(--font-size-h3);
  margin: var(--space-4) 0 var(--space-2) 0;
}

.static-content-text h2 {
  font-size: var(--font-size-h4);
  margin: var(--space-3) 0 var(--space-2) 0;
}

.static-content-text h3 {
  font-size: var(--font-size-h5);
  margin: var(--space-3) 0 var(--space-2) 0;
}

.static-content-text h4 {
  font-size: var(--font-size-h6);
  margin: var(--space-2) 0 var(--space-1) 0;
}

.static-content-text h5 {
  font-size: var(--font-size-base);
  margin: var(--space-2) 0 var(--space-1) 0;
}

.static-content-text h6 {
  font-size: var(--font-size-base);
  margin: var(--space-2) 0 var(--space-1) 0;
}

.static-content-text img {
  margin: var(--space-3) 0;
  border-radius: var(--radius-md);
}

.static-content-text table th,
.static-content-text table td {
  padding: var(--space-3) var(--space-3);
  font-size: var(--font-size-sm);
}

.static-section-title {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-2);
}

.static-subsection-title {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-1);
}

.static-label {
  font-size: var(--font-size-sm);
}

.static-content-text ul,
.static-content-text ol {
  margin: var(--space-2) 0 var(--space-2) var(--space-5);
}

.static-content-text li {
  margin-bottom: var(--space-1);
  font-size: var(--font-size-sm);
}

.static-content-text p {
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

.static-data-table th,
.static-data-table td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-xs);
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .section-static-content .container {
    padding: 0 var(--space-5);
  }

  .static-page-header {
    margin-bottom: var(--space-12);
  }

  .static-alert-banner {
    padding: var(--space-6) var(--space-9);
    margin-bottom: var(--space-10);
  }

  .static-alert-content {
    font-size: var(--font-size-base);
  }

  .static-content-wrapper {
    gap: var(--space-10);
    padding-bottom: var(--space-15);
  }

  .static-content-section {
    gap: var(--space-4);
    padding: var(--space-4) 0;
  }

  .static-content-text {
    max-width: 53.875rem;
    font-size: var(--font-size-base);
  }

  .static-content-text h1 {
    font-size: var(--font-size-h2);
    margin: var(--space-5) 0 var(--space-3) 0;
  }

  .static-content-text h2 {
    font-size: var(--font-size-h3);
    margin: var(--space-4) 0 var(--space-3) 0;
  }

  .static-content-text h3 {
    font-size: var(--font-size-h4);
    margin: var(--space-4) 0 var(--space-2) 0;
  }

  .static-content-text h4 {
    font-size: var(--font-size-h5);
    margin: var(--space-3) 0 var(--space-2) 0;
  }

  .static-content-text h5 {
    font-size: var(--font-size-h6);
    margin: var(--space-3) 0 var(--space-2) 0;
  }

  .static-content-text h6 {
    font-size: var(--font-size-base);
    margin: var(--space-2) 0 var(--space-1) 0;
  }

  .static-content-text img {
    margin: var(--space-4) 0;
    border-radius: var(--radius-lg);
  }

  .static-content-text table th,
  .static-content-text table td {
    padding: var(--space-4) var(--space-5);
    font-size: var(--font-size-base);
  }

  .static-section-title {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-3);
  }

  .static-subsection-title {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-2);
  }

  .static-label {
    font-size: var(--font-size-base);
  }

  .static-content-text ul,
  .static-content-text ol {
    margin: var(--space-3) 0 var(--space-3) var(--space-6);
  }

  .static-content-text li {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
  }

  .static-content-text p {
    margin-bottom: var(--space-14);
    font-size: var(--font-size-base);
  }

  .static-data-table th,
  .static-data-table td {
    padding: var(--space-4) var(--space-5);
    font-size: var(--font-size-sm);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .section-static-content .container {
    padding: 0 var(--space-6);
  }

  .static-page-header {
    margin-bottom: var(--space-14);
  }

  .static-alert-banner {
    padding: var(--space-7) var(--space-11);
    margin-bottom: var(--space-12);
  }

  .static-content-wrapper {
    gap: var(--space-11);
    padding-bottom: var(--space-16);
  }

  .static-content-section {
    gap: var(--space-5);
    padding: var(--space-5) 0;
  }

  .static-content-text img {
    margin: var(--space-5) 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .static-page-header {
    margin-bottom: var(--space-16);
  }

  .static-alert-banner {
    margin-bottom: var(--space-22);
  }

  .static-content-wrapper {
    gap: var(--space-12);
    padding-bottom: var(--space-18);
  }

  .static-content-section {
    gap: var(--space-6);
    padding: var(--space-6) 0;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .static-page-header {
    margin-bottom: var(--space-18);
  }

  .static-content-wrapper {
    gap: var(--space-13);
    padding-bottom: var(--space-20);
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .static-page-header {
    margin-bottom: var(--space-22);
  }

  .static-content-wrapper {
    gap: var(--space-14);
    padding-bottom: var(--space-22);
  }
}

/* XXX-Large devices (1600px and up) */
@media (min-width: 1600px) {
  /* Inherits from 1400px and up */
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .static-content-text a,
  .static-content-text .link {
    transition: none;
  }
}
